mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
feature: global view animation
- Updated Header component to adjust title margin and changed subtitle from h3 to h2 for better semantic structure. - Refined LanguageSwitcher component to enhance language switching functionality and improved accessibility. - Adjusted Navigation component's margin and link styles for better visual hierarchy. - Enhanced ThemeToggle component with view transition effects for smoother theme changes. - Updated global CSS to support new transition styles for theme toggling. - Bumped rollup version in pnpm-lock.yaml for improved build performance.
This commit is contained in:
parent
b46534419b
commit
bca8b9b1cf
7 changed files with 189 additions and 172 deletions
|
@ -14,17 +14,17 @@ const marginClass = {
|
|||
|
||||
<header>
|
||||
<h1
|
||||
class={`${marginClass} mt--3.2 text-12 c-primary font-bold font-title`}
|
||||
class={`${marginClass} mt--5.2 text-12 c-primary font-bold font-title`}
|
||||
aria-label="Title Tag"
|
||||
>
|
||||
<a href="/">
|
||||
{title}
|
||||
</a>
|
||||
</h1>
|
||||
<h3
|
||||
class="text-5.6 c-primary font-navbar opacity-50"
|
||||
<h2
|
||||
class="text-5.6 c-secondary font-navbar"
|
||||
aria-label="Meta Description"
|
||||
>
|
||||
{subtitle}
|
||||
</h3>
|
||||
</h2>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue