We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2cd53f commit 0221dbdCopy full SHA for 0221dbd
2 files changed
apps/marketing/src/assets/icon.png
1.08 MB
apps/marketing/src/layouts/Layout.astro
@@ -1,4 +1,7 @@
1
---
2
+import { Image } from "astro:assets";
3
+import navIcon from "../assets/icon.png";
4
+
5
interface Props {
6
title?: string;
7
description?: string;
@@ -31,7 +34,14 @@ const {
31
34
<div class="page">
32
35
<nav class="nav">
33
36
<a href="/" class="nav-brand">
- <img src="/icon.png" alt="T3" class="nav-icon" />
37
+ <Image
38
+ src={navIcon}
39
+ alt="T3"
40
+ width={28}
41
+ height={28}
42
+ priority
43
+ class="nav-icon"
44
+ />
45
</a>
46
<a
47
href="https://github.com/pingdotgg/t3code"
0 commit comments