File tree 1 file changed +14
-14
lines changed
nuxt-frontend/components/partials
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 153
153
class =" my-2 ml-1 py-2 lg:ml-0"
154
154
>
155
155
<nuxt-link
156
- :to =" navbar.url == '/contributions' ? '' : navbar.url"
157
- @click.native =" $mixpanel.track(navbar.event)"
158
- class =" flex gap-2 group relative mr-5 w-fit sm:mr-[30px] lg:mr-5 cursor-pointer"
159
- :class =" [
160
- isActiveRoute(navbar.name) ? 'router-link-exact-active' : '',
161
- navbar.className
162
- ? navbar.className
163
- : ' 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',
164
- ]"
165
- @click ="
166
- navbar.name == 'Contribution'
167
- ? (showContributionMenu = !showContributionMenu)
168
- : ''
169
- "
156
+ :to =" navbar.url && navbar.url ! == '/contributions' ? navbar.url : '/' "
157
+ @click.native =" $mixpanel.track(navbar.event)"
158
+ class =" flex gap-2 group relative mr-5 w-fit sm:mr-[30px] lg:mr-5 cursor-pointer"
159
+ :class =" [
160
+ isActiveRoute(navbar.name) ? 'router-link-exact-active' : '',
161
+ navbar.className
162
+ ? navbar.className
163
+ : ' 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',
164
+ ]"
165
+ @click ="
166
+ navbar.name == 'Contribution'
167
+ ? (showContributionMenu = !showContributionMenu)
168
+ : ''
169
+ "
170
170
>
171
171
<span >{{ navbar.name }}</span >
172
172
<span
You can’t perform that action at this time.
0 commit comments