diff --git a/index.html b/index.html index 8388c4b..537edad 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,11 @@ - + - Vite + Vue + Practicum of Attacking and Defense of Network Security +
diff --git a/src/App.vue b/src/App.vue index 6a6cd2d..99f3df8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,25 @@ \ No newline at end of file diff --git a/src/assets/avatar.png b/src/assets/avatar.png new file mode 100644 index 0000000..678e54e Binary files /dev/null and b/src/assets/avatar.png differ diff --git a/src/assets/user.png b/src/assets/user.png new file mode 100644 index 0000000..e836fb3 Binary files /dev/null and b/src/assets/user.png differ diff --git a/src/assets/vue.svg b/src/assets/vue.svg deleted file mode 100644 index 770e9d3..0000000 --- a/src/assets/vue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/Board/BoardForm.vue b/src/components/Board/BoardForm.vue new file mode 100644 index 0000000..b7d072e --- /dev/null +++ b/src/components/Board/BoardForm.vue @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/src/components/Board/BoardMessage.vue b/src/components/Board/BoardMessage.vue new file mode 100644 index 0000000..52f074b --- /dev/null +++ b/src/components/Board/BoardMessage.vue @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/src/components/Footer.vue b/src/components/Footer.vue new file mode 100644 index 0000000..341411b --- /dev/null +++ b/src/components/Footer.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 546ebbc..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/src/components/Home/BlankSlate.vue b/src/components/Home/BlankSlate.vue new file mode 100644 index 0000000..45db685 --- /dev/null +++ b/src/components/Home/BlankSlate.vue @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue new file mode 100644 index 0000000..ec208dd --- /dev/null +++ b/src/components/Navbar.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 27ea86d..d5aa0d2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,11 +1,20 @@ import { createRouter, createWebHistory } from 'vue-router'; import HomeView from '../views/HomeView.vue'; +import BoardView from '../views/BoardView.vue'; const routes = [ { path: '/', name: 'Home', component: HomeView + }, + { + path: '/board', + name: 'Board', + component: BoardView, + meta: { + keepAlive: true + } } ]; diff --git a/src/style.css b/src/style.css index f691315..e69de29 100644 --- a/src/style.css +++ b/src/style.css @@ -1,79 +0,0 @@ -:root { - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/src/views/BoardView.vue b/src/views/BoardView.vue index e69de29..73b1ddd 100644 --- a/src/views/BoardView.vue +++ b/src/views/BoardView.vue @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 379810b..d78cb44 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,30 +1,19 @@