Skip to content

Commit 95646b4

Browse files
committed
fix: updates episode links to relative paths
Changes episode links to relative paths, ensuring they function correctly regardless of the deployment directory. Removes background-size style property.
1 parent 4c8aa80 commit 95646b4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@
1414

1515
<div class="episodes-grid">
1616
<div class="episode episode-1">
17-
<a href="/episode1.html" title="Star Wars Episode I"></a>
17+
<a href="./episode1.html" title="Star Wars Episode I"></a>
1818
</div>
1919
<div class="episode episode-2">
20-
<a href="/episode2.html" title="Star Wars Episode II"></a>
20+
<a href="./episode2.html" title="Star Wars Episode II"></a>
2121
</div>
2222
<div class="episode episode-3">
23-
<a href="/episode3.html" title="Star Wars Episode III"></a>
23+
<a href="./episode3.html" title="Star Wars Episode III"></a>
2424
</div>
2525
<div class="episode episode-4">
26-
<a href="/episode4.html" title="Star Wars Episode IV"></a>
26+
<a href="./episode4.html" title="Star Wars Episode IV"></a>
2727
</div>
2828
<div class="episode episode-5">
29-
<a href="/episode5.html" title="Star Wars Episode V"></a>
29+
<a href="./episode5.html" title="Star Wars Episode V"></a>
3030
</div>
3131
<div class="episode episode-6">
32-
<a href="/episode6.html" title="Star Wars Episode VI"></a>
32+
<a href="./episode6.html" title="Star Wars Episode VI"></a>
3333
</div>
3434
</div>
3535
</div>

style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
body {
88
background: url(/img/background.jpg) center center fixed;
9-
background-size: cover;
109
text-align: center;
1110
font-family: Arial, Helvetica, sans-serif;
1211
min-height: 100vh;

0 commit comments

Comments
 (0)