This commit is contained in:
Adam Matthiesen 2024-01-30 11:59:13 -08:00
parent 235654fff0
commit e8cdc1189f
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{ {
"name": "www", "name": "www",
"type": "module", "type": "module",
"license": "MIT",
"version": "0.0.1", "version": "0.0.1",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
@ -15,7 +16,7 @@
"astro": "^4.2.6", "astro": "^4.2.6",
"astro-font": "^0.0.77", "astro-font": "^0.0.77",
"sass": "^1.69.5", "sass": "^1.69.5",
"sharp": "^0.33.1", "sharp": "^0.33.2",
"typescript": "^5.3.3" "typescript": "^5.3.3"
} }
} }

View File

@ -2,14 +2,13 @@
import '../styles/global.scss'; import '../styles/global.scss';
import { SiteTitle } from '../consts'; import { SiteTitle } from '../consts';
import spaceghost from '../assets/spaceghost.png' import spaceghost from '../assets/spaceghost.png'
import { Image } from 'astro:assets';
--- ---
<header> <header>
<nav> <nav>
<h2 id="site_title"> <h2 id="site_title">
<a href="/"> <a href="/">
<Image src={spaceghost} alt="logo" width={64}/> <img src={spaceghost.src} alt="logo" width={64}/>
{SiteTitle} {SiteTitle}
</a> </a>
</h2> </h2>