Compare commits

..

8 Commits

12 changed files with 951 additions and 1225 deletions

View File

@@ -1,6 +1,12 @@
# yamllint disable-line rule:line-length
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
--- ---
version: "0.2" version: "0.2"
language: "en" language: "en"
ignorePaths:
- /pnpm-lock.yaml
words: words:
- dockervolumes
- grayscale
- keyoxide - keyoxide
- markuplint - markuplint

1
.ignore Normal file
View File

@@ -0,0 +1 @@
pnpm-lock.yaml

3
.prettierignore Normal file
View File

@@ -0,0 +1,3 @@
/.astro/
/dist/
/pnpm-lock.yaml

View File

@@ -1,7 +1,12 @@
# vim: filetype=gitignore # vim: filetype=gitignore
/dist/
*.ico *.ico
*.json *.json
*.md *.md
*.mjs *.mjs
*.png
*.svg *.svg
*.webp
*.yaml *.yaml

View File

@@ -32,7 +32,7 @@ Any static assets, like images, can be placed in the `public/` directory.
All commands are run from the root of the project, from a terminal: All commands are run from the root of the project, from a terminal:
| Command | Action | | Command | Action |
| :------------------------ | :----------------------------------------------- | | :--------------------- | :----------------------------------------------- |
| `pnpm install` | Installs dependencies | | `pnpm install` | Installs dependencies |
| `pnpm dev` | Starts local dev server at `localhost:4321` | | `pnpm dev` | Starts local dev server at `localhost:4321` |
| `pnpm build` | Build your production site to `./dist/` | | `pnpm build` | Build your production site to `./dist/` |

View File

@@ -5,17 +5,23 @@ import { defineConfig } from "eslint/config";
import jsxA11y from "eslint-plugin-jsx-a11y"; import jsxA11y from "eslint-plugin-jsx-a11y";
export default defineConfig([ export default defineConfig([
{
ignores: ["./dist/"],
},
{ {
files: ["**/*.{js,mjs}"], files: ["**/*.{js,mjs}"],
plugins: { js }, plugins: { js },
extends: ["js/recommended"], extends: ["js/recommended"],
}, },
{ {
files: ["**/*.{astro,html}"], files: ["**/*.{astro,html}"],
plugins: { plugins: {
"jsx-a11y": jsxA11y, "jsx-a11y": jsxA11y,
}, },
}, },
...eslintPluginAstro.configs.recommended, ...eslintPluginAstro.configs.recommended,
eslintPluginPrettierRecommended, eslintPluginPrettierRecommended,
]); ]);

View File

@@ -7,23 +7,26 @@
"build": "astro build", "build": "astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro", "astro": "astro",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint:eslint": "eslint", "lint:eslint": "eslint",
"lint:markuplint": "markuplint '**/*.{astro,html}'", "lint:markuplint": "markuplint './{public,src}/**/*.{astro,html}'",
"lint:stylelint": "stylelint ." "lint:stylelint": "stylelint .",
"deploy": "astro build && scp -r dist/* vds:~/dockervolumes/f1r3xyz_website/web/"
}, },
"dependencies": { "dependencies": {
"@tailwindcss/vite": "^4.2.1", "@tailwindcss/vite": "^4.2.2",
"astro": "^5.17.1", "astro": "^6.0.8",
"tailwindcss": "^4.2.1" "tailwindcss": "^4.2.2"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/ts-plugin": "^1.10.6", "@astrojs/ts-plugin": "^1.10.7",
"@eslint/js": "^10.0.1", "@eslint/js": "^10.0.1",
"@markuplint/astro-parser": "^4.6.23", "@markuplint/astro-parser": "^4.6.23",
"@markuplint/ml-config": "^4.8.15", "@markuplint/ml-config": "^4.8.15",
"@typescript-eslint/parser": "^8.56.1", "@typescript-eslint/parser": "^8.57.2",
"cspell": "^9.7.0", "cspell": "^9.7.0",
"eslint": "^10.0.2", "eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"eslint-plugin-astro": "^1.6.0", "eslint-plugin-astro": "^1.6.0",
"eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-jsx-a11y": "^6.10.2",
@@ -34,7 +37,7 @@
"prettier-plugin-astro": "^0.14.1", "prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.7.2", "prettier-plugin-tailwindcss": "^0.7.2",
"sharp": "^0.34.5", "sharp": "^0.34.5",
"stylelint": "^17.4.0", "stylelint": "^17.5.0",
"stylelint-config-html": "^1.1.0", "stylelint-config-html": "^1.1.0",
"stylelint-config-recommended": "^18.0.0", "stylelint-config-recommended": "^18.0.0",
"stylelint-config-standard": "^40.0.0", "stylelint-config-standard": "^40.0.0",

2104
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

3
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,3 @@
---
overrides:
minimatch@10.1.2: 10.2.3

1
src/images/GitHub.svg Normal file
View File

@@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>

After

Width:  |  Height:  |  Size: 822 B

View File

@@ -5,6 +5,7 @@ import InlineImage from "../components/inline-image.astro";
import InlineSvg from "../components/inline-svg.astro"; import InlineSvg from "../components/inline-svg.astro";
import avatar from "../images/Icon Alec 150.png"; import avatar from "../images/Icon Alec 150.png";
import furAffinityLogo from "../images/fa-logo.webp"; import furAffinityLogo from "../images/fa-logo.webp";
import GitHubLogo from "../images/GitHub.svg";
import KeyoxideLogo from "../images/keyoxide.svg"; import KeyoxideLogo from "../images/keyoxide.svg";
import MastodonLogo from "../images/mastodon-logo.svg"; import MastodonLogo from "../images/mastodon-logo.svg";
import MatrixLogo from "../images/matrix-logo.svg"; import MatrixLogo from "../images/matrix-logo.svg";
@@ -72,6 +73,16 @@ import "../styles/global.css";
<span>f1r3w4rr10r</span> <span>f1r3w4rr10r</span>
</ExternalLink> </ExternalLink>
</li> </li>
<li>
<ExternalLink
cssClass="link-github"
href="https://github.com/f1r3w4rr10r"
title="My GitHub account"
>
<InlineSvg SvgComponent={GitHubLogo} slot="logo" />
<span>f1r3w4rr10r</span>
</ExternalLink>
</li>
<li> <li>
<ExternalLink <ExternalLink
cssClass="link-keyoxide" cssClass="link-keyoxide"

View File

@@ -11,6 +11,11 @@
from var(--color-fur-affinity) calc(l - var(--hover-darken)) c h from var(--color-fur-affinity) calc(l - var(--hover-darken)) c h
); );
--color-github: #1f2328;
--color-github-hover: oklch(
from var(--color-github) calc(l - var(--hover-darken)) c h
);
--color-keyoxide: #6855c3; --color-keyoxide: #6855c3;
--color-keyoxide-hover: oklch( --color-keyoxide-hover: oklch(
from var(--color-keyoxide) calc(l - var(--hover-darken)) c h from var(--color-keyoxide) calc(l - var(--hover-darken)) c h
@@ -42,6 +47,10 @@
@apply bg-fur-affinity hover:bg-fur-affinity-hover text-white; @apply bg-fur-affinity hover:bg-fur-affinity-hover text-white;
} }
.link-github {
@apply bg-github hover:bg-github-hover text-white;
}
.link-keyoxide { .link-keyoxide {
@apply bg-keyoxide hover:bg-keyoxide-hover text-white; @apply bg-keyoxide hover:bg-keyoxide-hover text-white;
} }