diff --git a/package-lock.json b/package-lock.json index a65dad1..e4b6096 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "badmanners.xyz", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "badmanners.xyz", - "version": "2.0.0", + "version": "2.0.1", "dependencies": { "@astrojs/check": "^0.9.2", "@astrojs/rss": "^4.0.7", diff --git a/package.json b/package.json index 1d6321c..2433866 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "badmanners.xyz", "type": "module", - "version": "2.0.0", + "version": "2.0.1", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/public/.htaccess b/public/.htaccess deleted file mode 100644 index 4aca3e0..0000000 --- a/public/.htaccess +++ /dev/null @@ -1,2 +0,0 @@ -ErrorDocument 404 /404.html -RedirectMatch 301 ^/tos(\/(index.html)?)?$ /terms_of_service/ diff --git a/public/licenses.txt b/public/licenses.txt index 9653cd3..af2fbf7 100644 --- a/public/licenses.txt +++ b/public/licenses.txt @@ -4,7 +4,7 @@ All attributed artwork is copyrighted by their respective creators and distribut The Jost* typeface is copyrighted by indestructible type* and is distributed under the SIL Open Font License v1.1: https://opensource.org/license/ofl-1-1 -The SVG icons for Discord, Telegram, Signal, Mastodon, Bluesky, Weasyl, X, and Keybase were created for the Simple Icons project and are distributed under the Creative Commons Zero v1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/ +The SVG icons for Bluesky, Codeberg, Discord, Itch.io, Keybase, GitHub, GitLab, Mastodon, Signal, Steam, Telegram, Weasyl, and X were created for the Simple Icons project and are distributed under the Creative Commons Zero v1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/ The SVG icons for Eka's Portal, Fur Affinity, Inkbunny, SoFurry, and SubscribeStar were created by me for personal use, and are distributed under the Creative Commons Zero v1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/ diff --git a/src/components/DarkModeScript.astro b/src/components/DarkModeScript.astro index d4d4d88..5dda7eb 100644 --- a/src/components/DarkModeScript.astro +++ b/src/components/DarkModeScript.astro @@ -12,7 +12,7 @@ } document.querySelectorAll("button[data-dark-mode]").forEach((button) => { button.classList.remove("hidden"); - button.removeAttribute("aria-hidden"); + button.setAttribute("aria-hidden", "false"); button.addEventListener("click", (e) => { e.preventDefault(); if (colorScheme === "dark") { diff --git a/src/components/NavHeader.astro b/src/components/NavHeader.astro index a70c3e5..68a4545 100644 --- a/src/components/NavHeader.astro +++ b/src/components/NavHeader.astro @@ -27,7 +27,7 @@ const isCurrentRoute = (navRoute: NavRoute) => Astro.url.pathname == navRoute.pa ? "border-bm-500 text-bm-500 dark:border-bm-400 dark:text-bm-400" : "border-stone-600 text-stone-600 hover:border-bm-500 hover:text-bm-500 focus:border-bm-500 focus:text-bm-500 dark:border-zinc-300 dark:text-zinc-300 dark:hover:border-bm-400 dark:hover:text-bm-400 dark:focus:border-bm-400 dark:focus:text-bm-400", ]} - aria-current-value={isCurrentRoute(route).toString()} + aria-current={isCurrentRoute(route) ? "page" : undefined} > {route.name} diff --git a/src/components/icons/IconChevronLeft.astro b/src/components/icons/IconChevronLeft.astro deleted file mode 100644 index 39f26d7..0000000 --- a/src/components/icons/IconChevronLeft.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -import SVGIcon from "./SVGIcon.astro"; - -type Props = { - width: string; - height: string; - class?: string; -}; ---- - - - - diff --git a/src/components/icons/IconChevronRight.astro b/src/components/icons/IconChevronRight.astro deleted file mode 100644 index c2bff64..0000000 --- a/src/components/icons/IconChevronRight.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -import SVGIcon from "./SVGIcon.astro"; - -type Props = { - width: string; - height: string; - class?: string; -}; ---- - - - - diff --git a/src/components/icons/IconCross.astro b/src/components/icons/IconCross.astro deleted file mode 100644 index 37f05ed..0000000 --- a/src/components/icons/IconCross.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -import SVGIcon from "./SVGIcon.astro"; - -type Props = { - width: string; - height: string; - class?: string; -}; ---- - - - - diff --git a/src/components/icons/SVGIcon.astro b/src/components/icons/SVGIcon.astro index c155f1c..2bcef24 100644 --- a/src/components/icons/SVGIcon.astro +++ b/src/components/icons/SVGIcon.astro @@ -11,6 +11,6 @@ type Props = { const { width, height, class: className, fill = "currentColor", viewBox } = Astro.props; --- - + diff --git a/src/components/icons/brands/IconCodeberg.astro b/src/components/icons/brands/IconCodeberg.astro new file mode 100644 index 0000000..6d7d86b --- /dev/null +++ b/src/components/icons/brands/IconCodeberg.astro @@ -0,0 +1,15 @@ +--- +import SVGIcon from "../SVGIcon.astro"; + +type Props = { + width: string; + height: string; + class?: string; +}; +--- + + + + diff --git a/src/components/icons/brands/IconGitHub.astro b/src/components/icons/brands/IconGitHub.astro new file mode 100644 index 0000000..31147d4 --- /dev/null +++ b/src/components/icons/brands/IconGitHub.astro @@ -0,0 +1,15 @@ +--- +import SVGIcon from "../SVGIcon.astro"; + +type Props = { + width: string; + height: string; + class?: string; +}; +--- + + + + diff --git a/src/components/icons/brands/IconGitLab.astro b/src/components/icons/brands/IconGitLab.astro new file mode 100644 index 0000000..3b46798 --- /dev/null +++ b/src/components/icons/brands/IconGitLab.astro @@ -0,0 +1,15 @@ +--- +import SVGIcon from "../SVGIcon.astro"; + +type Props = { + width: string; + height: string; + class?: string; +}; +--- + + + + diff --git a/src/components/icons/brands/IconItchIO.astro b/src/components/icons/brands/IconItchIO.astro new file mode 100644 index 0000000..bbf7bcb --- /dev/null +++ b/src/components/icons/brands/IconItchIO.astro @@ -0,0 +1,15 @@ +--- +import SVGIcon from "../SVGIcon.astro"; + +type Props = { + width: string; + height: string; + class?: string; +}; +--- + + + + diff --git a/src/components/icons/brands/IconSteam.astro b/src/components/icons/brands/IconSteam.astro new file mode 100644 index 0000000..c0976e8 --- /dev/null +++ b/src/components/icons/brands/IconSteam.astro @@ -0,0 +1,15 @@ +--- +import SVGIcon from "../SVGIcon.astro"; + +type Props = { + width: string; + height: string; + class?: string; +}; +--- + + + + diff --git a/src/components/icons/brands/IconTwitter.astro b/src/components/icons/brands/IconX.astro similarity index 100% rename from src/components/icons/brands/IconTwitter.astro rename to src/components/icons/brands/IconX.astro diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index c5c9ce9..b6f4771 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -50,7 +50,7 @@ const title = pageTitle ? `${pageTitle} | Bad Manners` : "Bad Manners";
@@ -64,8 +64,12 @@ const title = pageTitle ? `${pageTitle} | Bad Manners` : "Bad Manners"; class="sm:text-md flex flex-col items-center pt-9 text-sm font-normal tracking-wide text-black dark:text-white" >
- © 2023–{new Date().getFullYear()} Bad Manners -  |  + © Bad Manners +