Skip to content

Commit 7567756

Browse files
committed
Specify SVG format, remove crt image prefetch
1 parent 955c480 commit 7567756

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import "../styles/index.css";
33
44
interface Props {
5-
title: string;
5+
title: string;
66
}
77
88
const { title } = Astro.props;
99
1010
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
1111
const pageTitle =
12-
Astro.url.pathname === "/" ? title : `${title} | Hypertext TV`;
12+
Astro.url.pathname === "/" ? title : `${title} | Hypertext TV`;
1313
---
1414

1515
<!doctype html>

src/pages/credits/_sections/Thanks.astro renamed to src/pages/credits/_sections/BuiltWith.astro

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,33 @@ import three from "../_images/three.svg";
1414
<h2>Built With</h2>
1515
<div class="thanks">
1616
<a href="https://astro.build/">
17-
<Image src={astro} alt="Astro" height={64} />
17+
<Image src={astro} alt="Astro" height={64} format="svg" />
1818
</a>
1919
<a href="https://biomejs.dev/">
20-
<Image src={biome} alt="Biome" height={48} />
20+
<Image src={biome} alt="Biome" height={48} format="svg" />
2121
</a>
2222
<a href="https://codepen.io/">
23-
<Image src={codepen} alt="Codepen" height={44} />
23+
<Image src={codepen} alt="Codepen" height={44} format="svg" />
2424
</a>
2525
<a href="https://www.figma.com/">
26-
<Image src={figma} alt="Figma" height={48} />
26+
<Image src={figma} alt="Figma" height={48} format="svg" />
2727
</a>
2828
<a href="https://threejs.org/">
29-
<Image src={three} alt="Three.js" height={68} />
29+
<Image src={three} alt="Three.js" height={68} format="svg" />
3030
</a>
3131
<a href="https://are.na/">
32-
<Image src={arena} alt="Are.na" height={48} />
32+
<Image src={arena} alt="Are.na" height={48} format="svg" />
3333
</a>
3434
<a href="https://frontend.horse/">
35-
<Image src={frontendHorse} alt="Frontend Horse" height={80} />
35+
<Image
36+
src={frontendHorse}
37+
alt="Frontend Horse"
38+
height={80}
39+
format="svg"
40+
/>
3641
</a>
3742
<a href="https://sfpc.study/">
38-
<Image src={sfpc} alt="SFPC" height={68} />
43+
<Image src={sfpc} alt="SFPC" height={68} format="svg" />
3944
</a>
4045
</div>
4146
</section>

src/pages/credits/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
import Television from "src/components/Television.astro";
33
import Layout from "src/layouts/Layout.astro";
44
import { GET } from "../api/contributors.json";
5+
import BuiltWith from "./_sections/BuiltWith.astro";
56
import Featuring from "./_sections/Featuring.astro";
67
import Fonts from "./_sections/Fonts.astro";
78
import Intro from "./_sections/Intro.astro";
89
import Rainbow from "./_sections/Rainbow.astro";
9-
import Thanks from "./_sections/Thanks.astro";
1010
1111
const response = await GET(Astro);
1212
const contributors: string[] = await response.json();
@@ -25,7 +25,7 @@ const contributors: string[] = await response.json();
2525
<Intro />
2626
<Featuring contributors={contributors} />
2727
<Fonts />
28-
<Thanks />
28+
<BuiltWith />
2929
</div>
3030
</div>
3131
<Rainbow />

0 commit comments

Comments
 (0)