@@ -4,66 +4,62 @@ const { t: $t } = useTranslation()
44 </script >
55
66<template >
7- <nav class =" p-2xl flex justify-between items-center" >
8- <NuxtLink to =" /" >
9- <span class =" sr-only" >
10- {{ $t('base.beaconchain_homepage') }}
11- </span >
12- <TheLogo
13- class =" text-black dark:text-white"
7+ <nav class =" p-2xl" >
8+ <div class =" max-w-8xl mx-auto grid grid-cols-[auto_1fr_auto] gap-2xl items-center" >
9+ <BaseButtonIcon
10+ class =" sm:hidden"
11+ name =" menu-2"
12+ variant =" secondary"
1413 />
15- </NuxtLink >
16- <ul class =" flex gap-xl" >
17- <li >
18- <a
19- class =" font-semibold flex gap-md items-center p-md bg-linear-to-b rounded-full from-gray-300 to-gray-200 text-black dark:from-charcoal-600 dark:to-charcoal-700 dark:text-white opacity-90 hover:opacity-95 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
20- href =" "
21- >
22- <BaseIcon name =" file-code-2" />
23- {{ $t('base.products.api') }}
24- </a >
25- <!-- <BaseButton
26- variant="secondary"
27- leading-icon="file-code-2"
28- >
29- {{ $t('base.products.api') }}
30- </BaseButton> -->
31- </li >
32- <li >
33- <a
34- class =" font-semibold flex gap-md items-center p-md bg-linear-to-b rounded-full from-gray-300 to-gray-200 text-black dark:from-charcoal-600 dark:to-charcoal-700 dark:text-white opacity-90 hover:opacity-95 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
35- href =" "
36- >
37- <BaseIcon name =" coins" />
38- {{ $t('base.products.stacking_hub') }}
39- </a >
40- <!-- <BaseButton
41- leading-icon="coins"
42- variant="secondary"
43- >
44- {{ $t('base.products.stacking_hub') }}
45- </BaseButton> -->
46- </li >
47- <li >
48- <a
49- class =" font-semibold flex gap-md items-center p-md bg-linear-to-b rounded-full from-gray-300 to-gray-200 text-black dark:from-charcoal-600 dark:to-charcoal-700 dark:text-white opacity-90 hover:opacity-95 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
50- href =" "
51- >
52- <BaseIcon name =" compass" />
53- {{ $t('base.products.explorer') }}
54- </a >
55- <!-- <BaseButton
56- leading-icon="compass"
57- variant="secondary"
58- >
59- {{ $t('base.products.explorer') }}
60- </BaseButton> -->
61- </li >
62- </ul >
63- <BaseButton
64- @click =" navigateToV1Login"
65- >
66- {{ $t('base.common.log_in') }}
67- </BaseButton >
14+ <NuxtLink to =" /" >
15+ <span class =" sr-only" >
16+ {{ $t('base.beaconchain_homepage') }}
17+ </span >
18+ <span class =" flex gap-sm text-black dark:text-white" >
19+ <TheLogoMark
20+ width =" 1.25rem"
21+ class =" aspect-square"
22+ />
23+ <TheLogoType
24+ class =" hidden md:inline"
25+ width =" 6.25rem"
26+ />
27+ </span >
28+ </NuxtLink >
29+ <ul class =" hidden sm:flex gap-xl justify-center" >
30+ <li >
31+ <a
32+ class =" font-semibold flex gap-md items-center p-md bg-linear-to-b rounded-full from-gray-300 to-gray-200 text-black dark:from-charcoal-600 dark:to-charcoal-700 dark:text-white opacity-90 hover:opacity-95 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
33+ href =" "
34+ >
35+ <BaseIcon name =" file-code-2" />
36+ {{ $t('base.products.api') }}
37+ </a >
38+ </li >
39+ <li >
40+ <a
41+ class =" font-semibold flex gap-md items-center p-md bg-linear-to-b rounded-full from-gray-300 to-gray-200 text-black dark:from-charcoal-600 dark:to-charcoal-700 dark:text-white opacity-90 hover:opacity-95 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
42+ href =" "
43+ >
44+ <BaseIcon name =" coins" />
45+ {{ $t('base.products.stacking_hub') }}
46+ </a >
47+ </li >
48+ <li >
49+ <a
50+ class =" font-semibold flex gap-md items-center p-md bg-linear-to-b rounded-full from-gray-300 to-gray-200 text-black dark:from-charcoal-600 dark:to-charcoal-700 dark:text-white opacity-90 hover:opacity-95 text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
51+ href =" "
52+ >
53+ <BaseIcon name =" compass" />
54+ {{ $t('base.products.explorer') }}
55+ </a >
56+ </li >
57+ </ul >
58+ <BaseButton
59+ @click =" navigateToV1Login"
60+ >
61+ {{ $t('base.common.log_in') }}
62+ </BaseButton >
63+ </div >
6864 </nav >
6965</template >
0 commit comments