From 0b96c551386f6b57d61074e2c2e595954e98783c Mon Sep 17 00:00:00 2001 From: harlan Date: Mon, 25 Nov 2024 01:45:39 +1100 Subject: [PATCH] doc: misc fixes --- docs/app/components/Logo.vue | 21 +- .../content/SiteConfigQuickSetup.vue | 2 + docs/app/components/global/ProseCode.vue | 9 + docs/app/css/global.css | 30 + docs/app/layouts/article-simple.vue | 10 + docs/app/pages/announcement.vue | 229 +++----- docs/app/pages/index.vue | 8 +- docs/app/pages/learn/[...slug].vue | 2 +- docs/content.config.ts | 16 + docs/content/root/announcement.md | 148 +++++ docs/nuxt.config.ts | 1 + docs/package.json | 2 + pnpm-lock.yaml | 540 ++++++++---------- 13 files changed, 555 insertions(+), 463 deletions(-) create mode 100644 docs/app/components/global/ProseCode.vue create mode 100644 docs/app/layouts/article-simple.vue create mode 100644 docs/content/root/announcement.md diff --git a/docs/app/components/Logo.vue b/docs/app/components/Logo.vue index 54719a6..e38cb20 100644 --- a/docs/app/components/Logo.vue +++ b/docs/app/components/Logo.vue @@ -2,14 +2,15 @@ + diff --git a/docs/app/components/content/SiteConfigQuickSetup.vue b/docs/app/components/content/SiteConfigQuickSetup.vue index a7e75fe..4085f6f 100644 --- a/docs/app/components/content/SiteConfigQuickSetup.vue +++ b/docs/app/components/content/SiteConfigQuickSetup.vue @@ -1,4 +1,6 @@ + + diff --git a/docs/app/css/global.css b/docs/app/css/global.css index 5126fdc..91237ea 100644 --- a/docs/app/css/global.css +++ b/docs/app/css/global.css @@ -55,3 +55,33 @@ pre { opacity: 0.6; z-index: -1; } + +@keyframes slide-right { + from { + transform: scale(0.6) translateX(100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } +} + +@keyframes pop { + from { + transform: scale(0); + opacity: 0; + } + to { + transform: scale(1); + opacity: 1; + } +} + +.slide-right { + animation: slide-right 400ms cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;; +} + +.pop { + animation: pop 400ms cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards; +} diff --git a/docs/app/layouts/article-simple.vue b/docs/app/layouts/article-simple.vue new file mode 100644 index 0000000..8e09854 --- /dev/null +++ b/docs/app/layouts/article-simple.vue @@ -0,0 +1,10 @@ + diff --git a/docs/app/pages/announcement.vue b/docs/app/pages/announcement.vue index 9bfc315..fadf67a 100644 --- a/docs/app/pages/announcement.vue +++ b/docs/app/pages/announcement.vue @@ -1,166 +1,95 @@ diff --git a/docs/app/pages/index.vue b/docs/app/pages/index.vue index c49d75b..f766b59 100644 --- a/docs/app/pages/index.vue +++ b/docs/app/pages/index.vue @@ -486,8 +486,6 @@ const graphData = computed(() => { return acc }, []) }) - -const isNuxtSeoStableReleased = false