diff --git a/app/view/Index/display.html b/app/view/Index/display.html index 18fb5ee849ff2a5decb705fa5b1702f1294c0760..87a7ff076c59eb21c78dd4e0d07cbc49872a3400 100644 --- a/app/view/Index/display.html +++ b/app/view/Index/display.html @@ -12,7 +12,11 @@ <?php foreach($this->most_played as $jeu) { ?> - <tr><td><img src="<?php echo BASE_URL; ?>/images/jeu/<?php echo $jeu['slug']; ?>.jpg" alt="logo jeu <?php echo $jeu['nom']; ?>" /></td><td><?php echo $jeu['nom']; ?></td><td><?php echo $jeu['parties']; ?>x</td></tr> + <tr> + <td><a href="<?php echo BASE_URL; ?>/jeu/<?php echo $jeu['slug']; ?>"><img src="<?php echo BASE_URL; ?>/images/jeu/<?php echo $jeu['slug']; ?>.jpg" alt="logo jeu <?php echo $jeu['nom']; ?>" /></a></td> + <td><a href="<?php echo BASE_URL; ?>/jeu/<?php echo $jeu['slug']; ?>"><?php echo $jeu['nom']; ?></a></td> + <td><?php echo $jeu['parties']; ?>x</td> + </tr> <?php } ?> @@ -22,11 +26,15 @@ <div class="col-6"> <h3 class="stat-title">Dernier inscrit :</h3> - <aside class="profil-image"> + <aside class="profil-image"><a href="<?php echo BASE_URL; ?>/profil/<?php echo $this->last_member->slug; ?>"> <img src="<?php echo BASE_URL; ?>/images/profil_42.jpg" alt="Photo de profil de phoenix" /> + </a> </aside> <ul class="col-4 pref"> - <li><?php echo $this->last_member->prenom.' '.$this->last_member->nom; ?></li> + <li><a href="<?php echo BASE_URL; ?>/profil/<?php echo $this->last_member->slug; ?>"> + <?php echo $this->last_member->prenom.' '.$this->last_member->nom; ?></a> + </li> + </ul> </div> diff --git a/www/css/style.css b/www/css/style.css index 043379c681a498e72f5d63e66d7a66c013a83b97..cc57665bae8fed6b2c8b937f51394436556e8171 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -49,6 +49,30 @@ footer{ box-sizing: border-box; } +.main a{ + color: #159C15; + text-decoration: none; +} +.main a:hover{ + color: cadetblue !important; +} +.inscription-btn{ + color:blanchedalmond !important; + font-weight : bold; + text-decoration:none; + width:100%; + padding: 2px; + border-radius:10px; + background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0)); + -webkit-transition: background 500ms; /* Safari */ + transition: background 500ms ; + display: inline-block; + height:30px; +} + +.inscription-btn:hover { + background: red linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0)); +} .main{ margin-top:235px; padding-bottom:100px; @@ -165,25 +189,6 @@ header a:hover, footer a:hover { } -.inscription-btn { - color:blanchedalmond; - font-weight : bold; - text-decoration:none; - width:100%; - padding: 2px; - border-radius:10px; - background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0)); - -webkit-transition: background 500ms; /* Safari */ - transition: background 500ms ; - display: inline-block; - height:30px; -} - -.inscription-btn:hover { - background: red linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0)); - -} - nav ul { text-align:center; @@ -252,6 +257,7 @@ nav ul li:hover{ list-style-type: none; padding: 0; text-align: center; + margin-top: 40px; } .stat-title{ text-align: center;