Skip to content

Commit

Permalink
fix: update app and nuxt config
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Jun 2, 2024
1 parent b76af2e commit f9ad12e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 38 deletions.
76 changes: 39 additions & 37 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
export default defineAppConfig({
ui: {
primary: 'malibu',
gray: 'slate',
footer: {
bottom: {
left: 'text-sm text-gray-500 dark:text-gray-400',
wrapper: 'border-t border-gray-200 dark:border-gray-800',
},
},
icons: {
dynamic: true,
// Nuxt UI Pro Icons
dark: 'i-mdi-moon-and-stars',
light: 'i-mdi-weather-sunny',
system: 'i-mdi-computer',
search: 'i-mdi-search',
external: 'i-mdi-external-link',
chevron: 'i-mdi-chevron-down',
hash: 'i-mdi-hashtag',
menu: 'i-mdi-menu',
close: 'i-mdi-window-close',
check: 'i-mdi-check-circle',
},
},
ui: {
primary: "malibu",
gray: "slate",

toc: {
bottom: {
edit: 'https://github.com/fivenet-app/fivenet/edit/main/content',
},
},
footer: {
bottom: {
left: "text-sm text-gray-500 dark:text-gray-400",
wrapper: "border-t border-gray-200 dark:border-gray-800",
},
},

links: {
imprint: '',
privacyPolicy: '',
},
icons: {
dynamic: true,
// Nuxt UI Pro Icons
dark: "i-mdi-moon-and-stars",
light: "i-mdi-weather-sunny",
system: "i-mdi-computer",
search: "i-mdi-search",
external: "i-mdi-external-link",
chevron: "i-mdi-chevron-down",
hash: "i-mdi-hashtag",
menu: "i-mdi-menu",
close: "i-mdi-window-close",
check: "i-mdi-check-circle",
},
},

footer: {
colorMode: false,
},
});
toc: {
bottom: {
edit: "https://github.com/fivenet-app/fivenet/edit/main/content",
},
},

links: {
imprint: "",
privacyPolicy: "",
},

footer: {
colorMode: false,
},
});
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineNuxtConfig({
hooks: {
// Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need)
'components:extend': (components) => {
const globals = components.filter((c) => ['UButton', 'UIcon', 'ImagePlaceholder'].includes(c.pascalName));
const globals = components.filter((c) => ['UButton', 'UIcon'].includes(c.pascalName));

globals.forEach((c) => (c.global = true));
},
Expand Down

0 comments on commit f9ad12e

Please sign in to comment.