Compare commits
3 commits
d319ee9528
...
db1ad3f9eb
| Author | SHA1 | Date | |
|---|---|---|---|
| db1ad3f9eb | |||
| 3d44c43dbd | |||
| c52fb92c01 |
4 changed files with 4 additions and 6 deletions
5
src/app.d.ts
vendored
5
src/app.d.ts
vendored
|
|
@ -1,10 +1,5 @@
|
||||||
declare global {
|
declare global {
|
||||||
namespace App {
|
namespace App {
|
||||||
// interface Error {}
|
|
||||||
// interface Locals {}
|
|
||||||
// interface PageData {}
|
|
||||||
// interface Platform {}
|
|
||||||
|
|
||||||
interface Route {
|
interface Route {
|
||||||
label: string;
|
label: string;
|
||||||
icon: string;
|
icon: string;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
const icons: Record<string, string> = {
|
const icons: Record<string, string> = {
|
||||||
none: 'material-symbols:link',
|
none: 'material-symbols:link',
|
||||||
'steamcommunity.com': 'simple-icons:steam',
|
'steamcommunity.com': 'simple-icons:steam',
|
||||||
|
'steampowered.com': 'simple-icons:steam',
|
||||||
'twitter.com': 'simple-icons:x',
|
'twitter.com': 'simple-icons:x',
|
||||||
'x.com': 'simple-icons:x',
|
'x.com': 'simple-icons:x',
|
||||||
'github.com': 'simple-icons:github',
|
'github.com': 'simple-icons:github',
|
||||||
|
|
@ -44,7 +45,9 @@ const specialResolvers: Record<string, (url: URL) => string> = {
|
||||||
// Игнорируем имя пользователя
|
// Игнорируем имя пользователя
|
||||||
'bsky.app': (url) => 'bsky.app',
|
'bsky.app': (url) => 'bsky.app',
|
||||||
'bsky.social': (url) => 'bsky.social',
|
'bsky.social': (url) => 'bsky.social',
|
||||||
'itch.io': (url) => 'itch.io'
|
'itch.io': (url) => 'itch.io',
|
||||||
|
'steamcommunity.com': (url) => 'steamcommunity.com',
|
||||||
|
'steampowered.com': (url) => 'steampowered.com',
|
||||||
}
|
}
|
||||||
|
|
||||||
function getIconFromUrl(url: URL): string | undefined {
|
function getIconFromUrl(url: URL): string | undefined {
|
||||||
|
|
|
||||||
BIN
static/blog/tsmc_1/poster.webp
Normal file
BIN
static/blog/tsmc_1/poster.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 230 KiB |
BIN
static/blog/tsmc_1/teaser.webp
Normal file
BIN
static/blog/tsmc_1/teaser.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 231 KiB |
Loading…
Add table
Add a link
Reference in a new issue