diff --git a/.gitignore b/.gitignore index a547bf3..16cc96f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ dist-ssr *.njsproj *.sln *.sw? + +# Firebase +.firebase/ \ No newline at end of file diff --git a/src/components/Layout.vue b/src/components/Layout.vue index 08bee34..fdfc54b 100644 --- a/src/components/Layout.vue +++ b/src/components/Layout.vue @@ -1,4 +1,6 @@ @@ -8,10 +10,18 @@ import TopBar from "@/components/TopBar.vue";
-
+

- Dashboard + {{ $route.meta.title }}

+ + + Back +
diff --git a/src/components/TopBar.vue b/src/components/TopBar.vue index 6091ce6..6bb2a59 100644 --- a/src/components/TopBar.vue +++ b/src/components/TopBar.vue @@ -27,7 +27,7 @@ const signOut = async () => {
-
+
Your Company
@@ -35,7 +35,7 @@ const signOut = async () => { Project Graveyard -
+
diff --git a/src/main.ts b/src/main.ts index edcc391..b19f1ff 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,14 +14,31 @@ const router = createRouter({ components: { default: HomeVue, }, + meta: { + title: "Home", + }, }, { path: "/login", component: () => import("./views/Login.vue"), + meta: { + title: "Login", + }, }, { path: "/register", component: () => import("./views/Registration.vue"), + meta: { + title: "Registration", + }, + }, + { + path: "/projects/:id", + component: () => import("./views/Project.vue"), + meta: { + title: "Project", + showBack: true, + }, }, ], }); diff --git a/src/views/Project.vue b/src/views/Project.vue new file mode 100644 index 0000000..103e8a3 --- /dev/null +++ b/src/views/Project.vue @@ -0,0 +1 @@ +