@@ -340,7 +340,7 @@ const Navbar: React.FC = () => {
340
340
< a href = "#" className = "text-[15px] font-medium leading-[126%] tracking-[-0.01em] text-[#0a0f39] dark:text-[#fafafa] hover:text-[#4e5ee4] dark:hover:text-[#d1d1d1] transition-colors duration-300" >
341
341
{ menu . name }
342
342
</ a >
343
-
343
+
344
344
< div className = { `invisible opacity-0 absolute top-[40px] ${ key === 'products' ? 'left-[-224px] min-w-0 max-w-[1200px] w-[calc(100vw-55px)]' :
345
345
key === 'services' ? 'left-[-337px] min-w-0 max-w-[790px] w-[calc(100vw-55px)]' :
346
346
'transform -translate-x-1/2 left-1/2 min-w-[500px]'
@@ -349,7 +349,7 @@ const Navbar: React.FC = () => {
349
349
key === 'services' ? 'before:left-[354px]' :
350
350
'before:left-1/2 before:-translate-x-1/2'
351
351
} before:-translate-y-full before:bg-[url('https://7795250.fs1.hubspotusercontent-na1.net/hubfs/7795250/triangle-corner2.svg')] dark:before:bg-[url('https://7795250.fs1.hubspotusercontent-na1.net/hubfs/7795250/triangle-corner-darkest.svg')] before:bg-cover before:bg-no-repeat`} >
352
- { /* Add a hidden pseudo-element to create a hover bridge */ }
352
+ { /* Add a hidden pseudo-element to create a hover bridge */ }
353
353
< div className = "absolute -top-5 left-0 w-full h-5 bg-transparent opacity-0 group-hover:opacity-100" > </ div >
354
354
{ /* <div className="absolute h-[15px] w-full top-[100%] left-0 bg-transparent"></div> */ }
355
355
< div className = "flex justify-between gap-[30px] flex-wrap" >
@@ -427,6 +427,17 @@ const Navbar: React.FC = () => {
427
427
428
428
{ /* Nav Buttons */ }
429
429
< div className = "flex items-center gap-2" >
430
+
431
+ < div >
432
+ < a id = "talk_to_an_expert-navbar" className = "inline-block py-[7px] px-4 text-[14px] tracking-[-0.02em] rounded-[100px] font-medium leading-[120%]
433
+ text-[#0a0f39] bg-[#fafafa] border border-[#efefef]
434
+ dark:text-[#D8D8D8] dark:bg-transparent
435
+ transition-all duration-200
436
+ hover:bg-[#ededed] hover:text-[rgba(10,15,57,0.8)]
437
+ dark:hover:bg-transparent
438
+ active:bg-[#e1e1e1] whitespace-nowrap text-center"
439
+ href = "https://www.openzeppelin.com/request?id=talk_to_an_expert-navbar" > Request an Audit</ a >
440
+ </ div >
430
441
< Button variant = "ghost" asChild className = "text-sm font-medium" >
431
442
{ isHowItWorksPage ? (
432
443
< Link href = "/" className = "flex items-center gap-2" >
@@ -499,6 +510,9 @@ const Navbar: React.FC = () => {
499
510
</ div >
500
511
501
512
< ul className = { `p-main-nav-mobile-list ${ isMenuOpen ? 'block fixed left-0 right-0 bottom-0 overflow-y-auto top-[52px] w-full pt-5 pb-[120px] bg-white dark:bg-[#01030a] z-100' : 'hidden' } ` } >
513
+ < li className = "button-item px-4 max-w-[600px] mx-auto" >
514
+ < a id = "talk_to_an_expert-navbar" className = "inline-block w-full py-[10px] px-4 text-[16px] text-center rounded-[100px] font-medium leading-[120%] text-[#0a0f39] bg-[#fafafa] border border-[#efefef] dark:bg-transparent dark:text-[#D8D8D8] transition-all duration-200" href = "https://www.openzeppelin.com/request?id=talk_to_an_expert-navbar" > Request an Audit</ a >
515
+ </ li >
502
516
< div className = "flex justify-center items-center gap-8 py-2" >
503
517
{ /* Docs/Home */ }
504
518
{ isHowItWorksPage ? (
0 commit comments