Skip to content

Commit

Permalink
remove unused thing from nuxt.config
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-contact-c committed Dec 30, 2024
1 parent 9318213 commit d6ec07b
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions nuxt-frontend/components/partials/NewHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,22 @@
class="my-2 ml-1 py-2 lg:ml-0"
>
<nuxt-link
:to="navbar.url && navbar.url !== '/contributions' ? navbar.url : '/'"
@click.native="$mixpanel.track(navbar.event)"
class="flex gap-2 group relative mr-5 w-fit sm:mr-[30px] lg:mr-5 cursor-pointer"
:class="[
isActiveRoute(navbar.name) ? 'router-link-exact-active' : '',
navbar.className
? navbar.className
: ' main-menu after:absolute after:bottom-0 after:left-0 after:top-[27px] after:h-[3px] after:w-full after:origin-bottom-left after:scale-x-0 after:from-[#f2709c] after:to-[#ff9472] after:duration-300 after:bg-gradient-[90deg] hover:from-[#ff9472] hover:to-[#f2709c] hover:bg-clip-text hover:text-transparent hover:bg-gradient-[270.11deg] hover:after:origin-bottom-left hover:after:scale-x-100',
]"
@click="
navbar.name == 'Contribution'
? (showContributionMenu = !showContributionMenu)
: ''
"
:to="
navbar.url && navbar.url !== '/contributions' ? navbar.url : '/'
"
@click.native="$mixpanel.track(navbar.event)"
class="flex gap-2 group relative mr-5 w-fit sm:mr-[30px] lg:mr-5 cursor-pointer"
:class="[
isActiveRoute(navbar.name) ? 'router-link-exact-active' : '',
navbar.className
? navbar.className
: ' main-menu after:absolute after:bottom-0 after:left-0 after:top-[27px] after:h-[3px] after:w-full after:origin-bottom-left after:scale-x-0 after:from-[#f2709c] after:to-[#ff9472] after:duration-300 after:bg-gradient-[90deg] hover:from-[#ff9472] hover:to-[#f2709c] hover:bg-clip-text hover:text-transparent hover:bg-gradient-[270.11deg] hover:after:origin-bottom-left hover:after:scale-x-100',
]"
@click="
navbar.name == 'Contribution'
? (showContributionMenu = !showContributionMenu)
: ''
"
>
<span>{{ navbar.name }}</span>
<span
Expand Down

0 comments on commit d6ec07b

Please sign in to comment.