-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
216 lines (195 loc) · 10.3 KB
/
index.html
File metadata and controls
216 lines (195 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO Meta Tags -->
<title>Star Wars - Textes d'introduction en CSS3 | Les 9 épisodes</title>
<meta name="description" content="Découvrez les textes d'introduction emblématiques des 9 épisodes Star Wars recréés en CSS3 avec animations 3D. Une expérience immersive de la saga culte.">
<meta name="keywords" content="Star Wars, CSS3, animation, intro, texte défilant, épisodes, saga, 3D">
<meta name="author" content="Star Wars CSS3">
<meta name="theme-color" content="#000000">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://firestar300.github.io/starwars-intro-css3/">
<meta property="og:title" content="Star Wars - Textes d'introduction en CSS3">
<meta property="og:description" content="Découvrez les textes d'introduction emblématiques des 6 épisodes Star Wars recréés en CSS3 avec animations 3D.">
<meta property="og:image" content="https://firestar300.github.io/starwars-intro-css3/img/starwars-logo.svg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://firestar300.github.io/starwars-intro-css3/">
<meta property="twitter:title" content="Star Wars - Textes d'introduction en CSS3">
<meta property="twitter:description" content="Découvrez les textes d'introduction emblématiques des 6 épisodes Star Wars recréés en CSS3 avec animations 3D.">
<meta property="twitter:image" content="https://firestar300.github.io/starwars-intro-css3/img/starwars-logo.svg">
<!-- Favicon -->
<link rel="icon" type="image/png" href="/img/favicon.png">
<link rel="apple-touch-icon" href="/img/favicon.png">
<!-- Stylesheet -->
<link rel="stylesheet" href="/style.css">
</head>
<body>
<!-- Welcome Modal -->
<div id="welcome-modal" class="welcome-modal">
<div class="modal-content">
<img src="/img/starwars-logo.svg" alt="Star Wars" class="modal-logo">
<h1 class="modal-title">Bienvenue dans la galaxie Star Wars</h1>
<p class="modal-subtitle">Souhaitez-vous activer le son pour une expérience immersive ?</p>
<div class="modal-buttons">
<button id="modal-sound-on" class="modal-btn modal-btn-primary">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 5L6 9H2v6h4l5 4V5z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.54 8.46a5 5 0 0 1 0 7.07" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.07 4.93a10 10 0 0 1 0 14.14" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>Avec le son</span>
</button>
<button id="modal-sound-off" class="modal-btn modal-btn-secondary">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 5L6 9H2v6h4l5 4V5z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="23" y1="9" x2="17" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="17" y1="9" x2="23" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>Sans le son</span>
</button>
</div>
</div>
</div>
<div class="logo-container">
<img src="/img/starwars-logo.svg" alt="Star Wars logo" class="logo">
</div>
<!-- Sound Toggle Button -->
<button id="sound-toggle" class="sound-toggle" aria-label="Activer/Désactiver le son">
<svg class="sound-icon sound-off" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 5L6 9H2v6h4l5 4V5z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="23" y1="9" x2="17" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="17" y1="9" x2="23" y2="15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<svg class="sound-icon sound-on" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="display: none;">
<path d="M11 5L6 9H2v6h4l5 4V5z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.54 8.46a5 5 0 0 1 0 7.07" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.07 4.93a10 10 0 0 1 0 14.14" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<!-- Swiper -->
<div class="swiper">
<div class="swiper-wrapper">
<!-- Episode I -->
<div class="swiper-slide" data-bg="/img/phantom-menace-artwork.png">
<div class="slide-bg slide-bg-ep1"></div>
<div class="slide-content">
<img src="/img/phantom-menace-artwork.png" alt="Episode I" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode I</h2>
<h3 class="episode-title">La Menace Fantôme</h3>
<a href="./episode1.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode II -->
<div class="swiper-slide" data-bg="/img/attack-of-the-clones-artwork.png">
<div class="slide-bg slide-bg-ep2"></div>
<div class="slide-content">
<img src="/img/attack-of-the-clones-artwork.png" alt="Episode II" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode II</h2>
<h3 class="episode-title">L'Attaque des Clones</h3>
<a href="./episode2.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode III -->
<div class="swiper-slide" data-bg="/img/revenge-of-the-sith-artwork.png">
<div class="slide-bg slide-bg-ep3"></div>
<div class="slide-content">
<img src="/img/revenge-of-the-sith-artwork.png" alt="Episode III" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode III</h2>
<h3 class="episode-title">La Revanche des Sith</h3>
<a href="./episode3.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode IV -->
<div class="swiper-slide" data-bg="/img/new-hope-artwork.png">
<div class="slide-bg slide-bg-ep4"></div>
<div class="slide-content">
<img src="/img/new-hope-artwork.png" alt="Episode IV" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode IV</h2>
<h3 class="episode-title">Un Nouvel Espoir</h3>
<a href="./episode4.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode V -->
<div class="swiper-slide" data-bg="/img/empire-strikes-back-artwork.png">
<div class="slide-bg slide-bg-ep5"></div>
<div class="slide-content">
<img src="/img/empire-strikes-back-artwork.png" alt="Episode V" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode V</h2>
<h3 class="episode-title">L'Empire Contre-Attaque</h3>
<a href="./episode5.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode VI -->
<div class="swiper-slide" data-bg="/img/return-of-the-jedi-artwork.png">
<div class="slide-bg slide-bg-ep6"></div>
<div class="slide-content">
<img src="/img/return-of-the-jedi-artwork.png" alt="Episode VI" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode VI</h2>
<h3 class="episode-title">Le Retour du Jedi</h3>
<a href="./episode6.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode VII -->
<div class="swiper-slide" data-bg="/img/the-force-awakens-artowork.png">
<div class="slide-bg slide-bg-ep7"></div>
<div class="slide-content">
<img src="/img/the-force-awakens-artowork.png" alt="Episode VII" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode VII</h2>
<h3 class="episode-title">Le Réveil de la Force</h3>
<a href="./episode7.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode VIII -->
<div class="swiper-slide" data-bg="/img/the-last-jedi-artwork.png">
<div class="slide-bg slide-bg-ep8"></div>
<div class="slide-content">
<img src="/img/the-last-jedi-artwork.png" alt="Episode VIII" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode VIII</h2>
<h3 class="episode-title">Les Derniers Jedi</h3>
<a href="./episode8.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
<!-- Episode IX -->
<div class="swiper-slide" data-bg="/img/the-rise-of-skywalker-artwork.png">
<div class="slide-bg slide-bg-ep9"></div>
<div class="slide-content">
<img src="/img/the-rise-of-skywalker-artwork.png" alt="Episode IX" class="slide-image">
<div class="slide-caption">
<h2 class="episode-number">Episode IX</h2>
<h3 class="episode-title">L'Ascension de Skywalker</h3>
<a href="./episode9.html" class="cta-button">Voir l'intro</a>
</div>
</div>
</div>
</div>
<!-- Navigation -->
<button class="swiper-button-prev" aria-label="Épisode précédent"></button>
<button class="swiper-button-next" aria-label="Épisode suivant"></button>
</div>
<!-- Barre de progression -->
<div class="progress-bar">
<div class="progress-fill"></div>
</div>
<script type="module" src="/src/scripts/home.js"></script>
</body>
</html>