mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
feat: add language switcher component and update layout
- Introduced a new LanguageSwitcher component to facilitate language switching in the application. - Added an SVG icon for the language switcher button. - Updated the Header component to adjust margin for better spacing. - Modified the Navigation component's margin and top properties for improved layout. - Adjusted the ThemeToggle button size for consistency with the new design.
This commit is contained in:
parent
23b819319d
commit
b46534419b
6 changed files with 66 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import Footer from '@/components/Footer.astro'
|
||||
import Header from '@/components/Header.astro'
|
||||
import LanguageSwitcher from '@/components/LanguageSwitcher.astro'
|
||||
import Navigation from '@/components/Navigation.astro'
|
||||
import PhotoSwipe from '@/components/PhotoSwipe.astro'
|
||||
import Scrollbar from '@/components/Scrollbar.astro'
|
||||
|
@ -44,6 +45,7 @@ const fontStyle = `font-${themeConfig.global.font}`
|
|||
|
||||
</div>
|
||||
<ThemeToggle />
|
||||
<LanguageSwitcher />
|
||||
<Scrollbar />
|
||||
<PhotoSwipe />
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue