Commit d559cbad authored by thibaut-felten's avatar thibaut-felten

Stats + Profile

parent 1fcd4e6f
...@@ -15,8 +15,11 @@ ...@@ -15,8 +15,11 @@
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center; text-align: center;
background-image: linear-gradient(to bottom, #fff1eb 0%, #ace0f9 100%); background-image: url('assets/img/panda.jpg');
background-position-x: right;
background-position-y: bottom;
height: 100vh; height: 100vh;
} }
*{ *{
......
frontend/src/assets/img/panda.jpg

9.15 KB | W: | H:

frontend/src/assets/img/panda.jpg

36.8 KB | W: | H:

frontend/src/assets/img/panda.jpg
frontend/src/assets/img/panda.jpg
frontend/src/assets/img/panda.jpg
frontend/src/assets/img/panda.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -4,7 +4,7 @@ import router from './router' ...@@ -4,7 +4,7 @@ import router from './router'
Vue.config.productionTip = false Vue.config.productionTip = false
sessionStorage.setItem('APIURL', 'http://localhost/felten/projet-cdaw/backend/MVC/api.php') sessionStorage.setItem('APIURL', 'http://localhost/projet-cdaw/backend/MVC/api.php')
new Vue({ new Vue({
router, router,
......
...@@ -4,14 +4,6 @@ import VueRouter from 'vue-router' ...@@ -4,14 +4,6 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter) Vue.use(VueRouter)
const routes = [ const routes = [
{
path: '/about',
name: 'About',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
},
{ {
path: '/', path: '/',
name: 'Accueil', name: 'Accueil',
......
<template>
<div class="about">
<h1>This is an about page</h1>
<v-icon name="beer"/>
</div>
</template>
<script>
export default {
name: 'About',
components: {
'v-icon': Icon
}
}
import 'vue-awesome/icons'
import Icon from 'vue-awesome/components/Icon'
</script>
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
"GAME_ID": game.id "GAME_ID": game.id
} }
await fetch( await fetch(
`http://localhost/felten/projet-cdaw/backend/MVC/api.php/online/${user.id}`, sessionStorage.getItem('APIURL') + `/online/${user.id}`,
{ {
method: "DELETE", method: "DELETE",
body : JSON.stringify(data) body : JSON.stringify(data)
......
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
"GAME_ID": game.id "GAME_ID": game.id
} }
await fetch( await fetch(
`http://localhost/felten/projet-cdaw/backend/MVC/api.php/online/${user.id}`, sessionStorage.getItem('APIURL') + `/online/${user.id}`,
{ {
method: "DELETE", method: "DELETE",
body : JSON.stringify(data) body : JSON.stringify(data)
......
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