C'est tellement compliqué.
:^)
This commit is contained in:
BIN
client/public/img/bg1.png
Normal file
BIN
client/public/img/bg1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -4,8 +4,13 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<link rel="icon" href="<%= BASE_URL %>img/favicon.ico">
|
||||
<title>Spellsaurus</title>
|
||||
<link rel="stylesheet" href="<%= BASE_URL %>libs/bootstrap.min.css">
|
||||
<script src="<%= BASE_URL %>libs/jquery-3.3.1.min.js"></script>
|
||||
<script src="<%= BASE_URL %>libs/popper.min.js"></script>
|
||||
<script src="<%= BASE_URL %>libs/bootstrap.min.js"></script>
|
||||
<link rel="stylesheet" href="<%= BASE_URL %>libs/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
||||
1
client/public/libs/bootstrap.min.css
vendored
Normal file
1
client/public/libs/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
7
client/public/libs/bootstrap.min.js
vendored
Normal file
7
client/public/libs/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
client/public/libs/clipboard.min.js
vendored
Normal file
7
client/public/libs/clipboard.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
client/public/libs/jquery-3.3.1.min.js
vendored
Normal file
2
client/public/libs/jquery-3.3.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
client/public/libs/masonry-4.2.2.min.js
vendored
Normal file
9
client/public/libs/masonry-4.2.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
client/public/libs/material-design-icons.woff2
Normal file
BIN
client/public/libs/material-design-icons.woff2
Normal file
Binary file not shown.
5
client/public/libs/popper.min.js
vendored
Normal file
5
client/public/libs/popper.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
63
client/public/libs/style.css
Normal file
63
client/public/libs/style.css
Normal file
@@ -0,0 +1,63 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap&subset=cyrillic,latin-ext');
|
||||
@font-face {
|
||||
font-family: "stgeorge";
|
||||
src: url("/public/resources/stgeorge.woff2") format("woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
.word-break{
|
||||
word-wrap: break-word;
|
||||
}
|
||||
/*img.emoji {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
margin: 0 .05em 0 .1em;
|
||||
vertical-align: -0.1em;
|
||||
}*/
|
||||
.cursor-pointer{
|
||||
cursor: pointer;
|
||||
}
|
||||
.font-display{ font-family: 'Playfair Display', serif; }
|
||||
.font-weight-100{ font-weight: 100; }
|
||||
.font-weight-200{ font-weight: 200; }
|
||||
.font-weight-300{ font-weight: 300; }
|
||||
.font-weight-400{ font-weight: 400; }
|
||||
.font-weight-500{ font-weight: 500; }
|
||||
.font-weight-600{ font-weight: 600; }
|
||||
.font-weight-700{ font-weight: 700; }
|
||||
.font-weight-800{ font-weight: 800; }
|
||||
.font-weight-900{ font-weight: 900; }
|
||||
/*.pfp{
|
||||
background: #f8f9fa;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.pfp-32{ height:32px; width:32px; }
|
||||
.pfp-64{ height:64px; width:64px; }
|
||||
.pfp-128{ height:128px; width:128px; }
|
||||
.pfp-256{ height:256px; width:256px; }*/
|
||||
.max-540{ max-width: 540px; }
|
||||
.max-720{ max-width: 720px; }
|
||||
.max-960{ max-width: 960px; }
|
||||
.max-1140{ max-width: 1140px; }
|
||||
.line-height-100{ line-height: 100%; }
|
||||
@font-face{
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://fonts.gstatic.com/s/materialicons/v50/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
|
||||
}
|
||||
.mad{
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
line-height: 1;
|
||||
transform: translateY(12.5%);
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-feature-settings: 'liga';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
@@ -1,43 +1,56 @@
|
||||
<template>
|
||||
<nav class="navbar navbar-dark">
|
||||
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
|
||||
<a class="navbar-brand font-display font-weight-700" href="#">Auracle</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav mr-auto" v-if="links.length != 0">
|
||||
<li class="nav-item" v-for="(link, index) in links" :key="index">
|
||||
<router-link v-bind:to="link.url" class="nav-link">{{ link.text }}</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<!--<nav class="navbar navbar-dark">
|
||||
<ul v-if="links.length != 0">
|
||||
<li v-for="(link, index) in links" :key="index">
|
||||
<router-link v-bind:to="link.url">{{ link.text }}</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</nav>-->
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'navbar',
|
||||
data() {
|
||||
return {
|
||||
links: [
|
||||
{
|
||||
id: 0,
|
||||
text: 'Accueil',
|
||||
url: '/',
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
text: 'Sortilèges',
|
||||
url: '/spells',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: 'Monde',
|
||||
url: '/world',
|
||||
},
|
||||
]
|
||||
export default {
|
||||
name: 'navbar',
|
||||
data() {
|
||||
return {
|
||||
links: [
|
||||
{
|
||||
id: 0,
|
||||
text: 'Accueil',
|
||||
url: '/',
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
text: 'Sortilèges',
|
||||
url: '/spells',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: 'Monde',
|
||||
url: '/world',
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
/*
|
||||
nav {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
@@ -109,4 +122,5 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
</style>
|
||||
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
/*
|
||||
.spell-card {
|
||||
max-width: 35rem;
|
||||
padding: .5rem;
|
||||
@@ -204,5 +204,5 @@ export default {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
</style>
|
||||
@@ -10,6 +10,8 @@ Vue.use(VueRouter)
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes,
|
||||
linkActiveClass: "",
|
||||
linkExactActiveClass: "active",
|
||||
});
|
||||
|
||||
const app = new Vue({
|
||||
|
||||
Reference in New Issue
Block a user