diff --git a/fonts/OFL.txt b/fonts/OFL.txt deleted file mode 100644 index cb1ba36..0000000 --- a/fonts/OFL.txt +++ /dev/null @@ -1,94 +0,0 @@ -Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts) -Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -https://openfontlicense.org - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/fonts/dm-mono/DMMono-Regular.ttf b/fonts/dm-mono/DMMono-Regular.ttf deleted file mode 100644 index 4bb53cf..0000000 Binary files a/fonts/dm-mono/DMMono-Regular.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Black.ttf b/fonts/dm-sans/DMSans-Black.ttf deleted file mode 100644 index 56e9bac..0000000 Binary files a/fonts/dm-sans/DMSans-Black.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-BlackItalic.ttf b/fonts/dm-sans/DMSans-BlackItalic.ttf deleted file mode 100644 index 184bd43..0000000 Binary files a/fonts/dm-sans/DMSans-BlackItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Bold.ttf b/fonts/dm-sans/DMSans-Bold.ttf deleted file mode 100644 index 4f5412d..0000000 Binary files a/fonts/dm-sans/DMSans-Bold.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-BoldItalic.ttf b/fonts/dm-sans/DMSans-BoldItalic.ttf deleted file mode 100644 index 6b53ce5..0000000 Binary files a/fonts/dm-sans/DMSans-BoldItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-ExtraBold.ttf b/fonts/dm-sans/DMSans-ExtraBold.ttf deleted file mode 100644 index 1d43afd..0000000 Binary files a/fonts/dm-sans/DMSans-ExtraBold.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-ExtraBoldItalic.ttf b/fonts/dm-sans/DMSans-ExtraBoldItalic.ttf deleted file mode 100644 index a4e7702..0000000 Binary files a/fonts/dm-sans/DMSans-ExtraBoldItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-ExtraLight.ttf b/fonts/dm-sans/DMSans-ExtraLight.ttf deleted file mode 100644 index 73f17d1..0000000 Binary files a/fonts/dm-sans/DMSans-ExtraLight.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-ExtraLightItalic.ttf b/fonts/dm-sans/DMSans-ExtraLightItalic.ttf deleted file mode 100644 index 4319ada..0000000 Binary files a/fonts/dm-sans/DMSans-ExtraLightItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Italic.ttf b/fonts/dm-sans/DMSans-Italic.ttf deleted file mode 100644 index 90eaf60..0000000 Binary files a/fonts/dm-sans/DMSans-Italic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Light.ttf b/fonts/dm-sans/DMSans-Light.ttf deleted file mode 100644 index 250517c..0000000 Binary files a/fonts/dm-sans/DMSans-Light.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-LightItalic.ttf b/fonts/dm-sans/DMSans-LightItalic.ttf deleted file mode 100644 index 45cbbb3..0000000 Binary files a/fonts/dm-sans/DMSans-LightItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Medium.ttf b/fonts/dm-sans/DMSans-Medium.ttf deleted file mode 100644 index 841d31d..0000000 Binary files a/fonts/dm-sans/DMSans-Medium.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-MediumItalic.ttf b/fonts/dm-sans/DMSans-MediumItalic.ttf deleted file mode 100644 index 343122f..0000000 Binary files a/fonts/dm-sans/DMSans-MediumItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Regular.ttf b/fonts/dm-sans/DMSans-Regular.ttf deleted file mode 100644 index 07266ae..0000000 Binary files a/fonts/dm-sans/DMSans-Regular.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-SemiBold.ttf b/fonts/dm-sans/DMSans-SemiBold.ttf deleted file mode 100644 index afa79e3..0000000 Binary files a/fonts/dm-sans/DMSans-SemiBold.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-SemiBoldItalic.ttf b/fonts/dm-sans/DMSans-SemiBoldItalic.ttf deleted file mode 100644 index 1a6f38e..0000000 Binary files a/fonts/dm-sans/DMSans-SemiBoldItalic.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-Thin.ttf b/fonts/dm-sans/DMSans-Thin.ttf deleted file mode 100644 index 0c02db0..0000000 Binary files a/fonts/dm-sans/DMSans-Thin.ttf and /dev/null differ diff --git a/fonts/dm-sans/DMSans-ThinItalic.ttf b/fonts/dm-sans/DMSans-ThinItalic.ttf deleted file mode 100644 index e393451..0000000 Binary files a/fonts/dm-sans/DMSans-ThinItalic.ttf and /dev/null differ diff --git a/src/app.html b/src/app.html index 77a5ff5..55ab089 100644 --- a/src/app.html +++ b/src/app.html @@ -3,6 +3,9 @@
+ + + %sveltekit.head% diff --git a/src/app.pcss b/src/app.pcss index 5e23cdb..4be1f76 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -5,7 +5,8 @@ } :root { - --bg-clr: #10121d; + background-color: black !important; + --bg-clr: #11111b; --fg-clr: #fff; --muted-clr: #b7b9c5; height: 100%; @@ -15,7 +16,7 @@ body { background-color: black; color: var(--fg-clr); color-scheme: dark; - font-family: 'DM Sans', system-ui, Roboto, sans-serif; + font-family: Inter; height: 100%; margin: 0; overflow: hidden; diff --git a/src/lib/getLanguages.ts b/src/lib/getLanguages.ts index 860313c..ba48191 100644 --- a/src/lib/getLanguages.ts +++ b/src/lib/getLanguages.ts @@ -2,7 +2,7 @@ import languagecolors from './languagecolors' export default async function getLanguages(owner: string, repo: string) { const languages = (await fetch( - `https://git.gay/api/v1/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/languages` + `https://git.nin0.dev/api/v1/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/languages` ).then(response => response.json())) as { [key: string]: number } let sum = 0 const values = Object.values(languages) diff --git a/src/lib/server/render.ts b/src/lib/server/render.ts index d7d48e6..9035d23 100644 --- a/src/lib/server/render.ts +++ b/src/lib/server/render.ts @@ -1,7 +1,7 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck import puppeteer from 'puppeteer' -const BASE_URL = process.env.BASE_URL || 'https://git.gay' +const BASE_URL = process.env.BASE_URL || 'https://git.nin0.dev' const browser = await puppeteer.launch({ defaultViewport: { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 46e2324..8f371ef 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -56,7 +56,7 @@ width: 100%; height: 100%; position: relative; - background-color: #10121d; + background-color: #11111b; display: grid; grid-template-rows: 1fr min-content 1.5rem; } diff --git a/src/routes/[owner]/+page.server.ts b/src/routes/[owner]/+page.server.ts index 01f3a99..233d5f3 100644 --- a/src/routes/[owner]/+page.server.ts +++ b/src/routes/[owner]/+page.server.ts @@ -3,10 +3,10 @@ import type { Owner } from '$lib/types/forgejo.js' export async function load({ params }) { const [owner, reposCount] = await Promise.all([ fetch( - `https://git.gay/api/v1/users/${encodeURIComponent(params.owner)}` + `https://git.nin0.dev/api/v1/users/${encodeURIComponent(params.owner)}` ).then(response => response.json()) as Promise