Skip to content

Commit

Permalink
Remove logo from image
Browse files Browse the repository at this point in the history
  • Loading branch information
mew22 committed Jan 22, 2024
1 parent 8f26e09 commit 66e220f
Show file tree
Hide file tree
Showing 70 changed files with 52 additions and 146 deletions.
Binary file removed accueil/image/page_actu.png
Binary file not shown.
Binary file removed accueil/image/page_cybersecurite.png
Binary file not shown.
Binary file removed accueil/image/page_metiers.png
Binary file not shown.
Binary file removed accueil/image/page_projet_pro_2024.png
Binary file not shown.
Binary file removed accueil/image/page_vehicules_innovants.png
Binary file not shown.
2 changes: 1 addition & 1 deletion accueil/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</head>
<body>
<div id="content"></div>
<div id="logo"></div>
<div id="arrows">
<img id="fleche_gauche" src="../image/arrow.svg"/>
<img id="logo" src="../image/pvi_logo.png"/>
<img id="fleche_droite" src="../image/arrow.svg"/>
</div>

Expand Down
10 changes: 5 additions & 5 deletions accueil/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pageList = [
"page/accueil.html",
"page/innovant.html",
"page/actu.html",
"../page/innovant.html",
"../page/actu.html",
"page/porte_ouverte.html",
"page/projet_pro_2024.html",
"page/cybersecu.html",
"page/metiers.html",
"../page/projet_pro_2024.html",
"../page/cybersecu.html",
"../page/metiers.html",
]

pageAccueil = [
Expand Down
6 changes: 3 additions & 3 deletions accueil/page/accueil.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<title>Accueil</title>
</head>
<body>
<img id="accueil_background" src="image/production.jpg"/>
<img id="accueil_logo_pvi" src="image/pvi_logo.png"/>
<img id="accueil_logo_escal" src="image/escal_logo.png"/>
<img id="accueil_background" src="../image/production.jpg"/>
<img id="accueil_logo_pvi" src="../image/pvi_logo.png"/>
<img id="accueil_logo_escal" src="../image/escal_logo.png"/>
<button id="welcome" class="welcome" type="button">Bienvenue</button>
<div class="clock"></div>
<script type="application/javascript">
Expand Down
10 changes: 0 additions & 10 deletions accueil/page/cybersecu.html

This file was deleted.

10 changes: 0 additions & 10 deletions accueil/page/metiers.html

This file was deleted.

10 changes: 0 additions & 10 deletions accueil/page/projet_pro_2024.html

This file was deleted.

Binary file removed escal/image/logo.png
Binary file not shown.
Binary file removed escal/image/page_accord_fabrication.png
Binary file not shown.
Binary file removed escal/image/page_actu.png
Binary file not shown.
Binary file removed escal/image/page_covid.png
Binary file not shown.
Binary file removed escal/image/page_epi.png
Binary file not shown.
2 changes: 1 addition & 1 deletion escal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</head>
<body>
<div id="content"></div>
<div id="logo"></div>
<div id="arrows">
<img id="fleche_gauche" src="../image/arrow.svg"/>
<img id="logo" src="../image/escal_logo.png"/>
<img id="fleche_droite" src="../image/arrow.svg"/>
</div>

Expand Down
8 changes: 4 additions & 4 deletions escal/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pageList = [
"page/accueil.html",
"page/epi.html",
"page/traffic_etech.html",
"../page/epi.html",
"../page/traffic_etech.html",
"page/bonne_journee.html",
"page/actu.html",
"page/covid.html",
"../page/actu.html",
"../page/covid.html",
]

pageAccueil = [
Expand Down
4 changes: 2 additions & 2 deletions escal/page/accueil.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<title>Accueil</title>
</head>
<body>
<img id="accueil_background" src="image/production.jpg"/>
<img id="accueil_logo" src="image/logo.png"/>
<img id="accueil_background" src="../image/production2.jpg"/>
<img id="accueil_logo" src="../image/escal_logo.png"/>
<button id="welcome" type="button">Bienvenue</button>
<div class="clock"></div>
<script type="application/javascript">
Expand Down
10 changes: 0 additions & 10 deletions escal/page/actu.html

This file was deleted.

4 changes: 2 additions & 2 deletions escal/page/bonne_journee.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<title>Title</title>
</head>
<body>
<img id="bonne_journee" src="image/neige.jpg"/>
<img id="accueil_logo" src="image/logo.png"/>
<img id="bonne_journee" src="../image/neige.jpg"/>
<img id="accueil_logo" src="../image/escal_logo.png"/>
<button id="welcome" type="button">Bonne journée</button>
<div class="clock"></div>
<script type="application/javascript">
Expand Down
10 changes: 0 additions & 10 deletions escal/page/covid.html

This file was deleted.

10 changes: 0 additions & 10 deletions escal/page/epi.html

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
Binary file added image/page_accord_fabrication.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 image/page_actu.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 image/page_covid.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 image/page_cybersecurite.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 image/page_epi.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 image/page_histoire.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 image/page_metiers.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 image/page_projet_pro_2024.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 image/page_vehicules_innovants.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 2 additions & 4 deletions lib/lib.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ body {
max-width: 100vh;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
margin-left: 2vh;
margin-right: 2vh;
Expand All @@ -16,10 +17,6 @@ body {

#logo {
z-index: 3;
position: absolute;
top: 12vh;
left: 50%;
transform: translate(-50%, -50%);
height: 10vh;
width: 30vh;
}
Expand All @@ -45,6 +42,7 @@ body {
}

#welcome {
z-index: 5;
text-align: center;
position: absolute;
top: 80vh;
Expand Down
12 changes: 10 additions & 2 deletions lib/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ $(document).ready(function () {
$("#content").load(pageList[0], function() {
startAutomaticSwipe()
setArrowPosition(ArrowPosition.CENTER)
setArrowLogo(false)
})
})

Expand All @@ -44,12 +45,17 @@ $(document).on("click", "#welcome", function () {

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

function setArrowLogo(isVisible) {
const visible = isVisible ? "visible" : "hidden"
$("#logo").css("visibility", visible)
}

function startAutomaticSwipe() {
timeoutId = setTimeout(() => { swipe(SwipeDirection.Right)}, automaticSwipeTimeoutInMilliSecond)

Expand All @@ -76,8 +82,10 @@ function loadPageAt(pageIndex) {
startAutomaticSwipe()
if (pageAccueil.includes(pageList[currentPage])) {
setArrowPosition(ArrowPosition.CENTER)
setArrowLogo(false)
} else {
setArrowPosition(ArrowPosition.TOP)
setArrowLogo(true)
}
})
}
2 changes: 1 addition & 1 deletion accueil/page/actu.html → page/actu.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_actu.png"/>
<img class="page_img" src="../image/page_actu.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion pvi/page/covid.html → page/covid.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_covid.png"/>
<img class="page_img" src="../image/page_covid.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion pvi/page/cybersecu.html → page/cybersecu.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_cybersecurite.png"/>
<img class="page_img" src="../image/page_cybersecurite.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion pvi/page/epi.html → page/epi.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_epi.png"/>
<img class="page_img" src="../image/page_epi.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion pvi/page/histoire.html → page/histoire.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_histoire.png"/>
<img class="page_img" src="../image/page_histoire.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion accueil/page/innovant.html → page/innovant.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_vehicules_innovants.png"/>
<img class="page_img" src="../image/page_vehicules_innovants.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion pvi/page/metiers.html → page/metiers.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_metiers.png"/>
<img class="page_img" src="../image/page_metiers.png"/>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_accord_fabrication.png"/>
<img class="page_img" src="../image/page_projet_pro_2024.png"/>
</body>
</html>
2 changes: 1 addition & 1 deletion pvi/page/traffic_etech.html → page/traffic_etech.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Title</title>
</head>
<body>
<img class="page_img" src="image/page_accord_fabrication.png"/>
<img class="page_img" src="../image/page_accord_fabrication.png"/>
</body>
</html>
Binary file removed pvi/image/page_acces.png
Diff not rendered.
Binary file removed pvi/image/page_accord_fabrication.png
Diff not rendered.
Binary file removed pvi/image/page_actu.png
Diff not rendered.
Binary file removed pvi/image/page_covid.png
Diff not rendered.
Binary file removed pvi/image/page_cybersecurite.png
Diff not rendered.
Binary file removed pvi/image/page_epi.png
Diff not rendered.
Binary file removed pvi/image/page_histoire.png
Diff not rendered.
Binary file removed pvi/image/page_metiers.png
Diff not rendered.
Binary file removed pvi/image/page_projet_pro_2024.png
Diff not rendered.
Binary file removed pvi/image/page_vehicule_fonction.png
Diff not rendered.
Binary file removed pvi/image/production.jpg
Diff not rendered.
2 changes: 1 addition & 1 deletion pvi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</head>
<body>
<div id="content"></div>
<div id="logo"></div>
<div id="arrows">
<img id="fleche_gauche" src="../image/arrow.svg"/>
<img id="logo" src="../image/pvi_logo.png"/>
<img id="fleche_droite" src="../image/arrow.svg"/>
</div>

Expand Down
16 changes: 8 additions & 8 deletions pvi/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
pageList = [
"page/accueil.html",
"page/histoire.html",
"page/metiers.html",
"page/epi.html",
"page/covid.html",
"../page/histoire.html",
"../page/metiers.html",
"../page/epi.html",
"../page/covid.html",
"page/bonne_journee.html",
"page/traffic_etech.html",
"page/actu.html",
"page/projet_pro_2024.html",
"page/cybersecu.html",
"../page/traffic_etech.html",
"../page/actu.html",
"../page/projet_pro_2024.html",
"../page/cybersecu.html",
]

pageAccueil = [
Expand Down
10 changes: 0 additions & 10 deletions pvi/page/acces.html

This file was deleted.

4 changes: 2 additions & 2 deletions pvi/page/accueil.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<title>Accueil</title>
</head>
<body>
<img id="accueil_background" src="image/production.jpg"/>
<img id="accueil_logo" src="image/pvi_logo_big.png"/>
<img id="accueil_background" src="../image/production.jpg"/>
<img id="accueil_logo" src="../image/pvi_logo_big.png"/>
<button id="welcome" type="button">Bienvenue</button>
<div class="clock"></div>
<script type="application/javascript">
Expand Down
10 changes: 0 additions & 10 deletions pvi/page/actu.html

This file was deleted.

4 changes: 2 additions & 2 deletions pvi/page/bonne_journee.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<title>Title</title>
</head>
<body>
<img id="bonne_journee" src="image/winter.jpg"/>
<img id="accueil_logo" src="image/pvi_logo_big.png"/>
<img id="bonne_journee" src="../image/winter.jpg"/>
<img id="accueil_logo" src="../image/pvi_logo_big.png"/>
<button id="welcome" type="button">Bonne journée</button>
<div class="clock"></div>
<script type="application/javascript">
Expand Down
Loading

0 comments on commit 66e220f

Please sign in to comment.