Mise a jour et Merging

This commit is contained in:
Emmanuel ROY 2021-01-06 17:36:53 +01:00
commit 28ac2bef9a
6 changed files with 116 additions and 2 deletions

View file

@ -0,0 +1,7 @@
<?php
use MVC\Classe\Logger;
$templateData = array("templating_a" => 'blade', "templating_b" => 'twig', "templating_c" => 'edge');
Logger::addLog('ok', 'Hello world');

View file

@ -0,0 +1,5 @@
name : beers
page_title : module_title
description : module_description
params : module_params

View file

@ -9,7 +9,7 @@
<div class="container">
<ul class="top-menu">
<li @if($name == 'docs_route' || $name == 'docs_name_route') class="actual" @endif ><a href="{{ \MVC\Classe\Url::link_rewrite( false, 'docs', []) }}">Documentation</a></li>
<li @if($name == 'depots') class="actual" @endif ><a href="{{ \MVC\Classe\Url::link_rewrite( false, 'gitlist/SAND-FrameWork', []) }}">Dépot</a></li>
<li @if($name == 'depots') class="actual" @endif ><a href="{{ \MVC\Classe\Url::link_rewrite( false, 'gitlist/SAND-FrameWork', []) }}">Dépot</a></li>
<li @if($name == 'donate') class="actual" @endif ><a href="{{ \MVC\Classe\Url::link_rewrite( false, 'Donate', []) }}">Donate</a></li>
<li @if($name == 'cgu') class="actual" @endif ><a href="{{ \MVC\Classe\Url::link_rewrite( false, 'CGU', []) }}"> CGU Terms</a></li>
<li @if($name == 'policy') class="actual" @endif ><a href="{{ \MVC\Classe\Url::link_rewrite( false, 'Policy', []) }}">Policy</a></li>

View file

@ -0,0 +1,38 @@
@extends('body')
@section('sidebar')
@parent
<p>This is appended to the master sidebar.</p>
@endsection
@section('content')
<h2 class="section-title" id="donate">Buy me some beers</h2>
<div class="donate-container">
<div class="donate-description">
<p>
SAND FrameWork is an CC Universal-licensed open source project and completely free to use.
</p>
<p>
However, the amount of effort needed to maintain and develop new features for the project is not
sustainable
without proper financial backing.
You can support its ongoing development by being a backer or a sponsor on
<a href="https://www.patreon.com/"> Patreon campaign</a>
(recurring, with perks for different tiers), and get your company logo here.
</p>
<p>
Also, you can make a <a href="https://www.paypal.me/">one time donation via PayPal</a>.
</p>
</div>
<div class="donate-footer">
<a href="https://www.patreon.com/" class="beer-button button-ghost">Be a sponsor on Patreon</a>
<a href="https://www.paypal.me/" class="beer-button button-secondary">Donate via PayPal</a>
</div>
<img src="assets/img/beer.svg" alt="" class="donate-beer">
</div>
@endsection

View file

@ -14,4 +14,4 @@
<p>3. Ce Framework sera publié en open-source sous <a href="https://creativecommons.org/publicdomain/zero/1.0/deed.fr">licence CC Universal</a>, <a href="https://creativecommons.org/licenses/by/4.0/deed.fr">licence CC-by-SA</a> ou <a href="https://choosealicense.com/licenses/mit/">MIT Licence</a> suivant la disponibilité de l'auteur, ainsi que les licences le composant. </p>
<br/>
</div>
@endsection
@endsection

View file

@ -0,0 +1,64 @@
.section-title {
text-align:center;
font-family:Panton,sans-serif;
font-size:100px;
color:#ff974a;
padding-top:100px;
padding-bottom:30px
}
.donate-container {
position: relative;
max-width: 800px;
margin: 0 auto;
}
.donate-container .donate-beer {
position: absolute;
left: -190px;
bottom: -30px;
width: 250px;
}
.donate-container .button:focus, .donate-container .button:hover {
text-decoration: none;
background: #fff;
color: #ff974a;
}
.button-secondary {
background: #f48d40;
}
.beer-button {
display: inline-block;
position: relative;
width: 250px;
border: 2px solid transparent;
margin: 0 auto;
margin-left: auto;
padding: 23px 30px;
color: #fff;
font-weight: 400;
font-size: 16px;
line-height: 1.2;
text-decoration: none;
border-radius: 50px;
text-align: center;
-webkit-transition: color 150ms,background-color 150ms;
-o-transition: color 150ms,background-color 150ms;
transition: color 150ms,background-color 150ms;
}
.donate-container .donate-description {
width: 100%;
padding: 30px 50px 50px;
background: #f4f7fa;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.donate-container .donate-footer {
text-align: center;
padding: 30px 50px 50px;
background: #ff974a -webkit-gradient(linear,right top,left bottom,from(#ff974a),to(#ffb864));
background: #ff974a -webkit-linear-gradient(top right,#ff974a,#ffb864);
background: #ff974a -o-linear-gradient(top right,#ff974a,#ffb864);
background: #ff974a linear-gradient(to bottom left,#ff974a,#ffb864);
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
width: 100%;
}