diff options
| author | seth <[email protected]> | 2024-03-04 13:38:24 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-03-04 13:38:24 -0500 |
| commit | db4196937317d16f908b63a7cb5fba5be57c37db (patch) | |
| tree | 5a3472296e9e710b27c62f8ca3c0e29bfdec3deb | |
| parent | 63272088d3bed7da78e4a072805c80cc483ebd3d (diff) | |
footer: fix links for some gifs
| -rw-r--r-- | .prettierignore | 5 | ||||
| -rw-r--r-- | package.json | 4 | ||||
| -rw-r--r-- | src/components/Footer.astro | 4 | ||||
| -rw-r--r-- | tsconfig.json | 6 |
4 files changed, 12 insertions, 7 deletions
diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..d0f5d76 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +.astro/ +flake.lock +pnpm-lock.yaml diff --git a/package.json b/package.json index 61f01f2..4d9c13f 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "license": "MIT", "scripts": { "dev": "astro dev", - "start": "astro dev", - "build": "astro check && astro build", + "build": "astro build", + "check": "astro check", "preview": "astro preview", "astro": "astro", "lint": "tsc && eslint .", diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 4f7286f..7897b8d 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -12,9 +12,9 @@ const { stdout: gitCommit } = await execa("git", ["rev-parse", "HEAD"]); gifs.map(({ gif, alt }) => { const img = <Picture src={gif} alt={alt} formats={["gif"]} />; - if (gif.src.includes("steam.gif")) { + if (gif.src.includes("steam")) { return <a href="https://dnsense.pub/">{img}</a>; - } else if (gif.src.includes("poweredbynix.svg")) { + } else if (gif.src.includes("poweredbynix")) { return <a href="https://github.com/sakecode">{img}</a>; } else { return img; diff --git a/tsconfig.json b/tsconfig.json index 78c72d4..45c6246 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,8 +8,8 @@ "@layouts/*": ["src/layouts/*"], "@pages/*": ["src/pages/*"], "@root/*": ["*"], - "@styles/*": ["src/styles/*"], + "@styles/*": ["src/styles/*"] }, - "allowJs": false, - }, + "allowJs": false + } } |
