Changed index

This commit is contained in:
keplyx 2019-07-16 16:28:57 +02:00
parent 6fc4632654
commit 7604568e77
4 changed files with 52 additions and 128 deletions

View file

@ -96,20 +96,8 @@
margin: 0 5px 0 5px;
}
#main-score .score-usa, #main-score .score-urss /*#main-score .score-separator*/ {
font-size: 40px;
line-height: 80px;
}
/*#main-score .score-separator {
font-size: 55px;
}*/
#main-score .winning {
font-size: 50px;
}
@media screen and (max-width: 480px) {
@media screen and (max-width: 768px) {
#top-bar-score {
display: none;
}
@ -117,10 +105,7 @@
display: block;
}
#main-score .score-container a {
#main-score .score-container {
display: block;
}
#main-score .score-separator {
display: none;
}
}

View file

@ -335,21 +335,6 @@ Full-Width Styles
padding-top: 100px;
}
#home-content h1 {
color: white;
font-size: 70px;
border: none;
text-align: center;
text-shadow: 0 0 10px #000;
}
#home-content p {
color: white;
font-size: 30px;
text-align: center;
text-shadow: 0 0 5px #000;
}
.background {
background: url("../images/backgrounds/bg_up.jpg") no-repeat center fixed;
background-size: cover;
@ -499,7 +484,7 @@ Full-Width Styles
vertical-align: middle;
}
#home-subtitle {
#homeSubtitle {
text-shadow: 0 0 10px #000;
}
@ -518,8 +503,12 @@ Full-Width Styles
color: rgba(233, 184, 47, 0.8);
}
#main-link-container {
display: block;
#homeText {
color: white;
background-color: rgba(28, 28, 28, 0.7);
border-radius: 2rem;
padding: 10px;
box-shadow: 0 0 10px #1c1c1c;
}
.main-logo {

View file

@ -2,23 +2,26 @@
<div id="sidenav-scroll">
<a href="<?= $relativePath ?>index.php" id="index" class="page-link"><span class="sidenav-content"><i
class="fas fa-home sidenav-icon"></i> L'Accueil</span></a>
<div class="separator"></div>
<a href="<?= $relativePath ?>planning.php" id="planning" class="page-link"><span class="sidenav-content"><i
class="fas fa-calendar-alt sidenav-icon"></i> Le
Planning</span></a>
<a href="<?= $relativePath ?>wini.php" id="wini" class="page-link"><span class="sidenav-content"><i
class="fas fa-star sidenav-icon"></i> Le
WINI</span></a>
<a href="<?= $relativePath ?>map.php" id="map" class="page-link"><span class="sidenav-content"><i
class="fas fa-map sidenav-icon"></i> Le
Plan</span></a>
<a href="<?= $relativePath ?>blouse.php" id="blouse" class="page-link"><span class="sidenav-content"><i
class="fas fa-tshirt sidenav-icon"></i> La Blouse</span></a>
<a href="<?= $relativePath ?>parrainage.php" id="parrainage" class="page-link"><span class="sidenav-content"><i
class="fas fa-user-plus sidenav-icon"></i> Le
Parrainage</span></a>
<a href="<?= $relativePath ?>blouse.php" id="blouse" class="page-link"><span class="sidenav-content"><i
class="fas fa-tshirt sidenav-icon"></i> La Blouse</span></a>
<a href="<?= $relativePath ?>photos.php" id="photos" class="page-link"><span class="sidenav-content"><i
class="fas fa-camera sidenav-icon"></i> Les Photos</span></a>
<a href="<?= $relativePath ?>wini.php" id="wini" class="page-link"><span class="sidenav-content"><i
class="fas fa-star sidenav-icon"></i> Le
WINI</span></a>
<div class="separator"></div>
<a href="<?= $relativePath ?>glissefondor.php" id="gli" class="page-link"><span class="sidenav-content"><img
src="<?= $relativePath ?>assets/images/logos/gli_logo.png" class="sidenav-image"> Glissefondor </span></a>
<a href="<?= $relativePath ?>peksentard.php" id="pek" class="page-link"><span class="sidenav-content"><img
@ -29,13 +32,20 @@
src="<?= $relativePath ?>assets/images/logos/ver_logo.png" class="sidenav-image"> Verredaigle </span></a>
<a href="<?= $relativePath ?>stats.php" id="stats" class="page-link"><span class="sidenav-content"><i
class="fas fa-list-ol sidenav-icon"></i> Les Stats</span></a>
<div class="separator"></div>
<a href="<?= $relativePath ?>photos.php" id="photos" class="page-link"><span class="sidenav-content"><i
class="fas fa-camera sidenav-icon"></i> Les Photos</span></a>
<div class="separator"></div>
<a href="<?= $relativePath ?>coms.php" id="coms" class="page-link"><span class="sidenav-content"><i
class="fas fa-users sidenav-icon"></i> Les Com's</span></a>
<a href="<?= $relativePath ?>prevs.php" id="prevs" class="page-link"><span class="sidenav-content"><i
class="fas fa-medkit sidenav-icon"></i> La Prévention</span></a>
<a href="<?= $relativePath ?>downloads.php" id="downloads" class="page-link"><span class="sidenav-content"><i
class="fas fa-download sidenav-icon"></i> Téléchargements</span></a>
class="fas fa-download sidenav-icon"></i>Téléchargements</span></a>
<a href="<?= $relativePath ?>info.php" id="contact" class="page-link"><span class="sidenav-content"><i
class="fas fa-info sidenav-icon"></i> Les Infos</span></a>
</div>

110
index.php
View file

@ -50,92 +50,32 @@ require_once 'includes/score_functions.php';
$platformID = 'main-score';
include("includes/score_counter.php");
?>
<h4 id="home-subtitle">Semaine d'Accueil INSA Toulouse 2019</h4>
<div id="main-link-container">
<?php
$is_image = false;
<h3 id="homeSubtitle">Semaine d'Accueil INSA Toulouse 2019</h3>
<div id="homeText">
<p>
Bienvenue à l'INSA Toulouse jeune sorcier, pour ta magnifique semaine d'accueil.
Ce site est fait pour t'aider à quitter les moldus en toute sérénité.
</p>
<p>
Tu vas pouvoir trouver ici des informations générales sur ta semaine, comme
<a href="planning.php">Le Planning</a>,
<a href="map.php">Le Plan Du Campus</a>, des détails sur
<a href="parrainage.php">Le Parrainage</a>,
des directives concernant ta magnifique <a href="blouse.php">BLOUSE</a>, ou encore
<a href="wini.php">Le WINI</a>.
</p>
<h3>La coupe des 4 maisons</h3>
<p>
Si tu as reçu (et lu!) ta plaquette, tu sais que tu fais partie d'une maison:
<a href="glissefondor.php">Glissefondor</a>,
<a href="peksentard.php">Peksentard</a>,
<a href="boomsouffle.php">Boomsouffle</a>,
ou <a href="verredaigle.php">Verredaigle</a>.
<br>
<a href="stats.php">Fais gagner des points</a> à ta maison durant la semaine pour lui faire remporter la
coupe!
</p>
$link = "planning.php";
$icon = "fas fa-calendar-alt";
$text = "Le planning de ta semaine, sois au courant de tous les événements";
include("includes/main_button_template.php");
$link = "wini.php";
$icon = "fas fa-star";
$text = "Le WINI, le bouquet final de la semaine";
include("includes/main_button_template.php");
$link = "map.php";
$icon = "fas fa-map";
$text = "Le plan du campus, il est interactif et tout, comme ça tu peux pas te perdre";
include("includes/main_button_template.php");
$link = "parrainage.php";
$icon = "fas fa-user-plus";
$text = "Toutes les informations concernant le parrainage";
include("includes/main_button_template.php");
$link = "blouse.php";
$icon = "fas fa-tshirt";
$text = "La fameuse Blouse, habit officiel de l'INSA";
include("includes/main_button_template.php");
$link = "photos.php";
$icon = "fas fa-camera";
$text = "Les photos de la semaine (la tienne et la notre)";
include("includes/main_button_template.php");
$is_image = true;
$link = "glissefondor.php";
$icon = "assets/images/logos/gli_logo.png";
$text = "Glissefondor";
include("includes/main_button_template.php");
$is_image = true;
$link = "peksentard.php";
$icon = "assets/images/logos/pek_logo.png";
$text = "Peksentard";
include("includes/main_button_template.php");
$is_image = true;
$link = "boomsouffle.php";
$icon = "assets/images/logos/boo_logo.png";
$text = "Boomsouffle";
include("includes/main_button_template.php");
$is_image = true;
$link = "verredaigle.php";
$icon = "assets/images/logos/ver_logo.png";
$text = "Verredaigle";
include("includes/main_button_template.php");
$is_image = false;
$link = "stats.php";
$icon = "fas fa-list-ol";
$text = "Les stats de chaque équipe";
include("includes/main_button_template.php");
$is_image = false;
$link = "coms.php";
$icon = "fas fa-users";
$text = "Les différentes COM présentes pour assurer la pérénité de la semaine";
include("includes/main_button_template.php");
$link = "prevs.php";
$icon = "fas fa-medkit";
$text = "La prévention, pour éviter tout incident";
include("includes/main_button_template.php");
$link = "downloads.php";
$icon = "fas fa-download";
$text = "Les téléchargements, si t'as paumé une feuille";
include("includes/main_button_template.php");
$link = "info.php";
$icon = "fas fa-info";
$text = "Les informations supplémentaires, si tu veux tout savoir";
include("includes/main_button_template.php");
?>
</div>
<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Faccueil2018INSAT%2F&tabs=timeline&width=340&height=500&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=false&appId"
width="340" height="500" style="border:none;overflow:hidden;margin-top: " scrolling="no" frameborder="0"