move admin component files and add rowing component
This commit is contained in:
@@ -17,7 +17,7 @@ const router = createRouter({
|
|||||||
{
|
{
|
||||||
path: "/admin",
|
path: "/admin",
|
||||||
name: "admin",
|
name: "admin",
|
||||||
component: () => import("../views/Admin.vue"),
|
component: () => import("../views/admin/Admin.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/bookmarks",
|
path: "/bookmarks",
|
||||||
|
|||||||
@@ -2,11 +2,12 @@
|
|||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import { useAuthStore } from "@/stores/auth";
|
import { useAuthStore } from "@/stores/auth";
|
||||||
|
|
||||||
import Login from "@/components/admin/Login.vue";
|
import Login from "./Login.vue";
|
||||||
import CreateUser from "@/components/admin/CreateUser.vue";
|
import CreateUser from "./CreateUser.vue";
|
||||||
import CreatePost from "@/components/admin/CreatePost.vue";
|
import CreatePost from "./CreatePost.vue";
|
||||||
import CreateFavorite from "@/components/admin/CreateFavorite.vue";
|
import CreateFavorite from "./CreateFavorite.vue";
|
||||||
import CreateActivity from "@/components/admin/CreateActivity.vue";
|
import CreateActivity from "./CreateActivity.vue";
|
||||||
|
import CreateRowing from "./CreateRowing.vue";
|
||||||
|
|
||||||
const auth = useAuthStore();
|
const auth = useAuthStore();
|
||||||
</script>
|
</script>
|
||||||
@@ -21,6 +22,7 @@ const auth = useAuthStore();
|
|||||||
<CreatePost class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
<CreatePost class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
||||||
<CreateFavorite class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
<CreateFavorite class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
||||||
<CreateActivity class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
<CreateActivity class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
||||||
|
<CreateRowing class="bdr-2 bg-bg_primary" v-if="auth.loggedIn" />
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
13
nginx/vue/src/views/admin/CreateRowing.vue
Normal file
13
nginx/vue/src/views/admin/CreateRowing.vue
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<script setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="flex flex-col gap-2">
|
||||||
|
<h1>Create Rowing</h1>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user