From 1605bd66ab97a206e4698954d47b10d87b09ec2d Mon Sep 17 00:00:00 2001
From: Ntkskwk <natsukawa247@outlook.com>
Date: Tue, 3 Sep 2024 00:03:19 +0800
Subject: feat: add router-guards for site

---
 site/src/App.vue | 48 ++++--------------------------------------------
 1 file changed, 4 insertions(+), 44 deletions(-)

(limited to 'site/src/App.vue')

diff --git a/site/src/App.vue b/site/src/App.vue
index c70a3fa..88a4d52 100644
--- a/site/src/App.vue
+++ b/site/src/App.vue
@@ -1,47 +1,7 @@
-<script setup lang="ts">
-import Left from './components/Left.vue'
-import TheWelcome from './components/Right.vue'
-</script>
-
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/Hydroroll-small.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <Left msg="饼在画了！" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
+    <router-view />
 </template>
 
-<style scoped>
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-@media (min-width: 1024px) {
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-}
-</style>
+<script lang="ts">
+export default {}
+</script>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

