Skip to content

Commit

Permalink
docs: modify header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien committed Sep 19, 2024
1 parent 67d86be commit 943f55c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
13 changes: 6 additions & 7 deletions docs/app/components/AppFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ const { footer } = useAppConfig()
<template #right>
<UColorModeButton v-if="footer?.colorMode" />

<template v-if="footer?.links">
<UButton
v-for="(link, index) of footer?.links"
:key="index"
v-bind="{ color: 'gray', variant: 'ghost', ...link }"
/>
</template>
Created and maintained by <ULink
href="https://github.com/huang-julien"
target="_blank"
>
Julien Huang
</ULink>
</template>
</UFooter>
</template>
6 changes: 1 addition & 5 deletions docs/app/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ const { header } = useAppConfig()
<UColorModeImage v-bind="{ class: 'h-6 w-auto', ...header?.logo }" />
</template>
<template v-else>
Nuxt UI Pro <UBadge
label="Docs"
variant="subtle"
class="mb-0.5"
/>
nuxt-applicationinsights
</template>
</template>

Expand Down

0 comments on commit 943f55c

Please sign in to comment.