From 6782b020e4b3b67fa5790af75b3d66bd632ef650 Mon Sep 17 00:00:00 2001 From: kevin olson Date: Tue, 3 Sep 2024 04:20:31 -0500 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=8E=A8=20great=20start=20on=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app.config.ts | 3 + app/app.vue | 52 +- app/components/header/HeaderMain.vue | 10 +- app/layouts/default.vue | 31 - app/layouts/docs.vue | 19 + app/pages/home.vue | 2 +- app/pages/index.vue | 2 +- app/pages/privacy.vue | 7 +- app/pages/research/[...slug].vue | 74 + app/pages/terms.vue | 2 +- .../1.research/1.peptides/2.tirzepatide.md | 8 + .../1.research/1.peptides/3.cagrilintide.md | 7 + .../1.research/1.peptides/4.retatrutide.md | 8 + content/1.research/1.peptides/_index.md | 14 + content/1.research/_dir.yml | 1 + content/1.research/index.md | 17 + content/{ => _pages}/0.index.yml | 0 content/{ => _pages}/1.token.yml | 0 content/{ => _pages}/privacy.md | 0 content/{ => _pages}/terms.md | 0 pnpm-lock.yaml | 12674 +++++++--------- 21 files changed, 5817 insertions(+), 7114 deletions(-) create mode 100644 app/layouts/docs.vue create mode 100644 app/pages/research/[...slug].vue create mode 100644 content/1.research/1.peptides/2.tirzepatide.md create mode 100644 content/1.research/1.peptides/3.cagrilintide.md create mode 100644 content/1.research/1.peptides/4.retatrutide.md create mode 100644 content/1.research/1.peptides/_index.md create mode 100644 content/1.research/_dir.yml create mode 100644 content/1.research/index.md rename content/{ => _pages}/0.index.yml (100%) rename content/{ => _pages}/1.token.yml (100%) rename content/{ => _pages}/privacy.md (100%) rename content/{ => _pages}/terms.md (100%) diff --git a/app/app.config.ts b/app/app.config.ts index b3f30d1..eaf9b2c 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -9,4 +9,7 @@ export default defineAppConfig({ background: 'bg-red-100 dark:bg-red-900', }, }, + seo: { + siteName: 'fume.bio', + }, }) diff --git a/app/app.vue b/app/app.vue index b138619..dbb7d87 100644 --- a/app/app.vue +++ b/app/app.vue @@ -2,6 +2,8 @@ const colorMode = useColorMode() const color = computed(() => colorMode.value === 'dark' ? '#111827' : 'white') +const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation()) + useHead({ meta: [ { charset: 'utf-8' }, @@ -16,22 +18,21 @@ useHead({ }, }) -useSeoMeta({ - titleTemplate: '%s - fume bio', - /* - ogImage: 'https://saas-template.nuxt.dev/social-card.png', - twitterImage: 'https://saas-template.nuxt.dev/social-card.png', - twitterCard: 'summary_large_image', - */ -}) +useSeoMeta({ titleTemplate: '%s - fume.bio' }) + +provide('navigation', navigation)