From 0cf4e6d2b63f9e4c3b07c73db7e82b4188245872 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 6 Mar 2023 09:45:32 -0800 Subject: [PATCH] Creates header --- docs/components.d.ts | 2 ++ docs/src/components/TheHeader.vue | 33 +++++++++++++++++++++++++++++++ docs/src/layouts/default.vue | 29 +++++---------------------- docs/src/layouts/docs.vue | 28 +------------------------- docs/src/styles/main.css | 8 ++++---- docs/unocss.config.ts | 7 ++++--- 6 files changed, 49 insertions(+), 58 deletions(-) create mode 100644 docs/src/components/TheHeader.vue diff --git a/docs/components.d.ts b/docs/components.d.ts index b9da3017..a956338a 100644 --- a/docs/components.d.ts +++ b/docs/components.d.ts @@ -11,6 +11,7 @@ declare module '@vue/runtime-core' { export interface GlobalComponents { BrowserWindow: typeof import('./src/components/BrowserWindow.vue')['default'] CodeBlock: typeof import('./src/components/CodeBlock.vue')['default'] + copy: typeof import('./src/components/TheFooter copy.vue')['default'] Features: typeof import('./src/components/Features.vue')['default'] Hero: typeof import('./src/components/Hero.vue')['default'] Installation: typeof import('./src/components/Installation.vue')['default'] @@ -19,5 +20,6 @@ declare module '@vue/runtime-core' { RouterView: typeof import('vue-router')['RouterView'] SubSection: typeof import('./src/components/SubSection.vue')['default'] TheFooter: typeof import('./src/components/TheFooter.vue')['default'] + TheHeader: typeof import('./src/components/TheHeader.vue')['default'] } } diff --git a/docs/src/components/TheHeader.vue b/docs/src/components/TheHeader.vue new file mode 100644 index 00000000..12c40da7 --- /dev/null +++ b/docs/src/components/TheHeader.vue @@ -0,0 +1,33 @@ + + + diff --git a/docs/src/layouts/default.vue b/docs/src/layouts/default.vue index 10e78ac3..7b4fd431 100644 --- a/docs/src/layouts/default.vue +++ b/docs/src/layouts/default.vue @@ -6,29 +6,10 @@ useHead({ diff --git a/docs/src/layouts/docs.vue b/docs/src/layouts/docs.vue index 2a512548..b716cbaa 100644 --- a/docs/src/layouts/docs.vue +++ b/docs/src/layouts/docs.vue @@ -1,8 +1,6 @@