Skip to content

Commit 2ac4a6a

Browse files
committed
h
1 parent 486afc6 commit 2ac4a6a

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

src/routes/+page.svelte

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@
8383
<enhanced:img src="$lib/images/hc-hackathon.jpg" />
8484
<figcaption>Teenagers get together in hackathons to build cool things.</figcaption>
8585
</figure>
86-
<a href="https://www.youtube.com/watch?v=QvCoISXfcE8">
87-
<figure class="placement-2" style="--deg: -1deg; --r-deg: 2deg">
86+
<figure class="placement-2" style="--deg: -1deg; --r-deg: 2deg">
87+
<a href="https://www.youtube.com/watch?v=QvCoISXfcE8" aria-label="Hack Club Apocalypse video">
8888
<enhanced:img src="$lib/images/hc-apocalypse.jpg" />
89-
<p>
90-
Click the picture to play the video.
91-
</p>
92-
<figcaption>
93-
After an apocalypse, comes a revolution.
94-
Last year, 150 teenage hackers came together at Hack Club's
95-
Apocalypse in Toronto to build cool projects.
96-
</figcaption>
97-
</figure>
98-
</a>
89+
</a>
90+
<p>
91+
Click the picture to play the video.
92+
</p>
93+
<figcaption>
94+
After an apocalypse, comes a revolution.
95+
Last year, 150 teenage hackers came together at Hack Club's
96+
Apocalypse in Toronto to build cool projects.
97+
</figcaption>
98+
</figure>
9999
</div>
100100
</div>
101101
</main>
@@ -401,6 +401,7 @@
401401
transform: translateY(-1rem);
402402
gap: 2rem;
403403
padding: 0 2rem;
404+
justify-content: center;
404405
405406
figure {
406407
display: flex;
@@ -410,6 +411,9 @@
410411
color: black;
411412
412413
height: min-content;
414+
flex: 1 1 18rem;
415+
min-width: 18rem;
416+
width: 100%;
413417
max-width: 22rem;
414418
transform-origin: top left;
415419
transform: rotate(var(--deg));

0 commit comments

Comments
 (0)