summaryrefslogtreecommitdiff
path: root/views/index.html
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-03-27 14:20:24 +0100
committerLinnnus <[email protected]>2024-03-31 15:40:19 +0200
commit7a7b2a6415e09fcaf596bad5c52fd9572633b073 (patch)
tree11b36261214bf9bbd39a418c6c64d33dafe36e56 /views/index.html
parent05394a2be90a0fdf8c9ab571d07ed6c4a82ce89d (diff)
Move styles and images into subfolder
See the updates to the README for a description of the new layout. Note that the /static/ prefix has also been removed from URLs. It felt kind of like we were leaking implementation details. The fact that these files are staic doesn't concern the consumer of the service.
Diffstat (limited to 'views/index.html')
-rw-r--r--views/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/index.html b/views/index.html
index 0b5b8ae..bbe8af4 100644
--- a/views/index.html
+++ b/views/index.html
@@ -4,8 +4,8 @@
{# Since the background image is declared in the CSS, we can improve
loading times by instructing the browser to start loading the image
*before* it has even parsed the CSS. #}
- <link rel="preload" as="image" href="/static/hero.jpeg">
- <link rel="stylesheet" href="/static/index.css">
+ <link rel="preload" as="image" href="/images/hero.jpeg">
+ <link rel="stylesheet" href="/styles/index.css">
{% endblock %}
{% block content %}
@@ -57,13 +57,13 @@
</section>
<section class="boxes__item">
<h2 class="boxes__header">Our base</h2>
- <img class="boxes__image" src="/static/base.jpeg" width="1200" height="675" alt="A very dark and mysterious palace">
+ <img class="boxes__image" src="/images/base.jpeg" width="1200" height="675" alt="A very dark and mysterious palace">
</section>
</div>
<div class="boxes__column boxes__column--right">
<section class="boxes__item">
<h2 class="boxes__header">The crew</h2>
- <img class="boxes__image" src="/static/crew.jpeg" width="1600" height="1200" alt="A crew of high-level WoW players">
+ <img class="boxes__image" src="/images/crew.jpeg" width="1600" height="1200" alt="A crew of high-level WoW players">
</section>
<section class="boxes__item">
<h2 class="boxes__header">Coins</h2>