From db4196937317d16f908b63a7cb5fba5be57c37db Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 4 Mar 2024 13:38:24 -0500 Subject: footer: fix links for some gifs --- .prettierignore | 5 +++++ package.json | 4 ++-- src/components/Footer.astro | 4 ++-- tsconfig.json | 6 +++--- 4 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 .prettierignore 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 = ; - if (gif.src.includes("steam.gif")) { + if (gif.src.includes("steam")) { return {img}; - } else if (gif.src.includes("poweredbynix.svg")) { + } else if (gif.src.includes("poweredbynix")) { return {img}; } 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 + } } -- cgit v1.2.3