Add attributions to README

This commit is contained in:
Bad Manners 2024-11-21 10:06:56 -03:00
parent d4e8eb7dd8
commit ae4ed1e358
11 changed files with 25 additions and 673 deletions

View file

@ -1,11 +1,12 @@
# licenses.toml
file = "licenses.toml"
url = "https://badmanners.xyz/licenses.toml"
[copyright]
title = "badmanners.xyz"
description = "Bad Manners's personal website."
type = "website"
date = "2023-2024"
author = { name = "Bad Manners", url = "https://badmanners.xyz", email = "me@badmanners.xyz>" }
author = { name = "Bad Manners", url = "https://badmanners.xyz", email = "me@badmanners.xyz" }
source = "https://git.badmanners.xyz/badmanners/badmanners.xyz"
license = { name = "MIT", url = "https://opensource.org/license/mit" }
notes = "All rights reserved."
@ -69,12 +70,12 @@ items = [
"YouTube",
]
notes = """All third-party copyrights and trademarks belong to their respective owners, \
and I'm not affiliated with any of them."""
and I'm not affiliated with any of them."""
[[attributions]]
description = "Edited icons for other websites."
type = "icons"
author = { name = "Bad Manners", url = "https://badmanners.xyz", email = "me@badmanners.xyz>" }
author = { name = "Bad Manners", url = "https://badmanners.xyz", email = "me@badmanners.xyz" }
source = "https://git.badmanners.xyz/badmanners/badmanners.xyz/src/branch/main/src/components/icons/brands"
license = { name = "CC0 1.0 Universal", url = "https://creativecommons.org/publicdomain/zero/1.0/" }
items = [
@ -89,8 +90,8 @@ items = [
"SubscribeStar",
]
notes = """Original icons edited for personal use and released under a permissive license.
All third-party copyrights and trademarks belong to their respective owners, \
and I'm not affiliated with any of them."""
All third-party copyrights and trademarks belong to their respective owners, \
and I'm not affiliated with any of them."""
[[attributions]]
author = "Font Awesome"

View file

@ -7,12 +7,12 @@ interface TosFeedItem {
updatedAt: Date;
}
const parseISODate = (date: string) => parse(date, "yyyy-MM-dd", 0);
const d = (date: string) => parse(date, "yyyy-MM-dd", 0);
export const TOS_FEED: TosFeedItem[] = (
[
{ status: "CLOSED", updatedAt: parseISODate("2024-08-25") },
{ status: "OPEN", updatedAt: parseISODate("2024-07-11") },
{ status: "CLOSED", updatedAt: d("2024-08-25") },
{ status: "OPEN", updatedAt: d("2024-07-11") },
] satisfies TosFeedItem[]
)
.sort((a, b) => b.updatedAt.getTime() - a.updatedAt.getTime())

View file

@ -55,14 +55,14 @@ const title = pageTitle ? `${pageTitle} | Bad Manners` : "Bad Manners";
<slot />
</main>
<footer
class="sm:text-md flex flex-col items-center bg-bm-300/[0.01] pt-9 text-sm font-medium tracking-wide text-black dark:bg-green-950/[0.01] dark:text-white"
class="sm:text-md flex flex-col items-center pt-9 text-sm font-medium tracking-wide text-black contrast-more:bg-bm-300 dark:text-white dark:contrast-more:bg-green-950"
>
<div class="flex items-center">
<span id="copyright" class="mr-2"
>&copy; <time datetime="2023">2023</time>&ndash;<time
x-data="{ currentYear: new Date().getFullYear() }"
x-text="currentYear"
x-bind:datetime="currentYear"
:datetime="currentYear"
datetime={new Date().getFullYear().toString()}>{new Date().getFullYear()}</time
> Bad Manners</span
>