File tree Expand file tree Collapse file tree 1 file changed +27
-6
lines changed Expand file tree Collapse file tree 1 file changed +27
-6
lines changed Original file line number Diff line number Diff line change 1
- <script setup lang="ts">
2
- import IconGnoland from ' @/components/icons/IconGnoland.vue'
3
- </script >
4
-
5
1
<template >
6
- <header class =" flex w-full max-w-[110rem] mx-auto px-4 md:px-14 lg:px-20 pt-8 pb-4 mb-8 md:mb-16" >
7
- <IconGnoland class =" m-auto md:m-0" />
2
+ <header class =" flex w-full items-center justify-between max-w-[110rem] mx-auto px-4 md:px-14 lg:px-20 pt-8 pb-4 mb-8 md:mb-16 relative" >
3
+ <IconGnoland class =" cursor-pointer" />
4
+ <HamburgerMenu :navItems =" navItems" />
5
+ <div class =" md:flex justify-end items-center gap-5 hidden" >
6
+ <a class =" cursor-pointer link-with-animation" v-for =" item, i in navItems" :key =" i" href =" item.link" target =" _blank" >{{item.title}}</a >
7
+ <a class =" cursor-pointer px-2 py-1 bg-grey-100 rounded-sm hover:scale-105 transition-transform duration-300" >Connect Wallet</a >
8
+ </div >
8
9
</header >
9
10
</template >
11
+
12
+ <script setup lang="ts">
13
+ import IconGnoland from ' @/components/icons/IconGnoland.vue'
14
+ import { NavItem } from ' @/types' ;
15
+ import HamburgerMenu from ' ../ui/HamburgerMenu.vue' ;
16
+ const navItems: NavItem [] = [
17
+ {
18
+ title: ' Home' ,
19
+ link: ' https://gno.land/'
20
+ },
21
+ {
22
+ title: ' Docs' ,
23
+ link: ' https://docs.gno.land/'
24
+ },
25
+ {
26
+ title: ' Playground' ,
27
+ link: ' https://play.gno.land/'
28
+ }
29
+ ]
30
+ </script >
You can’t perform that action at this time.
0 commit comments