devblog/src/constants.ts

70 lines
1.8 KiB
TypeScript
Raw Normal View History

2025-03-08 19:45:21 -05:00
import IconMail from "@/assets/icons/IconMail.svg";
import IconBluesky from "@/assets/icons/IconBluesky.svg";
2025-03-14 18:29:07 -04:00
import IconMastodon from "@/assets/icons/IconMastodon.svg";
import IconHackerNews from "@/assets/icons/IconHackerNews.svg";
2025-04-19 19:31:46 -04:00
import IconMatrix from "@/assets/icons/IconMatrix.svg";
import IconGit from "@/assets/icons/IconGit.svg";
2025-03-20 22:06:36 -04:00
import IconLobsters from "@/assets/icons/IconsLobsters.svg";
2025-04-19 19:34:08 -04:00
// import Path from "@/assets/icons/Path.svg";
2025-03-14 18:29:07 -04:00
2025-03-08 19:45:21 -05:00
import { SITE } from "@/config";
export const LOCALE = {
lang: "en", // html lang code. Set this empty and default will be "en"
langTag: ["en-EN"], // BCP 47 Language Tags. Set this empty [] to use the environment default
} as const;
export const SOCIALS = [
{
2025-04-19 19:31:46 -04:00
name: "Git",
2025-05-06 22:01:54 -04:00
href: "https://git.tiff.run",
2025-04-19 19:31:46 -04:00
linkTitle: `${SITE.title} Git`,
icon: IconGit,
2025-03-08 19:45:21 -05:00
},
2025-03-20 22:06:36 -04:00
{
2025-04-19 19:31:46 -04:00
name: "Matrix",
2025-04-20 18:47:18 -04:00
href: "https://matrix.to/#/@100pdatcat:matrix.org",
2025-04-19 19:31:46 -04:00
linkTitle: `${SITE.title} Matrix`,
icon: IconMatrix,
2025-03-20 22:06:36 -04:00
},
2025-03-08 19:45:21 -05:00
{
name: "Mail",
2025-05-06 22:01:54 -04:00
href: "mailto:hithere@tiff.run",
2025-03-08 19:45:21 -05:00
linkTitle: `Send an email to ${SITE.title}`,
icon: IconMail,
},
2025-03-14 18:29:07 -04:00
{
name: "Hacker News",
href: "https://news.ycombinator.com/user?id=trw55",
linkTitle: `${SITE.title} on Hacker News`,
icon: IconHackerNews,
},
2025-03-20 22:06:36 -04:00
{
name: "Lobsters",
href: "https://lobste.rs/~tiff",
linkTitle: `${SITE.title} on Lobsters`,
icon: IconLobsters,
},
2025-03-14 18:29:07 -04:00
{
name: "Mastodon",
href: "https://hachyderm.io/@tiff",
linkTitle: `${SITE.title} Mastodon`,
icon: IconMastodon,
},
2025-03-08 19:45:21 -05:00
] as const;
export const SHARE_LINKS = [
{
name: "Mail",
href: "mailto:?subject=See%20this%20post&body=",
linkTitle: `Share this post via email`,
icon: IconMail,
},
{
name: "Bluesky",
href: `https://bsky.app/intent/compose?{text}`,
linkTitle: `Share this post on Bluesky`,
icon: IconBluesky,
},
] as const;