Compare commits

..

No commits in common. "db1ad3f9eb02586f2ec0af963c55082b04402391" and "d319ee9528a53aeec34664829f1abbcdb372909b" have entirely different histories.

4 changed files with 6 additions and 4 deletions

5
src/app.d.ts vendored
View file

@ -1,5 +1,10 @@
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface Platform {}
interface Route {
label: string;
icon: string;

View file

@ -2,7 +2,6 @@
const icons: Record<string, string> = {
none: 'material-symbols:link',
'steamcommunity.com': 'simple-icons:steam',
'steampowered.com': 'simple-icons:steam',
'twitter.com': 'simple-icons:x',
'x.com': 'simple-icons:x',
'github.com': 'simple-icons:github',
@ -45,9 +44,7 @@ const specialResolvers: Record<string, (url: URL) => string> = {
// Игнорируем имя пользователя
'bsky.app': (url) => 'bsky.app',
'bsky.social': (url) => 'bsky.social',
'itch.io': (url) => 'itch.io',
'steamcommunity.com': (url) => 'steamcommunity.com',
'steampowered.com': (url) => 'steampowered.com',
'itch.io': (url) => 'itch.io'
}
function getIconFromUrl(url: URL): string | undefined {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB