Initial commit with existing project files
BIN
annexes/exercice.png
Executable file
|
After Width: | Height: | Size: 2.9 MiB |
2
annexes/notes.txt
Executable file
@@ -0,0 +1,2 @@
|
||||
Couleurs : #397f80, #7e8039, #444
|
||||
Typo : Arial
|
||||
BIN
img/1.jpg
Executable file
|
After Width: | Height: | Size: 194 KiB |
BIN
img/2.jpg
Executable file
|
After Width: | Height: | Size: 74 KiB |
BIN
img/3.jpg
Executable file
|
After Width: | Height: | Size: 119 KiB |
BIN
img/4.jpg
Executable file
|
After Width: | Height: | Size: 98 KiB |
BIN
img/5.jpg
Executable file
|
After Width: | Height: | Size: 92 KiB |
BIN
img/logo.avif
Executable file
|
After Width: | Height: | Size: 9.8 KiB |
89
index.html
Executable file
@@ -0,0 +1,89 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<script src="https://kit.fontawesome.com/b62beca04b.js" crossorigin="anonymous"></script>
|
||||
<title>Exercice</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<img src="img/logo.avif" alt="" class="logo" />
|
||||
<ul>
|
||||
<li><a href="#">Menu 1</a></li>
|
||||
<li><a href="#">Menu 2</a></li>
|
||||
<li><a href="#">Menu 3</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<header>
|
||||
<h1 class="header-title">Lorem ipsum dolor sit amet.</h1>
|
||||
<div class="header-content">
|
||||
<img src="img/1.jpg" alt="" class="img-round" />
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Neque,
|
||||
architecto? Voluptatem perspiciatis suscipit eum ratione modi fugiat
|
||||
tempora nemo cum, nam dolores obcaecati minima qui sequi! Quas magnam
|
||||
nihil architecto?
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
<section class="header-section">
|
||||
<h2>Lorem ipsum dolor sit amet.</h2>
|
||||
<div class="header-section-content">
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Neque,
|
||||
architecto? Voluptatem perspiciatis suscipit eum ratione modi fugiat
|
||||
tempora nemo cum, nam dolores obcaecati minima qui sequi! Quas magnam
|
||||
nihil architecto?
|
||||
</p>
|
||||
</div>
|
||||
<button class="btn-shop"><i class="fa-solid fa-basket-shopping"></i>Buy</button>
|
||||
</section>
|
||||
<main>
|
||||
<img src="img/2.jpg" alt="" />
|
||||
<img src="img/3.jpg" alt="" />
|
||||
<img src="img/4.jpg" alt="" />
|
||||
<img src="img/5.jpg" alt="" />
|
||||
</main>
|
||||
<div class="section-infos">
|
||||
<section class="map">
|
||||
<iframe
|
||||
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5567.293437856464!2d3.1269419000000056!3d45.758227999999995!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47f71c431e0961f3%3A0x8e504f84a825921f!2s222%20Bd%20Gustave%20Flaubert%2C%2063000%20Clermont-Ferrand!5e0!3m2!1sfr!2sfr!4v1740664634976!5m2!1sfr!2sfr"
|
||||
style="border: 0" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"
|
||||
title="map"></iframe>
|
||||
</section>
|
||||
<section class="section-form">
|
||||
<form action="" class="contact-form">
|
||||
<h2>Contactez-nous</h2>
|
||||
<label for="">Nom :</label>
|
||||
<input type="text" placeholder="Votre nom" />
|
||||
<label for="">Email :</label>
|
||||
<input type="email" placeholder="Votre adresse mail" />
|
||||
<label for="">Message :</label>
|
||||
<textarea placeholder="Votre Message"></textarea>
|
||||
<button type="submit" class="btn-submit">Valider</button>
|
||||
<div class="contact-infos">
|
||||
<div>
|
||||
<i class="fa-solid fa-location-dot"></i>
|
||||
<p>222 Boulevard Gustave Flaubert</p>
|
||||
</div>
|
||||
<div>
|
||||
<i class="fa-solid fa-phone"></i>
|
||||
<p>+33 0123456789</p>
|
||||
</div>
|
||||
<div>
|
||||
<i class="fa-solid fa-at"></i>
|
||||
<p>test@test.fr</p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
<footer>
|
||||
<p>Lorem ipsum dolor, sit amet.</p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
177
style.css
Executable file
@@ -0,0 +1,177 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin: 15px;
|
||||
margin-left: 100px;
|
||||
}
|
||||
|
||||
.navbar ul,
|
||||
.logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navbar ul {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
list-style-type: none;
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
.navbar li a {
|
||||
color: rgba(0, 0, 0, .6);
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
header,
|
||||
.section-form {
|
||||
background-color: rgb(56, 127, 128);
|
||||
}
|
||||
|
||||
.header-section {
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.header-section h2 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.btn-shop {
|
||||
margin-top: 5px;
|
||||
padding: 5px 15px;
|
||||
background-color: lightgray;
|
||||
border: 1px solid white;
|
||||
border-radius: 5px
|
||||
}
|
||||
|
||||
.btn-shop i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.header-content,
|
||||
.header-section-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.header-section,
|
||||
footer {
|
||||
background-color: rgb(126, 128, 62);
|
||||
}
|
||||
|
||||
.img-round {
|
||||
width: 250px;
|
||||
border-radius: 50%;
|
||||
margin: 25px;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin: 25px auto;
|
||||
max-width: 1500px;
|
||||
}
|
||||
|
||||
main img {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.section-infos {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.map,
|
||||
.section-form {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.section-form {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.section-form h2 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 30px;
|
||||
}
|
||||
|
||||
.contact-form label {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.contact-form input,
|
||||
.contact-form textarea {
|
||||
width: 500px;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.contact-infos {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contact-infos div {
|
||||
display: flex;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.contact-infos div i {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.btn-submit {
|
||||
width: 50px;
|
||||
padding: 5px;
|
||||
background-color: rgb(126, 128, 62);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 15px 0;
|
||||
}
|
||||