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
        }
    ];
}