Skip to content

Commit 3829bdc

Browse files
committed
Add section header images
1 parent 5027d6c commit 3829bdc

11 files changed

+90
-5
lines changed
314 KB
Loading
36.7 KB
Binary file not shown.
306 KB
Loading
36.9 KB
Binary file not shown.
317 KB
Loading
36.8 KB
Binary file not shown.

public/images/testimonials-banner.png

316 KB
Loading
35.1 KB
Binary file not shown.

public/images/vowel-table-banner.png

318 KB
Loading

public/images/vowel-table-banner.webp

34.2 KB
Binary file not shown.

src/index.ejs

+90-5
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,24 @@
111111

112112
<article>
113113
<section>
114-
<h2>Runic translator</h2>
114+
<header>
115+
<picture>
116+
<source
117+
srcset="./images/runic-translator-banner.webp"
118+
type="image/webp"
119+
/>
120+
<source
121+
srcset="./images/runic-translator-banner.png"
122+
type="image/png"
123+
/>
124+
<img
125+
loading="lazy"
126+
class="section-banner"
127+
src="./images/runic-translator-banner.png"
128+
alt="Runic Translator"
129+
/>
130+
</picture>
131+
</header>
115132
<p>
116133
Anything you type in English will be translated to
117134
phonetic, and then converted to Runic.<br />
@@ -124,31 +141,99 @@
124141

125142
<article>
126143
<section>
127-
<h2>Rune Vowel Table</h2>
144+
<header>
145+
<picture>
146+
<source
147+
srcset="./images/vowel-table-banner.webp"
148+
type="image/webp"
149+
/>
150+
<source
151+
srcset="./images/vowel-table-banner.png"
152+
type="image/png"
153+
/>
154+
<img
155+
loading="lazy"
156+
class="section-banner"
157+
src="./images/vowel-table-banner.png"
158+
alt="Vowel Table"
159+
/>
160+
</picture>
161+
</header>
128162
<p>Click on any card to copy the vowel.</p>
129163
</section>
130164
<div id="rune-vowel-table"></div>
131165
</article>
132166

133167
<article>
134168
<section>
135-
<h2>Rune Consonant Table</h2>
169+
<header>
170+
<picture>
171+
<source
172+
srcset="./images/consonant-table-banner.webp"
173+
type="image/webp"
174+
/>
175+
<source
176+
srcset="./images/consonant-table-banner.png"
177+
type="image/png"
178+
/>
179+
<img
180+
loading="lazy"
181+
class="section-banner"
182+
src="./images/consonant-table-banner.png"
183+
alt="Consonant Table"
184+
/>
185+
</picture>
186+
</header>
136187
<p>Click on any card to copy the consonant.</p>
137188
</section>
138189
<div id="rune-consonant-table"></div>
139190
</article>
140191

141192
<article>
142193
<section>
143-
<h2>Runic Playground</h2>
194+
<header>
195+
<picture>
196+
<source
197+
srcset="./images/runic-playground-banner.webp"
198+
type="image/webp"
199+
/>
200+
<source
201+
srcset="./images/runic-playground-banner.png"
202+
type="image/png"
203+
/>
204+
<img
205+
loading="lazy"
206+
class="section-banner"
207+
src="./images/runic-playground-banner.png"
208+
alt="Runic Playground"
209+
/>
210+
</picture>
211+
</header>
144212
<p>Create your own runes by clicking on segments.</p>
145213
</section>
146214
<div class="runic-playground-container"></div>
147215
</article>
148216

149217
<article>
150218
<section>
151-
<h2>Testimonials</h2>
219+
<header>
220+
<picture>
221+
<source
222+
srcset="./images/testimonials-banner.webp"
223+
type="image/webp"
224+
/>
225+
<source
226+
srcset="./images/testimonials-banner.png"
227+
type="image/png"
228+
/>
229+
<img
230+
loading="lazy"
231+
class="section-banner"
232+
src="./images/testimonials-banner.png"
233+
alt="Testimonials"
234+
/>
235+
</picture>
236+
</header>
152237
<p>See what fans are saying about this site!</p>
153238
</section>
154239
<div class="testimonials-container"></div>

0 commit comments

Comments
 (0)