Skip to content

Commit

Permalink
Add pvi logo on pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mew22 committed Dec 1, 2023
1 parent c332fb7 commit 0c40dee
Show file tree
Hide file tree
Showing 20 changed files with 114 additions and 43 deletions.
Binary file added font/Montserrat-Bold.ttf
Binary file not shown.
Binary file added font/Montserrat-Light.ttf
Binary file not shown.
Binary file added font/Montserrat-Medium.ttf
Binary file not shown.
Binary file added pvi/image/production.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pvi/image/pvi_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pvi/image/route.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 77 additions & 17 deletions pvi/index.css
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
body {
overflow: hidden;
}

header {
height: 5%;
width: 100%;
height: 5vh;
width: 100vh;
position: absolute;
top: 0;
left: 0;
background-color: #003B5C;
}

footer {
height: 5%;
width: 100%;
height: 5vh;
width: 100vh;
position: absolute;
bottom: 0;
left: 0;
background-color: #003B5C;
}

#content {
width: 100%;
}

#arrows {
max-width: 100%;
max-width: 100vh;
z-index: 2;
display: flex;
justify-content: space-between;
margin-left: 2%;
margin-right: 2%;
position: fixed;
margin-left: 2vh;
margin-right: 2vh;
top: 0;
left: 0;
right: 0;
Expand All @@ -46,12 +45,73 @@ footer {
text-align: center;
margin: 0 auto;
position: absolute;
top: 80%;
left: 30%;
top: 80vh;
left: 50%;
transform: translate(-50%, -50%);
background-color: #FFCC33;
border: none;
color: white;
padding: 3vh;
border-radius: 5vh;
font-size: 10vh;
padding-top: 3vh;
padding-bottom: 3vh;
padding-right: 5vh;
padding-left: 5vh;
border-radius: 8vh;
font-size: 2.5vh;
max-lines: 1;
font-family: "Montserrat-Bold";
}

#automn {
max-height: 100vh;
position: absolute;
top: 0;
left: 0;
}

#production {
max-height: 100vh;
position: absolute;
top: 0;
left: -95vh;
}

#accueil_logo {
max-width: 50vh;
max-height: 30vh;
position: absolute;
top: 4vh;
left: 4vh;
background: white;
}

#pvi_logo {
position: relative;
top: 12vh;
left: 50%;
transform: translate(-50%, -50%);
}

#road {
max-width: 100%;
max-height: 30%;
object-fit: scale-down;
position: absolute;
top: 20vh;
left: 0;
right: 0;
}

@font-face {
font-family: 'Montserrat-Bold';
src: url('../font/Montserrat-Bold.ttf') format('truetype')
}

@font-face {
font-family: 'Montserrat-Light';
src: url('../font/Montserrat-Light.ttf') format('truetype')
}

@font-face {
font-family: 'Montserrat-Medium';
src: url('../font/Montserrat-Medium.ttf') format('truetype')
}
4 changes: 2 additions & 2 deletions pvi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ $(document).on("click", "#welcome", function () {

function setArrowPosition(position) {
if (position === ArrowPosition.CENTER) {
$("#arrows").css({"position": "absolute", "top": "50%"})
$("#arrows").css({"position": "absolute", "top": "50vh"})
} else {
$("#arrows").css({"position": "absolute", "top": "10%"})
$("#arrows").css({"position": "absolute", "top": "10vh"})
}
}

Expand Down
5 changes: 3 additions & 2 deletions pvi/page/acces.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
8 changes: 3 additions & 5 deletions pvi/page/accueil.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
<title>Accueil</title>
</head>
<body>
<img src="image/automne.jpg" style="max-width: 100%; position: absolute;"/>
<img src="image/pvi_logo_big.png" style="max-width: 50%; max-height: 30%; position: absolute; background: white"/>
<button id="welcome" type="button">
Bonne journée
</button>
<img id="production" src="image/production.jpg"/>
<img id="accueil_logo" src="image/pvi_logo_big.png"/>
<button id="welcome" type="button">Bienvenue</button>
</body>
</html>
4 changes: 3 additions & 1 deletion pvi/page/bonne_journee.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<title>Title</title>
</head>
<body>

<img id="automn" src="image/automne.jpg"/>
<img id="accueil_logo" src="image/pvi_logo_big.png"/>
<button id="welcome" type="button">Bonne journée</button>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/epi.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
2 changes: 2 additions & 0 deletions pvi/page/histoire.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
</head>
<body>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<img id="road" src="image/route.jpg"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/metiers.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/noel.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/nomination.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/projet_entreprise.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/restaurant.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/traffic_etech.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>
5 changes: 3 additions & 2 deletions pvi/page/vehicule_fonction.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<title>Title</title>
</head>
<body>
<header></header>
<footer></footer>
<header></header>
<img id="pvi_logo" src="image/pvi_logo.png"/>
<footer></footer>
</body>
</html>

0 comments on commit 0c40dee

Please sign in to comment.