Compare commits

..
7 Commits
27 changed files with 491 additions and 162 deletions

No files matched your search

BIN
View File
Binary file not shown.
+57 -37
View File
@@ -7,10 +7,10 @@
<link rel="stylesheet" href="./public/css/index.css">
<link rel="stylesheet" href="./public/css/shared.css">
<link rel="stylesheet" href="./public/css/cubes.css">
<link rel="icon" href="./public/images/favicon.png">
<link rel="icon" href="./public/images/Star_Citizen_logo.png">
<title>Star Present ─ Home</title>
</head>
<body>
<body class="scroll-slider">
<nav>
<fieldset id="field-ing">
@@ -46,44 +46,64 @@
</span>
<header>
<a id="logo" href="#"> <img src="./public/images/favicon.png" alt="LOGO" width="50"> </a>
<a id="logo" href="#"> <img src="./public/images/Star_Citizen_logo.png" alt="LOGO" width="50"> </a>
</header>
<main>
<div id="arrow-down">
<a href="#start"> <img src="./public/images/arrow-down-icon.png" width="60"> </a>
</div>
<div class="wallpaper">
<div id="title">
<h1>Star Present</h1>
<h2>Accueil</h2>
<main class="page-split">
<div class="content-side">
<section class="stack-section" id="hero-section">
<div id="arrow-down">
<a href="#start"> <img src="./public/images/arrow-down-icon.png" width="60"> </a>
</div>
<div class="wallpaper">
<div id="title">
<h1>Star Present</h1>
<h2>Accueil</h2>
</div>
</div>
</section>
<section class="stack-section" id="pricing">
<div id="div-content">
<div id="start"> </div>
<canvas id="game" width="480" height="648"> </canvas>
<script src="./public/scripts/hell-bullet.js"> </script>
</div>
</section>
<section class="stack-section" id="footer-section">
<footer id="footer-box">
<div class="level-one">
<a href="https://robertsspaceindustries.com" target="_blank"> <img src="../public/images/footer/RSI.png" alt="" width="35"> </a>
<a href="https://starcitizen.tools/Star_Engine" target="_blank"> <img src="../public/images/footer/s-engine.png" alt="" width="100"> </a>
<a href="https://cloudimperiumgames.com/" target="_blank"> <img src="../public/images/footer/cig.png" alt="" width="35"></a>
</div>
<div id="bar"></div>
<div class="level-two">
<p>&copy; Tout droit réservé à nocode.var 2026 &dash; 2027</p>
</div>
<div class="level-three">
<a href="./v-one.html"> V1 </a>
<t> ❘ </t>
<a href="./websites.html"> Sites Utiles </a>
<t> ❘ </t>
<a href="./routes/author.html"> Auteur </a>
<t> ❘ </t>
<a href="./routes/legal-right.html"> Droits Légaux </a>
</div>
</footer>
</section>
</div>
<div class="indicator-side">
<div class="sticky-track">
<div class="dot is-filled" id="dot-top" title="Accueil"></div>
<div class="track-line"></div>
<div class="dot is-hollow" id="dot-mid" title="Contenu"></div>
<div class="track-line"></div>
<div class="dot is-hollow" id="dot-bottom" title="Footer"></div>
</div>
</div>
</div>
<div id="div-content" >
<div id="start"> </div>
<canvas id="game" width="480" height="648"> </canvas>
<script src="./public/scripts/hell-bullet.js"> </script>
</div>
</main>
<footer id="footer-box">
<div class="level-one">
<a href="https://robertsspaceindustries.com" target="_blank"> <img src="../public/images/footer/RSI.png" alt="" width="35"> </a>
<a href="https://starcitizen.tools/Star_Engine" target="_blank"> <img src="../public/images/footer/s-engine.png" alt="" width="100"> </a>
<a href="https://cloudimperiumgames.com/" target="_blank"> <img src="../public/images/footer/cig.png" alt="" width="35"></a>
</div>
<div id="bar"></div>
<div class="level-two">
<p>&copy; Tout droit réservé à nocode.var 2026 &dash; 2027</p>
</div>
<div class="level-three">
<a href="./v-one.html"> V1 </a>
<t> ❘ </t>
<a href="./websites.html"> Sites Utiles </a>
<t> ❘ </t>
<a href="./routes/author.html"> Auteur </a>
<t> ❘ </t>
<a href="./routes/legal-right.html"> Droits Légaux </a>
</div>
</footer>
<script src="./public/scripts/navbar.js"> </script>
<div id="bottom"> </div>
</body>
+5 -5
View File
@@ -8,7 +8,7 @@ body {
body #div-content {
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding-bottom: 7rem;
}
@@ -28,12 +28,12 @@ body #div-content {
}
.grid-item {
background-color: #235573;
background-color: #a2cceb;
padding: 1.5rem;
border-radius: 0.5rem;
color: #ffffff;
font-family: Quicksand, sans-serif;
box-shadow: 0.5rem 0.5rem 0rem #00000080;
box-shadow: 0.5rem 0.5rem 0rem #01162280;
}
.grid-item h3 {
@@ -54,7 +54,7 @@ body #div-content {
}
.grid-item.one img {
border: 0.25rem solid #1B4056;
border: 0.25rem solid #073a59;
border-radius: 2rem;
max-width: 18rem;
height: auto;
@@ -78,7 +78,7 @@ body #div-content {
.tag {
display: inline-block;
padding: 0.3rem 0.8rem;
background-color: #1B4056;
background-color: #073a59;
border: 0.1rem solid #834206ec;
border-radius: 1rem;
font-size: 0.85rem;
+8 -8
View File
@@ -9,7 +9,7 @@ body {
body #div-content {
height: 48rem;
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding-bottom: 7rem;
}
@@ -36,7 +36,7 @@ body #div-content {
}
.grid .one {
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: .40rem;
}
@@ -50,12 +50,12 @@ body #div-content {
}
.one img {
float: left;
box-shadow: 1rem 1rem 0rem #000000;
box-shadow: 1rem 1rem 0rem #011622;
}
.contact {
background-color:#307097;
box-shadow: 1rem 1rem 0rem #000000;
box-shadow: 1rem 1rem 0rem #011622;
border-radius: 2rem;
width: 30rem;
font-family: Quicksand, sans-serif;
@@ -75,9 +75,9 @@ body #div-content {
font-family: inherit;
}
input[type="text"], input[type="email"], textarea, select {
background-color: #1B4056;
background-color: #073a59;
color: #ffffff;
border: 0.1rem solid #1B4056;
border: 0.1rem solid #073a59;
border-radius: 0.3rem;
width: calc(100% - 4rem);
box-sizing: border-box;
@@ -125,7 +125,7 @@ body #div-content {
display: inline-block;
margin: 0;
padding: 0.5rem 1.2rem;
background-color: #1B4056;
background-color: #073a59;
color: #ffffff;
border: 0.1rem solid #834206ec;
border-radius: 0.3rem;
@@ -220,6 +220,6 @@ body #div-content {
}
.contact {
box-shadow: 0.5rem 0.5rem 0rem #000000;
box-shadow: 0.5rem 0.5rem 0rem #011622;
}
}
+6 -6
View File
@@ -10,10 +10,10 @@
}
.grid-item {
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: .4rem;
box-shadow: 1rem 1rem 0rem #000000;
box-shadow: 1rem 1rem 0rem #011622;
}
.grid-item:hover {
@@ -23,7 +23,7 @@
#div-content {
height: 40rem;
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding-bottom: 10rem;
}
@@ -47,7 +47,7 @@
}
.grid-item {
box-shadow: 0.6rem 0.6rem 0rem #000000;
box-shadow: 0.6rem 0.6rem 0rem #011622;
}
#div-content {
@@ -67,7 +67,7 @@
.grid-item {
min-height: 8rem;
box-shadow: 0.45rem 0.45rem 0rem #000000;
box-shadow: 0.45rem 0.45rem 0rem #011622;
}
#div-content {
@@ -84,7 +84,7 @@
}
.grid-item {
box-shadow: 0.3rem 0.3rem 0rem #000000;
box-shadow: 0.3rem 0.3rem 0rem #011622;
}
#div-content {
+6 -6
View File
@@ -10,10 +10,10 @@
}
.grid-item {
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: .4rem;
box-shadow: 1rem 1rem 0rem #000000;
box-shadow: 1rem 1rem 0rem #011622;
}
.grid-item:hover {
@@ -23,7 +23,7 @@
body #div-content {
height: 42rem;
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding-bottom: 10rem;
}
@@ -36,7 +36,7 @@ body #div-content {
}
.grid-item {
box-shadow: 0.6rem 0.6rem 0rem #000000;
box-shadow: 0.6rem 0.6rem 0rem #011622;
}
body #div-content {
@@ -56,7 +56,7 @@ body #div-content {
.grid-item {
min-height: 8rem;
box-shadow: 0.45rem 0.45rem 0rem #000000;
box-shadow: 0.45rem 0.45rem 0rem #011622;
}
body #div-content {
@@ -72,7 +72,7 @@ body #div-content {
}
.grid-item {
box-shadow: 0.3rem 0.3rem 0rem #000000;
box-shadow: 0.3rem 0.3rem 0rem #011622;
}
body #div-content {
padding-bottom: 0rem;
+4 -4
View File
@@ -11,7 +11,7 @@
}
.grid-item {
background-color: #235573;
background-color: #a2cceb;
padding: 2rem 2.5rem;
border-radius: .4rem;
line-height: 1.6;
@@ -26,7 +26,7 @@
}
.grid-item a {
color: #7FD4FF;
color: #3906f0;
text-decoration: none;
transition: color 0.2s ease;
}
@@ -51,13 +51,13 @@
}
.grid-item a:visited {
color: #B89BFF;
color: #aa3ea5;
}
body #div-content {
height: auto;
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding-bottom: 6rem;
}
+183 -8
View File
@@ -20,7 +20,7 @@
display: block;
width: 100%;
height: 3px;
background-color: #235573;
background-color: #a2cceb;
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
}
@@ -52,7 +52,7 @@ nav {
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #1B4056;
background-color: #073a59;
border-right: 0.3px solid black;
border-radius: 0.5rem;
transform: translateX(-100%);
@@ -66,12 +66,12 @@ nav.active {
nav a {
font-family: Quicksand, sans-serif;
color: #000000;
color: #011622;
font-size: 100%;
display: flex;
margin: 10% 0;
text-decoration: none;
background-color: #235573;
background-color: #a2cceb;
justify-content: center;
align-items: center;
width: 100%;
@@ -93,7 +93,7 @@ nav a:hover {
display: flex;
justify-content: center;
align-items: center;
background: #235573;
background: #a2cceb;
width: 70%;
height: 5%;
border-radius: 20px;
@@ -101,7 +101,8 @@ nav a:hover {
.wallpaper {
height: 55rem;
background-image: linear-gradient( #1b1b1b00, #1B4056 );
background-color: #073a5985;
background-image: linear-gradient( #00000049, #073a59 );
display: flex;
justify-content: center;
align-items: center;
@@ -191,7 +192,6 @@ t {
#footer-box a:hover {
background-color: #1d445e8e;
border: 1.5px solid #142c3b;
border-radius: 0.4rem;
}
@@ -240,7 +240,7 @@ nav legend {
}
#bar {
background-color: #000000;
background-color: #011622;
padding: 0.02%;
width: 80%;
margin-left: 10%;
@@ -364,3 +364,178 @@ nav legend {
font-size: 10px;
}
}
/* ============================================
SCROLL SLIDER — HOME
============================================ */
body.scroll-slider {
overflow: hidden;
}
body.scroll-slider main {
max-width: none;
}
.page-split {
display: grid;
grid-template-columns: 1fr 60px;
height: 100vh;
width: 100%;
overflow: hidden;
}
.content-side {
position: relative;
height: 100vh;
overflow: hidden;
}
.stack-section {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
box-sizing: border-box;
padding: 60px 60px 40px 60px;
transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1),
opacity 0.7s ease;
}
body.scroll-slider .wallpaper {
width: 100%;
height: 100%;
min-height: 100vh;
position: relative;
overflow: hidden;
}
body.scroll-slider .wallpaper::before {
content: "";
position: absolute;
inset: 0;
backdrop-filter: blur(6px);
background: rgba(7, 58, 89, 0.25);
}
body.scroll-slider #title {
position: relative;
z-index: 1;
}
#hero-section {
z-index: 2;
transform: translateY(0);
opacity: 1;
}
#hero-section.slide-out-up {
transform: translateY(-100%);
opacity: 0;
pointer-events: none;
}
#pricing {
z-index: 1;
transform: translateY(100%);
opacity: 0;
}
#pricing.slide-in-up {
transform: translateY(0);
opacity: 1;
z-index: 3;
}
#pricing.slide-out-down {
transform: translateY(100%);
opacity: 0;
pointer-events: none;
}
#pricing.slide-out-up {
transform: translateY(-100%);
opacity: 0;
pointer-events: none;
}
#footer-section {
z-index: 1;
transform: translateY(100%);
opacity: 0;
justify-content: center;
}
#footer-section.slide-in-up {
transform: translateY(0);
opacity: 1;
z-index: 3;
}
#footer-section.slide-out-down {
transform: translateY(100%);
opacity: 0;
pointer-events: none;
}
.indicator-side {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
position: relative;
z-index: 100;
}
.sticky-track {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 55vh;
}
.track-line {
width: 2px;
flex-grow: 1;
background: repeating-linear-gradient(
to bottom,
#a2cceb 0,
#a2cceb 5px,
transparent 5px,
transparent 10px
);
opacity: 0.2;
}
.dot {
width: 18px;
height: 18px;
border-radius: 50%;
border: 2px solid #a2cceb;
cursor: pointer;
transition: all 0.3s ease;
flex-shrink: 0;
background: transparent;
}
.dot.is-filled {
background: #a2cceb;
box-shadow: 0 0 12px rgba(162, 204, 235, 0.7);
}
.dot.is-hollow {
background: transparent;
box-shadow: none;
}
@media screen and (max-width: 768px) {
.stack-section { padding: 40px 20px; }
.page-split { grid-template-columns: 1fr 40px; }
}
+5 -20
View File
@@ -1,6 +1,6 @@
body #div-content {
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding: 5rem 0 7rem;
}
@@ -15,11 +15,11 @@ body #div-content {
.grid-item {
align-self: center;
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: 0.4rem;
overflow: hidden;
box-shadow: 1rem 1rem 0rem #000000;
box-shadow: 1rem 1rem 0rem #011622;
}
.grid-item:hover {
@@ -28,7 +28,6 @@ body #div-content {
.grid-item img {
border-radius: 2rem;
box-shadow: 1rem 1rem 0rem #000000;
max-width: 30%;
height: auto;
float: left;
@@ -37,7 +36,6 @@ body #div-content {
.grid-item img:hover {
transform: scale(1.01);
box-shadow: 1rem 1rem 0rem #000000;
cursor: default;
}
@@ -63,7 +61,7 @@ body #div-content {
}
.grid-item {
box-shadow: 0.6rem 0.6rem 0rem #000000;
box-shadow: 0.6rem 0.6rem 0rem #011622;
}
.grid-item img {
@@ -72,11 +70,6 @@ body #div-content {
margin: 0 auto 1rem;
max-width: 100%;
width: 100%;
box-shadow: 0.6rem 0.6rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.6rem 0.6rem 0rem #000000;
}
.grid-item p {
@@ -96,15 +89,7 @@ body #div-content {
.grid-item {
padding: 0.6rem;
box-shadow: 0.3rem 0.3rem 0rem #000000;
}
.grid-item img {
box-shadow: 0.3rem 0.3rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.3rem 0.3rem 0rem #000000;
box-shadow: 0.3rem 0.3rem 0rem #011622;
}
.grid-item p {
+6 -15
View File
@@ -1,7 +1,7 @@
body #div-content {
height: 130rem;
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding-bottom: 7rem;
}
@@ -19,7 +19,7 @@ body #div-content {
.grid-item {
align-self: center;
box-shadow: 0.6rem 0.6rem 0rem #000000;
box-shadow: 0.6rem 0.6rem 0rem #011622;
border-radius: 0.5rem;
}
@@ -34,19 +34,18 @@ body #div-content {
}
.grid-item img:hover {
box-shadow: 0.5rem 0.51rem 0rem #000000;
transform: scale(1.01);
cursor: default;
}
.grid .one ,.three {
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: .40rem;
}
.grid .two {
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: .40rem;
}
@@ -90,7 +89,7 @@ body #div-content {
}
.grid-item {
box-shadow: 0.4rem 0.4rem 0rem #000000;
box-shadow: 0.4rem 0.4rem 0rem #011622;
}
.grid-item img {
@@ -100,10 +99,6 @@ body #div-content {
width: 100%;
}
.grid-item img:hover {
box-shadow: 0.35rem 0.35rem 0rem #000000;
}
.grid .one img,
.grid .two img,
.grid .three img {
@@ -131,11 +126,7 @@ body #div-content {
}
.grid-item {
box-shadow: 0.25rem 0.25rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.2rem 0.2rem 0rem #000000;
box-shadow: 0.25rem 0.25rem 0rem #011622;
}
.grid-item p {
+5 -26
View File
@@ -1,6 +1,6 @@
body #div-content {
position: relative;
background-color: #1B4056;
background-color: #073a59;
z-index: 2;
padding: 5rem 0 7rem;
}
@@ -14,11 +14,11 @@ body #div-content {
.grid-item {
align-self: center;
background-color: #235573;
background-color: #a2cceb;
padding: 1rem;
border-radius: .40rem;
overflow: hidden;
box-shadow: 0.6rem 0.6rem 0rem #000000;
box-shadow: 0.4rem 0.4rem 0rem #011622;
}
.grid-item:hover {
@@ -26,14 +26,12 @@ body #div-content {
}
.grid-item img {
box-shadow: 0.5rem 0.51rem 0rem #000000;
border-radius: 2rem;
max-width: 50%;
height: auto;
}
.grid-item img:hover {
box-shadow: 0.5rem 0.51rem 0rem #000000;
transform: scale(1.01);
cursor: default;
}
@@ -75,7 +73,7 @@ body #div-content {
}
.grid-item {
box-shadow: 0.4rem 0.4rem 0rem #000000;
box-shadow: 0.4rem 0.4rem 0rem #011622;
}
.grid-item img,
@@ -90,11 +88,6 @@ body #div-content {
margin: 0 auto 1rem;
max-width: 100%;
width: 100%;
box-shadow: 0.35rem 0.35rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.35rem 0.35rem 0rem #000000;
}
.grid-item p {
@@ -118,21 +111,7 @@ body #div-content {
.grid-item {
padding: 0.6rem;
box-shadow: 0.25rem 0.25rem 0rem #000000;
}
.grid-item img,
.grid .one img,
.grid .two img,
.grid .three img,
.grid .four img,
.grid .five img,
.grid .six img {
box-shadow: 0.2rem 0.2rem 0rem #000000;
}
.grid-item img:hover {
box-shadow: 0.2rem 0.2rem 0rem #000000;
box-shadow: 0.25rem 0.25rem 0rem #011622;
}
body #div-content {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

+180 -1
View File
@@ -6,4 +6,183 @@ MENUBUTTON.addEventListener("click", toggleNav)
function toggleNav(){
MENUBUTTON.classList.toggle("active")
NAVIGATION.classList.toggle("active")
}
}
// Scroll Slider (3 sections)
document.addEventListener('DOMContentLoaded', () => {
const sections = [
document.getElementById('hero-section'),
document.getElementById('pricing'),
document.getElementById('footer-section')
];
const dots = [
document.getElementById('dot-top'),
document.getElementById('dot-mid'),
document.getElementById('dot-bottom')
];
if (!sections[0] || !sections[1] || !sections[2]) {
return;
}
const hashMap = ['', '#pricing', '#footer'];
let current = 0;
let isAnimating = false;
function clean(section) {
section.classList.remove('slide-in-up', 'slide-out-up', 'slide-out-down');
}
function applyStateInstant(index) {
sections.forEach((section, i) => {
section.style.transition = 'none';
clean(section);
if (i < index) {
section.classList.add('slide-out-up');
} else if (i === index) {
section.classList.add('slide-in-up');
}
});
requestAnimationFrame(() => requestAnimationFrame(() => {
sections.forEach(section => { section.style.transition = ''; });
}));
}
function updateDots() {
dots.forEach((dot, i) => {
if (!dot) {
return;
}
dot.classList.toggle('is-filled', i === current);
dot.classList.toggle('is-hollow', i !== current);
});
}
function updateHash() {
const hash = hashMap[current];
history.replaceState(null, '', hash || window.location.pathname);
}
function goTo(target) {
if (isAnimating || target === current) {
return;
}
if (target < 0 || target > sections.length - 1) {
return;
}
isAnimating = true;
const prev = current;
current = target;
if (target > prev) {
clean(sections[prev]);
sections[prev].classList.add('slide-out-up');
setTimeout(() => {
clean(sections[target]);
sections[target].classList.add('slide-in-up');
}, 80);
} else {
clean(sections[prev]);
sections[prev].classList.add('slide-out-down');
setTimeout(() => {
clean(sections[target]);
sections[target].classList.add('slide-in-up');
}, 80);
}
updateDots();
updateHash();
setTimeout(() => { isAnimating = false; }, 750);
}
function init() {
const hash = window.location.hash;
if (hash === '#pricing') {
current = 1;
} else if (hash === '#footer') {
current = 2;
} else {
current = 0;
}
applyStateInstant(current);
updateDots();
}
const btnToPricing = document.getElementById('btn-to-pricing');
const btnToHero = document.getElementById('btn-to-hero');
const btnToFooter = document.getElementById('btn-to-footer');
const btnFooterToPricing = document.getElementById('btn-footer-to-pricing');
if (btnToPricing) btnToPricing.addEventListener('click', () => goTo(1));
if (btnToHero) btnToHero.addEventListener('click', () => goTo(0));
if (btnToFooter) btnToFooter.addEventListener('click', () => goTo(2));
if (btnFooterToPricing) btnFooterToPricing.addEventListener('click', () => goTo(1));
dots.forEach((dot, i) => {
if (!dot) {
return;
}
dot.addEventListener('click', () => goTo(i));
});
window.addEventListener('wheel', (event) => {
if (isAnimating) {
return;
}
if (event.deltaY > 30) {
goTo(current + 1);
} else if (event.deltaY < -30) {
goTo(current - 1);
}
}, { passive: true });
let touchStartY = 0;
window.addEventListener('touchstart', (event) => {
touchStartY = event.touches[0].clientY;
}, { passive: true });
window.addEventListener('touchend', (event) => {
if (isAnimating) {
return;
}
const delta = touchStartY - event.changedTouches[0].clientY;
if (delta > 50) {
goTo(current + 1);
} else if (delta < -50) {
goTo(current - 1);
}
}, { passive: true });
window.addEventListener('keydown', (event) => {
if (isAnimating) {
return;
}
if (event.key === 'ArrowDown' || event.key === 'PageDown') {
goTo(current + 1);
}
if (event.key === 'ArrowUp' || event.key === 'PageUp') {
goTo(current - 1);
}
});
window.addEventListener('hashchange', () => {
const hash = window.location.hash;
const target = hash === '#pricing' ? 1 : hash === '#footer' ? 2 : 0;
goTo(target);
});
init();
});
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="description" content="Star Present ─ Présentation de l'auteur du projet et de son parcours.">
<link rel="stylesheet" href="../public/css/author.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Auteur</title>
</head>
<body>
@@ -43,7 +43,7 @@
</button>
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/cities.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Ville</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="description" content="Star Present ─ Contactez l'équipe du projet pour toute question, suggestion ou collaboration.">
<link rel="stylesheet" href="../public/css/contact.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Contact</title>
</head>
<body>
@@ -43,7 +43,7 @@
</button>
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/current-version.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/cubes-seven.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Version</title>
</head>
<body>
@@ -44,7 +44,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/event.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Event</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/cubes.css">
<link rel="stylesheet" href="../public/css/legal-right.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Droits Légaux</title>
</head>
<body>
@@ -47,7 +47,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="50"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="50"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/lore.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares-lore.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Histoire</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/planets.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Planètes</title>
</head>
<body>
@@ -44,7 +44,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/ships.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Vaisseaux</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/solar-system.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares-solar.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Système</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/v-one.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/cubes-seven.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ V1</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/weapons.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/squares.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Armes</title>
</head>
<body>
@@ -45,7 +45,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="../public/css/websites.css">
<link rel="stylesheet" href="../public/css/shared.css">
<link rel="stylesheet" href="../public/css/cubes-seven.css">
<link rel="icon" href="../public/images/favicon.png">
<link rel="icon" href="../public/images/Star_Citizen_logo.png">
<title>Star Present ─ Sites Utile</title>
</head>
<body>
@@ -44,7 +44,7 @@
</span>
<header>
<a id="logo" href="../index.html"> <img src="../public/images/favicon.png" alt="LOGO" width="46"> </a>
<a id="logo" href="../index.html"> <img src="../public/images/Star_Citizen_logo.png" alt="LOGO" width="46"> </a>
</header>
<main>
<div id="arrow-down">