Setup account links data and icons
87
PancakesWeb/Data/Link.cs
Normal 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
|
||||
}
|
||||
];
|
||||
}
|
BIN
PancakesWeb/wwwroot/imgs/icons/bluesky.webp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/codeberg.webp
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/discord.webp
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/forgejo.webp
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/github.webp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/iceshrimp.webp
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/pronouns_cc.webp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/signal.webp
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
PancakesWeb/wwwroot/imgs/icons/youtube.webp
Normal file
After Width: | Height: | Size: 2 KiB |