- Added timeline page
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
{
|
||||
text: 'Écoles',
|
||||
url: '/ecoles',
|
||||
},
|
||||
{
|
||||
text: 'Chronologie',
|
||||
url: '/ages',
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
15
client/src/pages/timelines/timeline-page.vue
Normal file
15
client/src/pages/timelines/timeline-page.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<div class="container-fluid p-4" id="spell-container">
|
||||
<h1 class="display-3 font-display mb-3">Chronologie</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'timeline-page',
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -10,6 +10,8 @@ import SpellSingle from "~/pages/spells/single-spell-page"
|
||||
import Schools from "./pages/schools/schools-page"
|
||||
import SchoolSingle from "~/pages/schools/single-school-page"
|
||||
|
||||
import Timeline from "./pages/timelines/timeline-page"
|
||||
|
||||
import Login from "~/pages/user/login-page"
|
||||
import Register from "~/pages/user/register-page"
|
||||
import Profile from "~/pages/user/profile-page"
|
||||
@@ -56,6 +58,10 @@ const routes = [
|
||||
component: SchoolSingle,
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: '/ages',
|
||||
component: Timeline,
|
||||
},
|
||||
{
|
||||
path: '/profil',
|
||||
component: Profile,
|
||||
|
||||
Reference in New Issue
Block a user