From 3adc965dd09490b7efa1cce9f09b0a3b30970277 Mon Sep 17 00:00:00 2001
From: 简律纯 <hsiangnianian@outlook.com>
Date: Wed, 19 Apr 2023 17:30:39 +0800
Subject: ✨优化文档
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 docs/layouts/page.vue | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 docs/layouts/page.vue

(limited to 'docs/layouts/page.vue')

diff --git a/docs/layouts/page.vue b/docs/layouts/page.vue
new file mode 100644
index 0000000..c6168d4
--- /dev/null
+++ b/docs/layouts/page.vue
@@ -0,0 +1,26 @@
+<script setup lang="ts">
+const { config } = useDocus()
+</script>
+
+<template>
+  <div class="page-layout">
+    <Container
+      :fluid="config?.main?.fluid"
+      :padded="config?.main?.padded"
+    >
+      <article>
+        <slot />
+      </article>
+    </Container>
+  </div>
+</template>
+
+<style lang="ts" scoped>
+css({
+  '.page-layout': {
+    display: 'flex',
+    flexDirection: 'column',
+    position: 'relative'
+  }
+})
+</style>
-- 
cgit v1.2.3-70-g09d2

