Ajout des fichiers
This commit is contained in:
71
entreprise.html
Normal file
71
entreprise.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SAE</title>
|
||||
<link rel="stylesheet" href="style_entre.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<img src="swiftrescue.png"class="logo" alt="Logo de l'entreprise">
|
||||
<h1> <a href="index.html"> SwiftRescue </a></h1>
|
||||
</header>
|
||||
<nav>
|
||||
<div id="monSidenav" class="sidenav">
|
||||
<a id="closeBtn" href="#" class="close">x</a>
|
||||
<ul>
|
||||
<li id="accueil"><a href="index.html">Accueil</a></li>
|
||||
<li id="entreprise"><a href="entreprise.html">Notre Entreprise</a></li>
|
||||
<li id="produits"><a href="produits.html">Produits</a></li>
|
||||
<li id="contact"><a href="formulaire.html">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a href="#" id="openBtn">
|
||||
<span class="burger-icon">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
</a>
|
||||
</nav>
|
||||
<section class="content"><h2 class="title_page">Qui sommes nous ?</h2>
|
||||
|
||||
<article class="article">
|
||||
<a>
|
||||
<h3>Présentation de SwiftRescue</h3>
|
||||
<p id="text_sw">SwiftRescue est une entreprise de trois passionés d'informatique souhaitant utiliser leurs connaissances
|
||||
au service des autres, en se spécialisant dans le sauvetage.
|
||||
</p>
|
||||
</a>
|
||||
</article>
|
||||
<article class="article">
|
||||
<img class="image">
|
||||
|
||||
<a href="cv_lukas.html">
|
||||
<h3>Lukas SIMOES</h3>
|
||||
<p></p>
|
||||
</a>
|
||||
</article>
|
||||
<article class="article">
|
||||
<img class="image">
|
||||
<a href="portfolio.html">
|
||||
<h3>Yann MOUCHOU</h3>
|
||||
<p></p>
|
||||
</a>
|
||||
</article>
|
||||
<article class="article">
|
||||
<img class="image">
|
||||
<a href="Site_CV.html">
|
||||
<h3>Mathias PLACIDE--CONTRERAS</h3>
|
||||
<p></p>
|
||||
</a>
|
||||
|
||||
</article>
|
||||
</section>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
<script src="burguer.js"></script>
|
||||
</body>
|
||||
</html>
|
72
formulaire.html
Normal file
72
formulaire.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SAE</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,800;1,800&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,800&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="main_header">
|
||||
<header>
|
||||
<img src="swiftrescue.png"class="logo" alt="Logo de l'entreprise">
|
||||
<h1> <a href="index.html"> SwiftRescue </a></h1>
|
||||
<div id="monSidenav" class="sidenav">
|
||||
<a id="closeBtn" href="#" class="close">x</a>
|
||||
<ul>
|
||||
<li id="accueil"><a href="index.html">Accueil</a></li>
|
||||
<li id="entreprise"><a href="entreprise.html">Notre Entreprise</a></li>
|
||||
<li id="produits"><a href="produits.html">Produits</a></li>
|
||||
<li id="contact"><a href="formulaire.html">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<section class="content">
|
||||
<h2 class="title_page">Nous contacter</h2>
|
||||
<p id="disclaimer"> Certaines de ces informations ne sont pas nécessaires à l'envoi de votre message mais nous permettent d'en apprendre plus sur vous, notre clientèle. </p>
|
||||
<form method="post" action="script" enctype="text/plain">
|
||||
<div class="nom">
|
||||
<label id="prenom">Prénom</label><br>
|
||||
<input type="text" name="prenom"><br>
|
||||
<label id="nom">Nom</label><br>
|
||||
<input type="text" name="nom"><br>
|
||||
</div>
|
||||
<div class="mail">
|
||||
<label><nobr>E-mail*</nobr></label><br>
|
||||
<input type="email" name="mail"><br>
|
||||
</div>
|
||||
<div class="naissance">
|
||||
<label>Tél</label><br>
|
||||
<input type="tel" name="tel"><br>
|
||||
<label><nobr>Date Naissance</nobr></label><br>
|
||||
<input type="date" name="naissance"><br>
|
||||
</div>
|
||||
<div class="sexe">
|
||||
<label>Sexe</label><br>
|
||||
<input type="radio" name="s" value="Homme"> Homme
|
||||
<input type="radio" name="s" value="Femme"> Femme
|
||||
<input type="radio" name="s" value="Autre"> Autre
|
||||
</div>
|
||||
<div class="message">
|
||||
<label>Message*</label><br>
|
||||
<textarea></textarea><br>
|
||||
</div>
|
||||
<div class="submit">
|
||||
<input id="bouton_submit" type="button" value="Envoyer">
|
||||
<input type="reset" name="reset" value="Réinitialiser">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
</footer>
|
||||
<script src="header.js"></script>
|
||||
<script src="submit.js"></script>
|
||||
</body>
|
||||
</html>
|
368
formulaire_envoye.css
Normal file
368
formulaire_envoye.css
Normal file
@@ -0,0 +1,368 @@
|
||||
@import url(https://db.onlinewebfonts.com/c/d7e8a95865396cddca89b00080d2cba6?family=SoDo+Sans+SemiBold);
|
||||
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,700&family=Montserrat&family=Open+Sans:wght@300&family=Oswald&family=Playfair+Display:wght@500&display=swap');
|
||||
body{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
header a{
|
||||
|
||||
color: #FFFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
li{
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
h2{
|
||||
padding-top: 1em;
|
||||
font-size: 3em;
|
||||
font-family: "Montserrat", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
color: rgb(46, 52, 118)
|
||||
}
|
||||
|
||||
.close{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.title_page{
|
||||
text-align: center;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.main_header {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
header{
|
||||
background: #003B73;
|
||||
height: 90px;
|
||||
padding: 1rem 0;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header ul {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "SoDo Sans SemiBold";
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
|
||||
#disclaimer {
|
||||
padding-left: 20%;
|
||||
padding-right: 20%;
|
||||
text-align: center;
|
||||
font-family: "Montserrat", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
header .logo {
|
||||
height: 7rem;
|
||||
width: 7rem;
|
||||
object-position: left top;
|
||||
}
|
||||
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-family: "SoDo Sans SemiBold";
|
||||
}
|
||||
|
||||
li {
|
||||
padding-right:3em;
|
||||
}
|
||||
|
||||
.content{
|
||||
margin: auto;
|
||||
box-shadow: 0 5px 10px #BFD7ED;
|
||||
background: rgba(255, 255, 255, 0.651);
|
||||
width: 50%;
|
||||
height: 40rem;
|
||||
border-radius: 1.5rem;
|
||||
}
|
||||
|
||||
.content h3{
|
||||
font-size: 1.5rem;
|
||||
margin: 1rem;
|
||||
font-family: "SoDo Sans SemiBold";
|
||||
color: #003B73;
|
||||
}
|
||||
|
||||
.content p{
|
||||
margin: 1rem;
|
||||
font-family: "SoDo Sans SemiBold";
|
||||
|
||||
}
|
||||
|
||||
article{
|
||||
display: grid;
|
||||
grid-template-columns: 30% 70%;
|
||||
background: #BFD7ED;
|
||||
height: 16rem;
|
||||
margin: 20px;
|
||||
border-radius: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.closeBtn {
|
||||
font-family: "SoDo Sans SemiBold";
|
||||
}
|
||||
|
||||
|
||||
article img{
|
||||
height: 16rem;
|
||||
width: 100%;
|
||||
border-radius: 20px;
|
||||
border-radius: 20px 0px 0px 20px ;
|
||||
}
|
||||
|
||||
|
||||
footer{
|
||||
background: rgba(255, 255, 255, 0.651);
|
||||
margin: 20px;
|
||||
height: 100px;
|
||||
|
||||
}
|
||||
|
||||
form {
|
||||
display:grid;
|
||||
margin-left:20%;
|
||||
width:60%;
|
||||
padding-top: 10em;
|
||||
grid-template-columns: 100%;
|
||||
row-gap: 3em;
|
||||
}
|
||||
|
||||
input {
|
||||
border-radius: 10px;
|
||||
box-shadow: 7px 7px rgb(190, 193, 225);
|
||||
width:100%;
|
||||
height:70%;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
div.nom, div.mail, div.naissance, div.sexe, div.message, div.submit {
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
div.sexe > input {
|
||||
font-size: 1.5em;
|
||||
height:50%;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
div.sexe {
|
||||
border: 0px;
|
||||
height: 1.5em;
|
||||
font-size: 1.5em;
|
||||
font-family: "Montserrat", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
display:flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
div.sexe > label {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
div.message > input {
|
||||
height:5em;
|
||||
}
|
||||
|
||||
div.submit {
|
||||
width:50%;
|
||||
}
|
||||
|
||||
div.submit > input {
|
||||
height:3em;
|
||||
border-radius: 5px;
|
||||
border-color: rgb(98, 93, 168);
|
||||
background-color: #003B73;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-family: "Montserrat", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
label {
|
||||
color: rgb(10, 16, 73);
|
||||
font-family: "Kanit", serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size:2em;
|
||||
}
|
||||
|
||||
|
||||
textarea {
|
||||
width:100%;
|
||||
height:10em;
|
||||
font-size:1em;
|
||||
font-family: "Montserrat", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.radio-content {
|
||||
display: flex;
|
||||
font-family: "SoDo Sans SemiBold";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
|
||||
header {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
|
||||
header .logo {
|
||||
height: 8rem;
|
||||
width: 8rem;
|
||||
}
|
||||
|
||||
.sidenav{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
background-color: #BFD7ED;
|
||||
padding-top: 60px;
|
||||
transition: left 0.5s ease;
|
||||
}
|
||||
|
||||
.sidenav a {
|
||||
padding: 8px 8px 8px 32px;
|
||||
text-decoration: none;
|
||||
font-size: 25px;
|
||||
color: #0074B7;
|
||||
display: block;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.sidenav a:hover {
|
||||
color: #003B73;
|
||||
}
|
||||
|
||||
.sidenav ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Active class */
|
||||
.sidenav.active {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/* Close btn */
|
||||
.sidenav .close {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 25px;
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
/* Icône burger */
|
||||
.burger-icon span {
|
||||
display: block;
|
||||
width: 35px;
|
||||
height: 5px;
|
||||
background-color: #003B73;
|
||||
margin: 6px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
nav {
|
||||
height: auto;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 15px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.content a{
|
||||
width: 90%;
|
||||
height: 16rem;
|
||||
}
|
||||
|
||||
article{
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
height: 30%;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.image{
|
||||
border-radius: 20px;
|
||||
height: 90%;
|
||||
width: 90%;
|
||||
padding: 0.5rem;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
37
formulaire_envoye.html
Normal file
37
formulaire_envoye.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>SAE</title>
|
||||
<link rel="stylesheet" href="formulaire_envoye.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,800;1,800&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,800&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<img src="swiftrescue.png"class="logo" alt="Logo de l'entreprise">
|
||||
<h1> <a href="index.html"> SwiftRescue </a></h1>
|
||||
<div id="monSidenav" class="sidenav">
|
||||
<a id="closeBtn" href="#" class="close">x</a>
|
||||
<ul>
|
||||
<li id="accueil"><a href="index.html">Accueil</a></li>
|
||||
<li id="entreprise"><a href="entreprise.html">Notre Entreprise</a></li>
|
||||
<li id="produits"><a href="produits.html">Produits</a></li>
|
||||
<li id="contact"><a href="formulaire.html">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<section class="content">
|
||||
<h2 class="title_page">Nous contacter</h2>
|
||||
<p id="disclaimer"> Certaines de ces informations ne sont pas nécessaires à l'envoi de votre message mais nous permet d'en apprendre plus sur vous, notre clientèle. </p>
|
||||
<h2 class="title_page"> Votre message a bien été envoyé !</h2>
|
||||
</section>
|
||||
<footer>
|
||||
</footer>
|
||||
<script src="header.js"></script>
|
||||
</body>
|
||||
</html>
|
33
header.js
Normal file
33
header.js
Normal file
@@ -0,0 +1,33 @@
|
||||
const boutons = [
|
||||
document.getElementById("accueil"),
|
||||
document.getElementById("entreprise"),
|
||||
document.getElementById("produits"),
|
||||
document.getElementById("contact")
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
function change_fond(element) {
|
||||
console.log(element);
|
||||
element.style.textShadow = "2px 2px 5px black";
|
||||
element.style.transition = "transform 0.2s ease"
|
||||
element.style.transform = "scale(1.1)";
|
||||
console.log("Ombre changée !");
|
||||
}
|
||||
|
||||
function reset_fond(element) {
|
||||
element.style.textShadow = "";
|
||||
element.style.transform = ""
|
||||
console.log("Ombre retirée !");
|
||||
}
|
||||
|
||||
for(let i = 0; i != 4; i++) {
|
||||
boutons[i].addEventListener("mouseover", function() {
|
||||
change_fond(boutons[i]);
|
||||
});
|
||||
|
||||
boutons[i].addEventListener("mouseout", function() {
|
||||
reset_fond(boutons[i]);
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user