Skip to content

Commit

Permalink
Home Page for Quiz Engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Arya authored and Arya committed Oct 11, 2023
1 parent 32cbfc6 commit 8e5a53b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/LandingPage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<template>
<div class="grid h-screen place-items-center">
<p class="text-5xl">Welcome to AF Quiz Engine</p>
</div>
</template>

<script lang="ts">
export default {
name: "LandingPage",
};
</script>
6 changes: 6 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ const routes = [
import(/* webpackChunkName: "error" */ "@/views/Error.vue"),
props: { type: "403" },
},
{
path: "/",
name: "LandingPage",
component: () =>
import("@/components/LandingPage.vue")
},
{
// refer to: https://stackoverflow.com/a/64186073/7870587
path: "/:pathMatch(.*)*",
Expand Down

0 comments on commit 8e5a53b

Please sign in to comment.