+ {/* Outer border lines */}
+ {/* Inner border lines */}
{richText && (
@@ -202,12 +196,8 @@ function HeroSection({ isDark, richText, links }: HeroProps & { isDark: boolean
className={cn(
'flex items-center gap-2 rounded-full px-5 py-2.5 text-sm font-medium transition-all',
i === 0
- ? isDark
- ? 'bg-white text-black hover:bg-white/90'
- : 'bg-black text-white hover:bg-black/85'
- : isDark
- ? 'border border-white/25 text-white hover:bg-white/8'
- : 'border border-black/20 text-black hover:bg-black/5'
+ ? 'bg-foreground text-background hover:bg-foreground/90'
+ : 'border border-foreground/25 text-foreground hover:bg-foreground/8'
)}
/>
))}
@@ -236,7 +226,7 @@ export default function HeroPage({ richText, links, children }: HeroPageProps) {
-
+
{children && (
{children}
@@ -246,4 +236,4 @@ export default function HeroPage({ richText, links, children }: HeroPageProps) {
)
-}
+}
\ No newline at end of file