Setup account links data and icons

This commit is contained in:
pancakes 2025-09-12 15:01:37 +10:00
parent e475543612
commit f17d2e4198
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
10 changed files with 87 additions and 0 deletions

87
PancakesWeb/Data/Link.cs Normal file
View file

@ -0,0 +1,87 @@
namespace PancakesWeb.Data;
public class Link
{
public required string Name { get; set; }
public required string? Href { get; set; }
public required string Username { get; set; }
public required string Icon { get; set; }
public bool IconInvert { get; set; }
public bool HomePageOnly { get; set; } = true;
}
public static class Links
{
public static readonly List<Link> Accounts =
[
new Link
{
Name = "Bluesky",
Href = "https://bsky.app/profile/pancakes.gay",
Username = "@pancakes.gay",
Icon = "bluesky.webp"
},
new Link
{
Name = "Codeberg",
Href = "https://codeberg.org/pancakes",
Username = "pancakes",
Icon = "codeberg.webp"
},
new Link
{
Name = "Discord",
Href = null,
Username = "pancakesmeow",
Icon = "discord.webp"
},
new Link
{
Name = "Fediverse",
Href = "https://shrimp.meow.company/@pancakes",
Username = "@pancakes@meow.company",
Icon = "iceshrimp.webp",
IconInvert = true,
HomePageOnly = false
},
new Link
{
Name = "Forgejo",
Href = "https://git.meow.company/pancakes",
Username = "pancakes",
Icon = "forgejo.webp",
HomePageOnly = false
},
new Link
{
Name = "GitHub",
Href = "https://github.com/pancakesmeow",
Username = "pancakesmeow",
Icon = "github.webp",
IconInvert = true
},
new Link
{
Name = "pronouns.cc",
Href = "https://pronouns.cc/@pancakes",
Username = "@pancakes",
Icon = "pronouns_cc.webp"
},
new Link
{
Name = "Signal",
Href = null,
Username = "pancakes.80",
Icon = "signal.webp",
IconInvert = true
},
new Link
{
Name = "YouTube",
Href = "https://youtube.com/@trypancakes",
Username = "@trypancakes",
Icon = "youtube.webp",
HomePageOnly = false
}
];
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB