feat: add universes

This commit is contained in:
Kazhnuz 2020-03-28 10:17:45 +01:00
parent 04eaa31a8d
commit 3b5f3a02a1
16 changed files with 307 additions and 12 deletions

11
dist/apropos.html vendored
View file

@ -15,10 +15,10 @@
<!-- framework utilisés -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amatic+SC&display=swap" rel="stylesheet">
<link href="dep/spectre/css/spectre.min.css" rel="stylesheet">
<link href="dep/fork-awesome/css/fork-awesome.css" rel="stylesheet">
<link href="/dep/spectre/css/spectre.min.css" rel="stylesheet">
<link href="/dep/fork-awesome/css/fork-awesome.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<link href="/style.css" rel="stylesheet">
</head>
@ -27,7 +27,7 @@
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1><a href="/"><img src="img/logo.png" alt="Kazhnuz"/></a></h1>
<h1><a href="/"><img src="/img/logo.png" alt="Kazhnuz"/></a></h1>
</div>
<div class="column col-md-6">
@ -140,7 +140,8 @@
<div class="card card-primary">
<div class="card-header"><i class="fa fa-earth-o"></i> Sites</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/blog" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/univers" class="menu-element"><span class="trim-that">Mes univers</span></a>
<a href="https://rulebook.chlore.net" class="menu-element"><span class="trim-that">Rulebook</span></a>
<a href="https://git.chlore.net" class="menu-element"><span class="trim-that">Gitea</span></a>
</div>

11
dist/index.html vendored
View file

@ -15,10 +15,10 @@
<!-- framework utilisés -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amatic+SC&display=swap" rel="stylesheet">
<link href="dep/spectre/css/spectre.min.css" rel="stylesheet">
<link href="dep/fork-awesome/css/fork-awesome.css" rel="stylesheet">
<link href="/dep/spectre/css/spectre.min.css" rel="stylesheet">
<link href="/dep/fork-awesome/css/fork-awesome.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<link href="/style.css" rel="stylesheet">
</head>
@ -28,7 +28,7 @@
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1><a href="/"><img src="img/logo.png" alt="Kazhnuz"/></a></h1>
<h1><a href="/"><img src="/img/logo.png" alt="Kazhnuz"/></a></h1>
</div>
<div class="column col-md-6">
@ -114,7 +114,8 @@
<div class="card card-primary">
<div class="card-header"><i class="fa fa-earth-o"></i> Sites</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/blog" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/univers" class="menu-element"><span class="trim-that">Mes univers</span></a>
<a href="https://rulebook.chlore.net" class="menu-element"><span class="trim-that">Rulebook</span></a>
<a href="https://git.chlore.net" class="menu-element"><span class="trim-that">Gitea</span></a>
</div>

3
dist/univers/erratum/README.md vendored Normal file
View file

@ -0,0 +1,3 @@
# Headline
> An awesome project.

21
dist/univers/erratum/index.html vendored Normal file
View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: '',
repo: ''
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>

3
dist/univers/frontieres/README.md vendored Normal file
View file

@ -0,0 +1,3 @@
# Headline
> An awesome project.

21
dist/univers/frontieres/index.html vendored Normal file
View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nouvelle Frontière</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: 'Nouvelle Frontière',
repo: ''
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>

138
dist/univers/index.html vendored Normal file
View file

@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Blue Sky, by Kazhnuz</title>
<!-- meta -->
<meta name="description" content="">
<meta name="author" content="">
<!-- mon icon -->
<link rel="shortcut icon" href="img/favicon.png">
<!-- framework utilisés -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amatic+SC&display=swap" rel="stylesheet">
<link href="/dep/spectre/css/spectre.min.css" rel="stylesheet">
<link href="/dep/fork-awesome/css/fork-awesome.css" rel="stylesheet">
<link href="/style.css" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1><a href="/"><img src="/img/logo.png" alt="Kazhnuz"/></a></h1>
</div>
<div class="column col-md-6">
<nav class="navbar">
<section class="navbar-section">
</section>
<section class="navbar-section">
<a href="/blog" class="btn btn-link">Blog</a>
<a href="/crea.html" class="btn btn-link">Gallerie</a>
<a href="/apropos.html" class="btn btn-link">A propos</a>
</section>
</nav>
</div>
</div>
</header>
<div class="container-blog" id="page-content">
<main class="mainpane">
<section class="card card-info">
<div class="card-header">Mes univers</div>
<div class="card-menu">
<a href="/univers/erratum" class="menu-element">
Erratum
</a>
<a href="/univers/frontieres" class="menu-element">
Nouvelle[s] Frontière[s]
</a>
</div>
</section>
</main>
<section class="sidebar">
<div class="card card-primary">
<div class="card-header">Cémwha</div>
<p class="mwarea"><img src="https://kazhnuz.space/data/medias/spritemwah.png" alt="Une armée de cochon regarde de manière menaçante." class="mwaimg" /></p>
<table style="width:100%" class="table-primary">
<tr>
<th>PSEUDO</th>
<td>Kazhnuz</td>
</tr>
<tr>
<th>Age</th>
<td>26</td>
</tr>
<tr>
<th>Pronoms</th>
<td>iel/il</td>
</tr>
<tr>
<th>OS</th>
<td>Fedora</td>
</tr>
<tr>
<th>Outils</th>
<td>LibreOffice & Krita</td>
</tr>
</table>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-earth-o"></i> Sites</div>
<div class="card-menu">
<a href="/blog" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/univers" class="menu-element"><span class="trim-that">Mes univers</span></a>
<a href="https://rulebook.chlore.net" class="menu-element"><span class="trim-that">Rulebook</span></a>
<a href="https://git.chlore.net" class="menu-element"><span class="trim-that">Gitea</span></a>
</div>
</div>
</section>
</div>
</div>
<footer>
<ul class="social">
<li class="social-li"><a class="social-link" href="https://twitter.com/kazhnuz" alt="Twitter"><i class="fa fa-fw fa-twitter"></i></a></li>
<li class="social-li"><a class="social-link" href="https://octodon.social/users/kazhnuz" alt="Mastodon"><i class="fa fa-fw fa-mastodon"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Diaspora"><i class="fa fa-fw fa-diaspora"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="DeviantART"><i class="fa fa-fw fa-deviantart"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Github"><i class="fa fa-fw fa-github"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Gitlab"><i class="fa fa-fw fa-gitlab"></i></a></li>
</ul>
<div class="columns">
<div class="column">
<p>Ce theme est diffusé sous licence <strong>Creative Common Attribution - Partage à l'Identique 4.0</strong> - hors mention contraire.</p>
<p>Cette licence vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! <i style="color:#FF0000" class="fa fa-heart"></i></p>
</div>
<div class="column">
<p>Theme réalisé avec le quadriciel <a href="https://getbootstrap.com/">Bootstrap4</a> et la banque d'icone <a href="https://forkawesome.github.io/Fork-Awesome/">Fork-Awesome</a>.</p>
</div>
<div class="column">
<p>Connection à <a href="admin/connection.html">l'interface administrateur</a></p>
</div>
</div>
</footer>
<script src="js/trim.js"></script>
</body>
</html>

View file

@ -11,6 +11,12 @@ function html() {
.pipe(dest('dist'))
}
function htmlunivers() {
return src('src/static/univers/*.html')
.pipe(include())
.pipe(dest('dist/univers'))
}
function css() {
return src('src/scss/style.scss')
.pipe(sass().on('error', sass.logError))
@ -32,9 +38,14 @@ function assets() {
.pipe(dest('dist'));
}
function univers() {
return src(['src/univers/**/*'])
.pipe(dest('dist/univers'));
}
exports.html = html;
exports.css = css;
exports.js = js;
exports.dep = dep;
exports.assets = assets;
exports.default = parallel(html, css, js, dep, assets);
exports.default = parallel(html, css, js, dep, assets, htmlunivers, univers);

View file

@ -28,7 +28,8 @@
<div class="card card-primary">
<div class="card-header"><i class="fa fa-earth-o"></i> Sites</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/blog" class="menu-element"><span class="trim-that">Blog</span></a>
<a href="/univers" class="menu-element"><span class="trim-that">Mes univers</span></a>
<a href="https://rulebook.chlore.net" class="menu-element"><span class="trim-that">Rulebook</span></a>
<a href="https://git.chlore.net" class="menu-element"><span class="trim-that">Gitea</span></a>
</div>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Blue Sky, by Kazhnuz</title>
<!-- meta -->
<meta name="description" content="">
<meta name="author" content="">
<!--=include ../includes/_links.html -->
</head>
<body>
<div id="wrapper">
<!--=include ../includes/_header.html -->
<div class="container-blog" id="page-content">
<main class="mainpane">
<section class="card card-info">
<div class="card-header">Mes univers</div>
<div class="card-menu">
<a href="/univers/erratum" class="menu-element">
Erratum
</a>
<a href="/univers/frontieres" class="menu-element">
Nouvelle[s] Frontière[s]
</a>
</div>
</section>
</main>
<section class="sidebar">
<!--=include ../includes/components/_sidebar.html -->
</section>
</div>
</div>
<!--=include ../includes/_footer.html -->
<script src="js/trim.js"></script>
</body>
</html>

View file

View file

@ -0,0 +1,3 @@
# Headline
> An awesome project.

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: '',
repo: ''
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>

View file

View file

@ -0,0 +1,3 @@
# Headline
> An awesome project.

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nouvelle Frontière</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: 'Nouvelle Frontière',
repo: ''
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>