Skip to content

Commit

Permalink
更新登录
Browse files Browse the repository at this point in the history
  • Loading branch information
geektao1024 committed Nov 9, 2024
1 parent a125b7f commit 86120d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion layers/common/components/CommonFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const toolsLinks = computed(() => [{
const moreLinks = computed(() => [
{
label: t('nav.contact'),
to: 'mailto:hello@colormagic.club'
to: 'mailto:hello@colormagic.app'
},
{
label: t('nav.suggestIdea'),
Expand Down
9 changes: 9 additions & 0 deletions layers/common/components/CommonNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
<!-- lang switcher-->
<CommonLangSwitcher />

<!-- login button -->
<UButton
v-if="!user"
:to="localePath('/login')"
:label="t('nav.login')"
class="hidden sm:flex"
size="sm"
/>

<!-- mobile bars button -->
<UButton
icon="i-heroicons-bars-3"
Expand Down

0 comments on commit 86120d3

Please sign in to comment.