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",
"type": "module",
"license": "MIT",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
@ -15,7 +16,7 @@
"astro": "^4.2.6",
"astro-font": "^0.0.77",
"sass": "^1.69.5",
"sharp": "^0.33.1",
"sharp": "^0.33.2",
"typescript": "^5.3.3"
}
}

View File

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