page des coms

This commit is contained in:
Baptiste 2022-06-23 21:54:23 +02:00
parent 816e3baa98
commit 74bcca19d9
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,20 @@
a {
text-decoration: none;
}
a span {
display: block;
background-color: rgba(255,255,255,0.5);
color: black;
padding: 20px;
margin: 30px;
font-size: 1.5rem;
margin-left: auto;
margin-right: auto;
width: 50vw;
}
a span:hover {
transform: scale(1.1);
transition: 0.3s ease;
}

41
com_page.php Normal file
View file

@ -0,0 +1,41 @@
<?php
ob_start(); // Start reading html
//include "assets/fonts/color.php";
?>
<main>
<div class="box-jaune">
<span class="corners corners-top"></span>
<span class="corners corners-bottom"></span>
<div class="title">Messages des COM's</div>
<span class="circles circles-top"></span>
<span class="circles circles-bottom"></span>
</div>
<a href="parrainage.php">
<span>
Le parrainage
</span>
</a>
<a href="anim.php">
<span>
Com'anim
</span>
</a>
<a href="map_com_ville.php">
<span>
Com'ville<br>
<font color="red">Pas encore disponible</font>
</span>
</a>
</main>
<?php
$infopage = ["", "Page des com's", ob_get_clean(), "", "com_page"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
include("structure/template.php");
?>