mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
refactor: refactor article list component and routing logic, optimize multilingual article display
This commit is contained in:
parent
e5165dd740
commit
ff1673da9c
19 changed files with 609 additions and 690 deletions
|
@ -4,7 +4,7 @@ import Footer from '@/components/Footer.astro'
|
|||
import MainHeader from '@/components/MainHeader.astro'
|
||||
import MobileHeader from '@/components/MobileHeader.astro'
|
||||
import Navigation from '@/components/Navbar.astro'
|
||||
import LanguageSwitcher from '@/components/Widgets/LanguageSwitcher.astro'
|
||||
// import LanguageSwitcher from '@/components/Widgets/LanguageSwitcher.astro'
|
||||
// import PhotoSwipe from '@/components/PhotoSwipe.astro'
|
||||
// import Scrollbar from '@/components/Scrollbar.astro'
|
||||
import ThemeToggle from '@/components/Widgets/ThemeToggle.astro'
|
||||
|
@ -59,7 +59,7 @@ const footerMarginClass = isPost && themeConfig.comment?.waline?.serverURL
|
|||
|
||||
<!-- fix position issue on ios -->
|
||||
<div class="absolute right-[min(7.25vw,3.731rem)] top-13.5 flex gap-6 [@supports(-webkit-touch-callout:none)]:top-12.5">
|
||||
<LanguageSwitcher />
|
||||
<!-- <LanguageSwitcher /> -->
|
||||
<ThemeToggle />
|
||||
</div>
|
||||
<!-- <Scrollbar /> -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue