@@ -11,27 +11,17 @@ const hoverColor = isAccent ? 'hover:text-brand-accent' : 'hover:text-brand-teal
1111const activeColor = isAccent ? ' text-brand-accent' : ' text-brand-teal' ;
1212const borderColor = isAccent ? ' border-brand-accent/60' : ' border-brand-teal/60' ;
1313const hoverBg = isAccent ? ' hover:bg-brand-accent/10' : ' hover:bg-brand-teal/10' ;
14- const hoverBorder = isAccent ? ' hover:border-brand-accent' : ' hover:border-brand-teal' ;
14+
15+ const brandHref = variant === ' default' ? ' #hero' : ' /' ;
16+ const brandTextClass = variant === ' blog' ? ' font-arcane text-lg text-white' : ' font-arcane text-lg text-white' ;
1517---
1618
1719<nav class =" fixed top-0 left-0 right-0 z-50 border-b border-dark-700/50 bg-dark-950/80 backdrop-blur-md" aria-label =" Main navigation" >
1820 <div class =" mx-auto max-w-6xl px-6 py-4 flex items-center justify-between" >
19- { variant === ' labcoat' ? (
20- <a href = " /" class = " flex items-center gap-3 group" >
21- <img src = " /images/logo-v2.svg" alt = " Commit 451 logo" width = " 36" height = " 36" class = " transition-transform group-hover:scale-105" >
22- <span class = " font-arcane text-lg text-white group-hover:text-brand-accent transition-colors" >Commit 451</span >
23- </a >
24- ) : variant === 'blog' ? (
25- <a href = " /" class = " flex items-center gap-3 group" >
26- <img src = " /images/avatar.png" alt = " Commit 451 logo" width = " 36" height = " 36" class = { ` rounded-full border border-dark-700 group-${hoverBorder } transition-colors ` } >
27- <span class = { ` font-fira font-bold text-lg text-white group-${hoverColor } transition-colors ` } >Commit 451</span >
28- </a >
29- ) : (
30- <a href = " #hero" class = " flex items-center gap-3 group" >
31- <img src = " /images/logo-v2.svg" alt = " Commit 451 logo" width = " 36" height = " 36" class = " transition-transform group-hover:scale-105" >
32- <span class = " font-arcane text-lg text-white group-hover:text-brand-accent transition-colors" >Commit 451</span >
33- </a >
34- )}
21+ <a href ={ brandHref } class =" flex items-center gap-3 group" >
22+ <img src =" /images/logo-v2.svg" alt =" Commit 451 logo" width =" 36" height =" 36" class =" transition-transform group-hover:scale-105" >
23+ <span class ={ ` ${brandTextClass } group-hover:text-brand-accent transition-colors ` } >Commit 451</span >
24+ </a >
3525
3626 { variant === ' labcoat' ? (
3727 <div class = " hidden sm:flex items-center gap-8 text-sm font-medium" >
@@ -43,8 +33,9 @@ const hoverBorder = isAccent ? 'hover:border-brand-accent' : 'hover:border-brand
4333 <div class = " hidden sm:flex items-center gap-8 text-sm font-medium" >
4434 <a href = " /#work" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Work</a >
4535 <a href = " /#about" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >About</a >
36+ <a href = " /#services" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Services</a >
4637 <a href = " /blog/" class = { ` ${activeColor } transition-colors ` } >Blog</a >
47- <a href = " /#contact " class = { ` rounded-lg border ${borderColor } px-4 py-2 ${activeColor } ${hoverBg } transition-all ` } >Contact </a >
38+ <a href = " https://cal.com/commit451/15min " target = " _blank " rel = " noopener noreferrer " class = { ` rounded-lg border ${borderColor } px-4 py-2 ${activeColor } ${hoverBg } transition-all ` } >Book a Call </a >
4839 </div >
4940 ) : (
5041 <div class = " hidden sm:flex items-center gap-8 text-sm font-medium" >
@@ -73,16 +64,17 @@ const hoverBorder = isAccent ? 'hover:border-brand-accent' : 'hover:border-brand
7364 <>
7465 <a href = " /#work" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Work</a >
7566 <a href = " /#about" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >About</a >
67+ <a href = " /#services" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Services</a >
7668 <a href = " /blog/" class = { ` ${activeColor } transition-colors ` } >Blog</a >
77- <a href = " /#contact " class = { activeColor } >Contact </a >
69+ <a href = " https://cal.com/commit451/15min " target = " _blank " rel = " noopener noreferrer " class = { activeColor } >Book a Call </a >
7870 </>
7971 ) : (
8072 <>
8173 <a href = " #work" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Work</a >
8274 <a href = " #about" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >About</a >
8375 <a href = " #services" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Services</a >
8476 <a href = " /blog/" class = { ` text-gray-400 ${hoverColor } transition-colors ` } >Blog</a >
85- <a href = " #contact " class = { activeColor } >Contact </a >
77+ <a href = " https://cal.com/commit451/15min " target = " _blank " rel = " noopener noreferrer " class = { activeColor } >Book a Call </a >
8678 </>
8779 )}
8880 </div >
0 commit comments