Upgrade Astro and Astro Paper to v5
This commit is contained in:
parent
8ebf7d5996
commit
e719f7ccca
105 changed files with 7099 additions and 1939 deletions
45
src/constants.ts
Normal file
45
src/constants.ts
Normal file
|
@ -0,0 +1,45 @@
|
|||
import IconMail from "@/assets/icons/IconMail.svg";
|
||||
import IconGitHub from "@/assets/icons/IconGitHub.svg";
|
||||
import IconBluesky from "@/assets/icons/IconBluesky.svg";
|
||||
import IconBrandX from "@/assets/icons/IconBrandX.svg";
|
||||
import IconLinkedin from "@/assets/icons/IconLinkedin.svg";
|
||||
import IconWhatsapp from "@/assets/icons/IconWhatsapp.svg";
|
||||
import IconFacebook from "@/assets/icons/IconFacebook.svg";
|
||||
import IconTelegram from "@/assets/icons/IconTelegram.svg";
|
||||
import IconPinterest from "@/assets/icons/IconPinterest.svg";
|
||||
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 = [
|
||||
{
|
||||
name: "Github",
|
||||
href: "https://github.com/twhite96",
|
||||
linkTitle: ` ${SITE.title} on Github`,
|
||||
icon: IconGitHub,
|
||||
},
|
||||
{
|
||||
name: "Mail",
|
||||
href: "mailto:yourmail@gmail.com",
|
||||
linkTitle: `Send an email to ${SITE.title}`,
|
||||
icon: IconMail,
|
||||
},
|
||||
] 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;
|
Loading…
Add table
Add a link
Reference in a new issue