diff --git a/components/MermaidDiagram.client.vue b/components/MermaidDiagram.client.vue new file mode 100644 index 0000000..d65e1cc --- /dev/null +++ b/components/MermaidDiagram.client.vue @@ -0,0 +1,171 @@ + + + + + diff --git a/components/ReadonlyMdEditor.vue b/components/ReadonlyMdEditor.vue deleted file mode 100644 index f107bea..0000000 --- a/components/ReadonlyMdEditor.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - - - diff --git a/components/theme/classic/markdown/ProseCode.vue b/components/theme/classic/markdown/ProseCode.vue new file mode 100644 index 0000000..001dca0 --- /dev/null +++ b/components/theme/classic/markdown/ProseCode.vue @@ -0,0 +1,9 @@ + diff --git a/components/theme/classic/markdown/ProsePre.vue b/components/theme/classic/markdown/ProsePre.vue new file mode 100644 index 0000000..370a260 --- /dev/null +++ b/components/theme/classic/markdown/ProsePre.vue @@ -0,0 +1,18 @@ + + + diff --git a/composables/useNavbarHeight.ts b/composables/useNavbarHeight.ts new file mode 100644 index 0000000..f5abd3e --- /dev/null +++ b/composables/useNavbarHeight.ts @@ -0,0 +1,9 @@ +const KEY: InjectionKey> = Symbol('navbarHeight'); + +export function provideNavbarHeight(h: Ref) { + provide(KEY, h); +} + +export function injectNavbarHeight(): Ref { + return inject(KEY, ref(48)); +} diff --git a/content b/content index 2865b12..78c4554 160000 --- a/content +++ b/content @@ -1 +1 @@ -Subproject commit 2865b12ed961e0d4d066e11c04052bd710cf24e2 +Subproject commit 78c45544b34b3584a42068078effd7c817a731f8 diff --git a/layouts/UserLayout.vue b/layouts/UserLayout.vue index 21ed9f8..63c941c 100644 --- a/layouts/UserLayout.vue +++ b/layouts/UserLayout.vue @@ -1,6 +1,7 @@