File tree Expand file tree Collapse file tree 5 files changed +115
-389
lines changed
Expand file tree Collapse file tree 5 files changed +115
-389
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { isActivePage } from '@/lib/utils';
88const currentPath = Astro .url .pathname ;
99---
1010
11- <header class =" sticky top-0 z-50 w-full bg-background/95 backdrop-blur-sm supports-[backdrop-filter]:bg-background/60" >
11+ <header class =" sticky top-0 z-50 w-full bg-background/95 backdrop-blur-sm border-b supports-[backdrop-filter]:bg-background/60" >
1212 <div class =" flex h-16 items-center gap-8 px-6" >
1313 <!-- Left Section: Logo + Navigation -->
1414 <div class =" flex items-center gap-8 whitespace-nowrap" >
@@ -23,7 +23,7 @@ const currentPath = Astro.url.pathname;
2323 href = { getUrlRelativeToBase (item .href )}
2424 class = { ` relative py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground whitespace-nowrap ${
2525 isActivePage (item .href , currentPath )
26- ? ' text-foreground after:absolute after:bottom-0 after:left-0 after:right-0 after:h-0.5 after:bg-primary after:rounded-sm'
26+ ? ' text-foreground after:absolute after:top-12 after:left-0 after:right-0 after:h-0.5 after:bg-primary after:rounded-sm'
2727 : ' '
2828 } ` }
2929 >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const {
3333 secondaryButtonText,
3434 secondaryButtonHref = " #" ,
3535 secondaryButtonIconName,
36- layout = ' centered ' ,
36+ layout = ' minimal ' ,
3737 isDark = false ,
3838 descriptionClasses = ` text-xl leading-relaxed m-0 ${isDark ? " text-muted-background" : " text-muted-foreground" } ` ,
3939 className = ' ' ,
@@ -163,10 +163,15 @@ const sectionClasses = [
163163 <div class = " flex flex-col content-width-responsive" >
164164 <div class = " text-content mb-8" >
165165 { tagline && (
166- <h5 class = " uppercase text-left mb-0" >
167- { tagline }
168- </h5 >
169- )}
166+ <div class = " inline-flex items-center px-4 py-2 rounded-full text-sm font-medium bg-muted text-foreground border border-border w-fit" >
167+ { taglineIconName && (
168+ <div class = " pr-2" >
169+ <Icon name = { taglineIconName } class = " w-4 h-4" />
170+ </div >
171+ )}
172+ { tagline }
173+ </div >
174+ )}
170175
171176 { title && (
172177 <h1 class = " text-left mb-0 mt-0" >
@@ -175,9 +180,7 @@ const sectionClasses = [
175180 )}
176181
177182 { description && (
178- <h3 class = " text-left mb-0 mt-3" >
179- { description }
180- </h3 >
183+ <p class = " text-xl leading-relaxed m-0 text-muted-foreground" data-astro-cid-apxu3dfi = " " > { description } </p >
181184 )}
182185 </div >
183186
You can’t perform that action at this time.
0 commit comments