chore(docs): update home page

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-03 13:02:10 +01:00
parent 4bfd89bca5
commit 6d19bb165b
5 changed files with 57 additions and 31 deletions
+7 -3
View File
@@ -7,7 +7,7 @@ const { smaller } = useBreakpoints(breakpointsTailwind)
const isMobile = smaller('md')
const { blobity, reset } = useBlobity()
const { blobity } = useBlobity()
const usesDark = useDark({
storageKey: 'vuepress-color-scheme',
@@ -22,7 +22,7 @@ onMounted(() => {
usesDark.value = html.classList.contains('dark')
const observer = new MutationObserver((mutations) => {
for (const m of mutations) {
for (const _ of mutations) {
dark.value = html.classList.contains('dark')
}
})
@@ -42,7 +42,7 @@ onMounted(() => {
</script>
<template>
<div class="relative h-[calc(100vh-var(--vp-nav-height-mobile))] lg:h-[calc(100vh-var(--vp-nav-height))]">
<div class="relative h-[calc(100vh-var(--vp-nav-height-mobile))] lg:h-[calc(100vh-var(--vp-nav-height)-176px)]">
<Intro />
</div>
</template>
@@ -52,6 +52,10 @@ button:focus {
outline: none;
}
.VPHome {
@apply !pb-24;
}
h1 {
@apply text-xl lg:text-4xl mb-4 font-bold;
}