~james/core

core/web/src/lib/components/shell/siteLinks.ts -rw-r--r-- 1.6 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import type { Component } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
import FileText from "$icon/file-text";
import Mail from "$icon/mail";
import Scale from "$icon/scale";
import Share2 from "$icon/share-2";

export interface SiteLink {
	label: string;
	href: string;
	internal?: true;
	newTab?: true;
	status?: true;
}

export interface SiteLinkSection {
	title: string;
	icon: Component<SvelteHTMLElements["svg"]>;
	links: SiteLink[];
}

export const siteLinkSections: SiteLinkSection[] = [
	{
		title: "Resources",
		icon: FileText,
		links: [
			{ label: "Blog", href: "https://blog.tangled.org" },
			{ label: "Docs", href: "https://docs.tangled.org" },
			{ label: "Source", href: "https://tangled.org/@tangled.org/core" },
			{ label: "Status", href: "https://status.tangled.org", status: true }
		]
	},
	{
		title: "Social",
		icon: Share2,
		links: [
			{ label: "Discord", href: "https://chat.tangled.org", newTab: true },
			{ label: "IRC", href: "https://web.libera.chat/#tangled", newTab: true },
			{ label: "Bluesky", href: "https://bsky.app/profile/tangled.org", newTab: true },
			{ label: "X/Twitter", href: "https://x.com/tangled_org", newTab: true }
		]
	},
	{
		title: "Contact",
		icon: Mail,
		links: [
			{ label: "team@tangled.org", href: "mailto:team@tangled.org" },
			{ label: "security@tangled.org", href: "mailto:security@tangled.org" }
		]
	},
	{
		title: "Legal",
		icon: Scale,
		links: [
			{ label: "Terms of Service", href: "/terms", internal: true },
			{ label: "Privacy Policy", href: "/privacy", internal: true }
		]
	}
];