Commit edbc0db7 authored by raphael.peim's avatar raphael.peim

Create Profile.vue

parent 005cac1b
......@@ -24,7 +24,7 @@
</b-nav-item-dropdown>
<b-nav-item-dropdown text="Utilisateur" right>
<b-dropdown-item><router-link to="">Profil</router-link></b-dropdown-item>
<b-dropdown-item><router-link to="/profile">Profil</router-link></b-dropdown-item>
<b-dropdown-item @click="onClick"><router-link to="">Déconnexion</router-link></b-dropdown-item>
</b-nav-item-dropdown>
</b-navbar-nav>
......
......@@ -8,6 +8,7 @@ import GameChoice from '../views/GameChoice'
import GameCreate from '../views/GameCreate'
import GameJoin from '../views/GameJoin'
import Game from '../views/Game'
import Profile from '../views/Profile'
Vue.use(VueRouter)
......@@ -51,6 +52,11 @@ const routes = [
path: '/game',
name: 'Game',
component: Game
},
{
path: '/profile',
name: 'Profile',
component: Profile
}
]
......
<template>
<div class="body">
<Navbar/>
<div class="container d-flex justify-content-center">
<div class="card shadow mb-4">
<h5 class="card-header text-primary">Vos informations</h5>
<div class="card-body" style="width : 500px;">
</div>
</div>
</div>
</div>
</template>
<script>
import Navbar from '@/components/Navbar'
export default {
name: 'GameChoice',
components: {
Navbar
}
}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment