diff --git a/.htaccess b/.htaccess index 97da6b2..3086a15 100644 --- a/.htaccess +++ b/.htaccess @@ -15,8 +15,12 @@ RewriteEngine on #----------------------- RewriteRule ^home$ index.html -RewriteRule ^projects$ projects.html -RewriteRule ^about$ about.html -RewriteRule ^accueil$ accueil.html -RewriteRule ^apropos$ apropos.html -RewriteRule ^projets$ projets.html [L] \ No newline at end of file +RewriteRule ^en/projects$ en/projects.html +RewriteRule ^en/about$ en/about.html +RewriteRule ^en$ index.html +RewriteRule ^en/$ index.html +RewriteRule ^fr/accueil$ fr/accueil.html +RewriteRule ^fr/$ fr/accueil.html +RewriteRule ^fr$ fr/accueil.html +RewriteRule ^fr/apropos$ fr/apropos.html +RewriteRule ^fr/projets$ fr/projets.html [L] \ No newline at end of file diff --git a/css/index.css b/css/index.css index fb3442c..dd3322a 100644 --- a/css/index.css +++ b/css/index.css @@ -263,6 +263,19 @@ header{ animation: none; } + .canou{ + width: 100vw; + height: 93vh; + padding: 25% 0 0 0; + margin: 0; + display: flex; + flex-direction: column; + justify-content: start; + align-items: center; + row-gap: 35px; + background-color: #050a30; + } + .navbar a { color: #5bcba7; } diff --git a/en/about.html b/en/about.html index 2881471..b0b9571 100644 --- a/en/about.html +++ b/en/about.html @@ -7,6 +7,7 @@ + diff --git a/en/projects.html b/en/projects.html index 9c8e84b..22eeb02 100644 --- a/en/projects.html +++ b/en/projects.html @@ -7,6 +7,7 @@ + diff --git a/fr/accueil.html b/fr/accueil.html index 53b7edb..69199f1 100644 --- a/fr/accueil.html +++ b/fr/accueil.html @@ -7,12 +7,13 @@ + - + Accueil diff --git a/fr/apropos.html b/fr/apropos.html index c409dcd..848b091 100644 --- a/fr/apropos.html +++ b/fr/apropos.html @@ -7,6 +7,7 @@ + diff --git a/fr/projets.html b/fr/projets.html index b5a4f88..63a6a8e 100644 --- a/fr/projets.html +++ b/fr/projets.html @@ -7,6 +7,7 @@ + diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..e91b494 Binary files /dev/null and b/img/favicon.ico differ diff --git "a/img/\342\201\253icon.png" "b/img/\342\201\253icon.png" new file mode 100644 index 0000000..64887fa Binary files /dev/null and "b/img/\342\201\253icon.png" differ diff --git a/index.html b/index.html index c8ddf6e..d20abb0 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + @@ -7,6 +7,8 @@ + + diff --git a/js/index.js b/js/index.js index 16516de..d78e4ee 100644 --- a/js/index.js +++ b/js/index.js @@ -1,14 +1,14 @@ const menu = document.querySelector('#menu'); menu.addEventListener("click", () => { - if(menu.getAttribute('src') === "../img/menu.png"){ + if(menu.getAttribute('src') === "img/menu.png"){ document.getElementById('home').style.display = "none"; - menu.setAttribute("src", "../img/x.png"); + menu.setAttribute("src", "img/x.png"); document.querySelector(".navbar").classList.toggle("canou"); document.querySelector(".navbar").classList.toggle("navbarMask"); - } else if(menu.getAttribute('src') === "../img/x.png"){ + } else if(menu.getAttribute('src') === "img/x.png"){ document.getElementById('home').style.display = "flex"; - menu.setAttribute("src", "../img/menu.png"); + menu.setAttribute("src", "img/menu.png"); document.querySelector(".navbar").classList.toggle("canou"); document.querySelector(".navbar").classList.toggle("navbarMask"); } else { diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..1e939e4 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,32 @@ + + + + + + + https://canestin-ndong.fr/ + 2022-07-12T23:21:24+00:00 + 1.00 + + + https://canestin-ndong.fr/home + 2022-07-12T23:21:24+00:00 + 0.80 + + + https://canestin-ndong.fr/en/about + 2022-07-12T23:00:07+00:00 + 0.80 + + + https://canestin-ndong.fr/en/projects + 2022-07-12T23:00:07+00:00 + 0.80 + + + + \ No newline at end of file