lots of small improvements, new pages, added htaccess for url rewriting

master
Adrien W 4 years ago
parent 1d1c42d91b
commit 4d5de94f8b

@ -1,5 +1,13 @@
# Apache rules
RewriteEngine On RewriteEngine On
RewriteRule ^index\.html$ /index.php [L] RewriteRule ^index\.html$ /index.php [L]
RewriteRule ^cgu\.html$ /cgu.php [L] RewriteRule ^cgu\.html$ /cgu.php [L]
RewriteRule ^interventions\.html$ /interventions.php [L] RewriteRule ^interventions\.html$ /interventions.php [L]
RewriteRule ^solutions\.html$ /solutions.php [L] RewriteRule ^solutions\.html$ /solutions.php [L]
# nginx rules
#rewrite ^index\.html$ /index.php last
#rewrite ^cgu\.html$ /cgu.php last
#rewrite ^interventions\.html$ /interventions.php last
#rewrite ^solutions\.html$ /solutions.php last

@ -68,24 +68,31 @@ body {
font-size: 1em; font-size: 1em;
} }
.clawd a { .clawd p a {
color: var(--tartorange); color: var(--tartorange);
text-decoration: none; text-decoration: none;
border-bottom: 1px solid var(--tartorange); border-bottom: 1px solid var(--tartorange);
} }
.clawd a:hover { .clawd p a:hover {
color: #000000; color: #000000;
background-color: var(--yellowryb); background-color: var(--yellowryb);
text-decoration: none; text-decoration: none;
} }
.clawd #mainmenu a.item {
font-family: var(--textfont);
font-weight: bolder;
}
.clawd #mainmenu a.item.active {
border-bottom-color: var(--tartorange);
}
.clawd .footer a { .clawd .footer a {
border-bottom: none;
} }
.clawd .footer a:hover { .clawd .footer a:hover {
background-color: transparent;
color: var(--yellowryblighter) !important; color: var(--yellowryblighter) !important;
} }

@ -1,4 +1,4 @@
<div class="ui container"> <div class="ui container" id="mainmenu">
<div class="ui large secondary inverted pointing menu"> <div class="ui large secondary inverted pointing menu">
<a class="toc item"> <a class="toc item">
<i class="sidebar icon"></i> <i class="sidebar icon"></i>
@ -11,13 +11,5 @@
} }
?> ?>
<a href="#" class="ui right floated dropdown item">
Aide <i class="dropdown icon"></i>
<div class="menu">
<div class="item">FAQ</div>
<div class="item">Support</div>
<div class="item">Documentation</div>
</div>
</a>
</div> </div>
</div> </div>

@ -1,24 +1,24 @@
<!-- Following Menu --> <!-- Following Menu -->
<div class="ui large top fixed hidden menu"> <div class="ui large top fixed hidden menu">
<div class="ui container"> <div class="ui container">
<a class="active item">Accueil</a> <?php
<a class="item" href="solutions.html">Nextcloud</a> foreach ($mainMenu as $item) {
<a href="#" class="ui right floated dropdown item"> $active = $currentPage==$item? 'active ': '';
Aide <i class="dropdown icon"></i> echo '
<div class="menu"> <a class="'.$active.'item" href="'.$item['key'].'.html" target="_self">'.$item['name'].'</a>';
<div class="item">FAQ</div> }
<div class="item">Support</div> ?>
<div class="item">Documentation</div>
</div>
</a>
</div> </div>
</div> </div>
<!-- Sidebar Menu --> <!-- Sidebar Menu -->
<div class="ui vertical inverted sidebar menu"> <div class="ui vertical inverted sidebar menu">
<a class="active item">Accueil</a> <?php
<a class="item" href="solutions.html">Nextcloud</a> foreach ($mainMenu as $item) {
<a class="item">FAQ</a> $active = $currentPage==$item? 'active ': '';
<a class="item">Support</a> echo '
<a class="item">Documentation</a> <a class="'.$active.'item" href="'.$item['key'].'.html" target="_self">'.$item['name'].'</a>';
}
?>
</div> </div>

@ -25,7 +25,6 @@ $currentPage = $pages['index'];
<h1 class="ui header" id="logo">CLAWD.FR</h1> <h1 class="ui header" id="logo">CLAWD.FR</h1>
<h2>HÉBERGEUR ENGAGÉ</h2> <h2>HÉBERGEUR ENGAGÉ</h2>
<span class="intro">Vous avez des besoins en stockage de fichiers en ligne?<br>Vous voulez sortir des griffes des GAFAM sans vous ruiner?<br>Vous êtes au bon endroit, laissez-vous guider!</span> <span class="intro">Vous avez des besoins en stockage de fichiers en ligne?<br>Vous voulez sortir des griffes des GAFAM sans vous ruiner?<br>Vous êtes au bon endroit, laissez-vous guider!</span>
<div class="ui huge primary button">Dites-moi tout <i class="right arrow icon"></i></div>
</div> </div>
</div> </div>

Loading…
Cancel
Save