Ajout d'un footer et d'un header + des images

This commit is contained in:
Moncef STITI 2024-05-18 11:55:32 +02:00
parent 6122b9bba1
commit dd0d7cd73e
11 changed files with 191 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../../../assets/css/footer_dark.css">
<title>Musique</title>
</head>
<body>
<footer class="footer">
<div class="footer-content">
<div class="social-links">
<a href="https://www.instagram.com" class="social-icon"><img src="../../../assets/img/reseaux_sociaux/instagram.png" alt="Instagram"></a>
<a href="https://www.facebook.com" class="social-icon"><img src="../../../assets/img/reseaux_sociaux/facebook.png" alt="Facebook"></a>
<a href="https://www.snapchat.com" class="social-icon"><img src="../../../assets/img/reseaux_sociaux/snapchat.png" alt="Snapchat"></a>
<a href="https://www.youtube.com" class="social-icon"><img src="../../../assets/img/reseaux_sociaux/youtube.png" alt="Youtube"></a>
</div>
<div class="legal">
<a href="#" class="legal-link">Mentions légales</a>
<span>|</span>
<span>© 2024 Onzeur</span>
<span>|</span>
<a href="#" class="legal-link">Nous contacter</a>
</div>
</div>
</footer>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../../../assets/css/header_not_logged_dark.css">
<link rel="icon" type="image/x-icon" href="../../../assets/img/Logo_ONZEUR.png">
<title>Onzeur</title>
</head>
<body>
<header class="header">
<div class="header-content">
<div class="logo">
<img src="../../../assets/img/Logo_ONZEUR_DARK.png" alt="Logo de ONZEUR">
</div>
<nav class="nav">
<div class="nav-buttons">
<a href="connexion.php" class="btn-connexion">Connexion</a>
<a href="inscription.php" class="btn-inscription">Inscription</a>
</div>
</nav>
<div class="menu-toggle">
<span></span>
<span></span>
<span></span>
</div>
</div>
</header>
<script>
document.querySelector('.menu-toggle').addEventListener('click', function() {
document.querySelector('.nav-buttons').classList.toggle('active');
});
</script>
</body>
</html>

View File

@ -0,0 +1,44 @@
.footer {
background-color: black;
color: white;
padding: 20px;
text-align: center;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column; /* Afficher les éléments en colonne */
align-items: center; /* Centrer horizontalement */
}
.social-links {
display: flex;
gap: 20px;
margin-bottom: 10px; /* Ajouter un espace entre les logos et le texte */
}
.social-icon img {
height: 30px;
}
.legal {
font-size: 14px;
display: flex;
align-items: center; /* Centrer verticalement */
}
.legal span {
margin: 0 10px;
}
.legal-link {
color: white;
text-decoration: none;
transition: color 0.3s ease;
}
.legal-link:hover {
color: rgb(181, 15, 232);
}

View File

@ -0,0 +1,83 @@
body {
margin: 0;
font-family: Arial, sans-serif;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: black;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.logo img {
height: 50px;
}
.nav-buttons {
display: flex;
gap: 10px;
}
.nav-buttons a {
padding: 10px 20px;
text-decoration: none;
color: white;
border-radius: 5px;
text-align: center;
transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn-connexion {
background-color: transparent;
border: 2px solid white;
}
.btn-inscription {
background-color: rgb(181, 15, 232);
}
.nav-buttons a:hover {
box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
/* menu burger */
.menu-toggle {
display: none;
flex-direction: column;
cursor: pointer;
}
.menu-toggle span {
width: 25px;
height: 3px;
background-color: white;
margin: 4px 0;
}
.nav-buttons.active {
display: flex;
flex-direction: column;
align-items: flex-start;
background-color: black;
position: absolute;
top: 70px;
right: 20px;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
.nav-buttons.active a {
display: block;
margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
.nav-buttons {
display: none;
}
/* Affichage du menu burger sur les appareils mobiles */
.menu-toggle {
display: flex;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB