Skip to content

Commit

Permalink
Fix : seo issue of link
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-contact-c committed Dec 30, 2024
1 parent 4ec0d52 commit c7704d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion nuxt-frontend/components/partials/NewHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@
class="my-2 ml-1 py-2 lg:ml-0"
>
<nuxt-link
:to="navbar.url == '/contributions' ? '' : navbar.url"
: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="[
Expand Down
1 change: 0 additions & 1 deletion nuxt-frontend/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default defineNuxtConfig({
features: {
inlineStyles: false,
},
generate: { fallback: true },
imports: {
dirs: ["stores"],
},
Expand Down

0 comments on commit c7704d0

Please sign in to comment.