From 02e8f22119dd2a791a03ba5cc0827c6909efaae2 Mon Sep 17 00:00:00 2001 From: Serhii Bedrytskyi Date: Wed, 4 Jan 2023 15:43:55 +0200 Subject: [PATCH 1/4] init variants --- .docs/.studio/app.config.json | 7 ++++++- components/app/AppHeader.vue | 14 ++++++++++++-- components/app/AppLayout.vue | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.docs/.studio/app.config.json b/.docs/.studio/app.config.json index ccfd6306d..949815be0 100644 --- a/.docs/.studio/app.config.json +++ b/.docs/.studio/app.config.json @@ -1,5 +1,6 @@ { "docus": { + "test": "111", "title": "Docus", "description": "The best place to start your documentation.", "image": "https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png", @@ -20,7 +21,11 @@ "title": "", "logo": true, "showLinkIcon": true, - "exclude": [] + "exclude": [], + "fixed": { + "initial": false, + "lg": true + } }, "footer": { "credits": { diff --git a/components/app/AppHeader.vue b/components/app/AppHeader.vue index 057c3360a..cb5d1905d 100644 --- a/components/app/AppHeader.vue +++ b/components/app/AppHeader.vue @@ -4,6 +4,10 @@ const { navigation } = useContent() const { hasDocSearch } = useDocSearch() const hasDialog = computed(() => navigation.value?.length > 1) + +defineProps({ + ...variants +})