chore: tweak
This commit is contained in:
parent
8c3d6137b1
commit
3ed4058ae2
@ -108,9 +108,7 @@ watch(
|
|||||||
<slot name="doc-before" />
|
<slot name="doc-before" />
|
||||||
<main class="main">
|
<main class="main">
|
||||||
<VPDocMeta />
|
<VPDocMeta />
|
||||||
<ClientOnly v-if="!isPageDecrypted">
|
<VPEncryptPage v-if="!isPageDecrypted" />
|
||||||
<VPEncryptPage />
|
|
||||||
</ClientOnly>
|
|
||||||
<Content
|
<Content
|
||||||
v-else class="vp-doc plume-content"
|
v-else class="vp-doc plume-content"
|
||||||
:class="[pageName, enabledExternalLinkIcon && 'external-link-icon-enabled']"
|
:class="[pageName, enabledExternalLinkIcon && 'external-link-icon-enabled']"
|
||||||
|
|||||||
@ -11,6 +11,7 @@ const title = computed(() => profile.value?.name || site.value.title)
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<ClientOnly>
|
||||||
<div class="vp-global-encrypt">
|
<div class="vp-global-encrypt">
|
||||||
<div class="global-encrypt-container">
|
<div class="global-encrypt-container">
|
||||||
<div v-if="profile || title" class="profile">
|
<div v-if="profile || title" class="profile">
|
||||||
@ -24,6 +25,7 @@ const title = computed(() => profile.value?.name || site.value.title)
|
|||||||
<VPEncryptForm global :info="theme.encryptGlobalText" />
|
<VPEncryptForm global :info="theme.encryptGlobalText" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</ClientOnly>
|
||||||
<VPFooter />
|
<VPFooter />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -6,12 +6,14 @@ const { theme } = useData()
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<ClientOnly>
|
||||||
<div class="vp-page-encrypt">
|
<div class="vp-page-encrypt">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<span class="vpi-lock icon-lock-head" />
|
<span class="vpi-lock icon-lock-head" />
|
||||||
</div>
|
</div>
|
||||||
<VPEncryptForm :info="theme.encryptPageText" />
|
<VPEncryptForm :info="theme.encryptPageText" />
|
||||||
</div>
|
</div>
|
||||||
|
</ClientOnly>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user