Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #29

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open

Main #29

Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
afb955f
Ajout des deux lien et du logo dans le header
QuentinDM Mar 1, 2024
a00bf25
simulation de lien avec attribut href=# header
QuentinDM Mar 1, 2024
144392d
Ajout des les éléments Activités html
QuentinDM Mar 1, 2024
0d3b274
ajout section hebergement
QuentinDM Mar 1, 2024
a889fb3
Partit CSS lien hebergements et activites :hover
QuentinDM Mar 1, 2024
c6c3bb4
changement de la taille image
QuentinDM Mar 5, 2024
ed4b825
sortir balise header de div class main
QuentinDM Mar 5, 2024
7efee80
Ajout SVG icon, Parti NAV filtre et recherche
QuentinDM Mar 5, 2024
6ab5b67
changement de l'agencement du main, ajout 2section
QuentinDM Mar 5, 2024
e8ac127
ajustement des lien hebergements
QuentinDM Mar 5, 2024
b6d69d6
Creation partie activitée et son css
QuentinDM Mar 7, 2024
71eecc1
CSS du footer
QuentinDM Mar 7, 2024
eedbd07
media query tablette version
QuentinDM Mar 7, 2024
e4de79d
Phone device header ajuster
QuentinDM Mar 7, 2024
fd8f3fd
solution pour le bug du filtre mise à jour et
QuentinDM Mar 7, 2024
1e73fb0
diplay phone partie hebergements et populaires
QuentinDM Mar 9, 2024
976290d
Display phone ajustement CSS partie activités
QuentinDM Mar 9, 2024
a056200
Display phone CSS partie FOOTER
QuentinDM Mar 9, 2024
d5f1a82
Ajustement margin top dans les sections de la NAV
QuentinDM Mar 9, 2024
40aecdb
Ajout du H3 Afficher plus dans la section heberge-
QuentinDM Mar 9, 2024
6aa5026
Ajout dans la partie nav>filter un display grid
QuentinDM Mar 9, 2024
9806238
Ajout icon de recherche, remplacement du text
QuentinDM Mar 9, 2024
6284fb6
centrer le contenu par rapport au html
QuentinDM Mar 9, 2024
1f856e1
ajustment des deux liens Hébérgement et activités
QuentinDM Mar 9, 2024
cc5f0a8
Ajustement des deux liens du header sur écran
QuentinDM Mar 9, 2024
3e0fddc
enlever la marge du body
QuentinDM Mar 9, 2024
09d60dc
erreur vue sur W3C https://validator.w3.org
QuentinDM Mar 9, 2024
b0f7ff5
Ajout des liens dans le footer
QuentinDM Mar 10, 2024
7c2cc38
changement de la couleur texte placeholder form
QuentinDM Mar 10, 2024
0bfae92
changement des icones car pris sur boostrap
QuentinDM Mar 10, 2024
4e58137
Update des boutons dans la partie filtre en css
QuentinDM Mar 11, 2024
3866544
Update icon localisation dans la partie rechercher
QuentinDM Mar 11, 2024
da0011e
changement du padding des boutons partie filtres,
QuentinDM Mar 11, 2024
6cdbf2a
suppression des images exporter de boostrap
QuentinDM Mar 11, 2024
1f4ba66
Ajout d'un display flex partie barre de recherche
QuentinDM Mar 11, 2024
70e0209
Modification du css screen phone partie Filtre
QuentinDM Mar 11, 2024
c92810f
définition du largeur minimun pour gérer les plus
QuentinDM Mar 11, 2024
f0bcd5a
changement de toutes les classes populaires
QuentinDM Mar 11, 2024
979f18b
Ajouts des ancres hebergements et activities
QuentinDM Mar 11, 2024
841a142
suppression target=_blank
QuentinDM Mar 11, 2024
f43afdb
suppression css text-wrap par white-space
QuentinDM Mar 11, 2024
9345ff2
text button des filtres changement de la
QuentinDM Mar 11, 2024
d80f34d
enlever le minimun width sur body
QuentinDM Mar 11, 2024
25627fb
Ajouts de commantaires en html
QuentinDM Mar 11, 2024
04fcf50
définition d'une largeur maximum à 1440 px pour
QuentinDM Mar 11, 2024
181b0a7
repertir de zero dans la meta
QuentinDM Mar 11, 2024
d248980
enlever une ligne de code css en trop
QuentinDM Mar 18, 2024
881aff3
rectification du text card-subtittle et ajout
QuentinDM Mar 18, 2024
8603c93
modification de la hauteur .popular-card .card{}
QuentinDM Mar 18, 2024
5d009c1
remplacer gap 30px par 15px pour mobile
QuentinDM Mar 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ajout SVG icon, Parti NAV filtre et recherche
QuentinDM committed Mar 5, 2024
commit 7efee80cec66a7d140fef6cc3ff3bda3d3a1ada3
127 changes: 117 additions & 10 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -31,9 +31,11 @@ a {
text-decoration: none;
}

.section-title {
.section-title {
margin: 0;
font-size: 22px;
font-weight: 700;
line-height: 25.83px;
}

.card {
@@ -59,12 +61,16 @@ a {
color: var(--main-bg-color)
}

/****** CSS HEADER ***************/
.side-padding{
padding: 30px 50px 30px 50px; /* add this to add padding on the side of the page*/
}
/****** CSS HEADER *************************************************************************/
.header-logo-link{
display: flex;
justify-content: space-between;
}


.link-hebergement-activities a{
margin: 0 50px 0 50px; /*make the gap btw links*/
}
@@ -73,14 +79,110 @@ a {
color: #0065FC;
border-top: #0065FC solid 2px;
}

.booki-image{
padding: 30px 50px 30px 50px;
}
.booki-image img{
width: 61.09px;
height: 19px;
}
/****** Hebergements And Populaires ***********/
/****** Nav filter css ****************************************************/
.search-bar{
display: flex;
align-items: center;
margin-top: 20px;
width: 377px;
height: 49px;
}

.text-nav{
font-weight: 700;
font-size: 18px;
line-height: 21.13px;
}
/* Headline CSS*/
.headline h2{
margin-bottom: 10px; /*make space btw H2 and P from the nav*/
}
.icon-location{ /* this part is for the icon side */
width: 14px;
height: 18px;
}
.container-icon-location{ /*this part is for background of the icon location and centered it*/
width: 50px;
height: 49px;
border-radius: 15px 0 0 15px;
background-color: #F2F2F2;
display: flex;
justify-content: center;
align-items: center;
}

/* Div input css*/
.input{
text-align: center;
height: 46px;
border: solid 1px #F2F2F2 ;
}

/* Div search button CSS*/
.search-button{
display: flex;
align-items: center;
font-size: 18px;
height: 49px;
border-radius: 0 15px 15px 0;
padding: 15px 16px 15px 16px;
background-color: #0065FC;
color: white;
border: 1px solid #0065FC;
}

/****** Filtres CSS ************/
.filter-bar{
display: flex;
gap: 15px;
height: 50px;
margin-top: 20px;
}

.filter-button{
display: flex;
align-items: center;
gap: 10px;
border-radius: 25px;
border: solid 2px #D9D9D9;
padding: 4px 19px 4px 19px;
}

.text-button{
font-size: 17px;
font-weight: 700;
line-height: 19.96px;
}

.filter-image {
width: 22px;
height: 22px;
}

.filter-button:hover{ /* when pass over change background and cursor, on the filter button*/
background-color: #DEEBFF;
cursor: pointer;
}
/* Div info-bar CSS */
.info-bar{
display: flex;
align-items: center;
gap: 10px;
margin-top: 20px;
}
.information{
font-size: 16px;
font-weight: 400;
line-height: 19px;
margin: 0px;
}

/****** Hebergements And Populaires *******************************************/
.hebergements-and-populaires {
display: flex;
justify-content: space-between;
@@ -93,7 +195,7 @@ a {
box-sizing: border-box;
}

/****** Hebergements ***********/
/****** Hebergements *****************************************************/
.hebergements {
width: 65%;
}
@@ -105,7 +207,7 @@ a {
border-radius: 20px 20px 0 0;
}

/****** Populaires ***********/
/****** Populaires *********************************************************/
.populaires {
width: 32%;
}
@@ -142,10 +244,15 @@ a {
margin-bottom: 4px;
}

.populaires-cards .card-subtitle {
.populaires-cards {
margin: 0;
}

.card-subtitle{
margin: 0;
font-weight: 400;
font-size: 16px;
line-height: 18.78px;
}
.populaires-cards .card-rating {
margin-bottom: 5px;
}
4 changes: 4 additions & 0 deletions images/icons-boostrap/cash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons-boostrap/fire.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons-boostrap/geo-alt-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/icons-boostrap/heart-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons-boostrap/info-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/icons-boostrap/person-raised-hand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 42 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -16,21 +16,58 @@

<body>
<header class="header-logo-link">
<div class="booki-image">
<img src="./images/logo/Booki.png" alt="logo Booki">
<div class="side-padding">
<img src="./images/logo/Booki.png" alt="logo Booki" class="booki-image">
</div>
<div class="link-hebergement-activities">
<a href="#" target="_blank" rel="noopener noreferrer">Hébergements</a>
<a href="#" target="_blank" rel="noopener noreferrer">Activités</a>
</div>
</header>
</header>
<nav class="info-group side-padding">
<div class="headline">
<h2 class="section-title marge">Trouvez votre hébergement pour des vacances de rêve</h2>
<p class="card-subtitle">En plein centre-ville ou en pleine nature</p>
</div>
<div class="search-bar">
<div class="container-icon-location">
<img src="./images/icons-boostrap/geo-alt-fill.svg" alt="location icons" class="icon-location">
</div>
<form action="" method="get">
<input type="text" name="city" id="city" placeholder="Marseille, France" class="input text-nav">
</form>
<button type="button" class="text-nav search-button">Rechercher</button>
</div>
<div class="filter-bar">
<h2 class="text-nav">Filtres</h2>
<div class="economies-filter filter-button">
<img src="./images/icons-boostrap/cash.svg" alt="icon billet de monnaie" class="filter-image">
<h2 class="text-button">Économique</h2>
</div>
<div class="familial-filter filter-button">
<img src="./images/icons-boostrap/person-raised-hand.svg" alt="une personne qui salut" class="filter-image">
<h2 class="text-button">Familial</h2>
</div>
<div class="romantic-filter filter-button">
<img src="./images/icons-boostrap/heart-fill.svg" alt="icon d'un coeur" class="filter-image">
<h2 class="text-button">Romantique</h2>
</div>
<div class="our-best-filter filter-button">
<img src="./images/icons-boostrap/fire.svg" alt="icon de feu " class="filter-image">
<h2 class="text-button">Nos pépites</h2>
</div>
</div>
<div class="info-bar">
<img src="./images/icons-boostrap/info-circle.svg" alt="icon d'information" class="image-information">
<p class="information">Plus de 500 logements sont disponibles dans cette ville</p>
</div>
</nav>
<div class="main-container">

<main>
<div class="hebergements-and-populaires">
<section class="hebergements">
<div class="hebergements-title">
<h2 class="section-title">Hébergements à Mareseille</h2>
<h2 class="section-title">Hébergements à Marseille</h2>
</div>
<div class="hebergements-card">
<a href="#">