diff --git a/src/components/NavCard.astro b/src/components/NavCard.astro deleted file mode 100644 --- a/src/components/NavCard.astro +++ /dev/null @@ -1,25 +0,0 @@ ---- -import { Icon } from "astro-icon/components"; - -interface Props { - href: string; - label: string; - icon: string; -} - -const { href, label, icon } = Astro.props; ---- - - - - {label} - diff --git a/src/components/PageHeader.astro b/src/components/PageHeader.astro deleted file mode 100644 --- a/src/components/PageHeader.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -interface Props { - title: string; -} - -const { title } = Astro.props; ---- - -
- -

- {title} -

- -
diff --git a/src/components/SectionHeader.astro b/src/components/SectionHeader.astro deleted file mode 100644 --- a/src/components/SectionHeader.astro +++ /dev/null @@ -1,26 +0,0 @@ ---- -interface Props { - title: string; - href?: string; - linkLabel?: string; -} - -const { title, href, linkLabel = "view all →" } = Astro.props; ---- - -
-

- {title} -

- - { - href && ( - - {linkLabel} - - ) - } -
diff --git a/src/components/SocialLinks.astro b/src/components/SocialLinks.astro deleted file mode 100644 --- a/src/components/SocialLinks.astro +++ /dev/null @@ -1,82 +0,0 @@ ---- -import { Icon } from "astro-icon/components"; - -interface SocialLink { - href: string; - label: string; - icon?: string; - svg?: string; -} - -interface Props { - links?: SocialLink[]; -} - -const defaultLinks: SocialLink[] = [ - { href: "/feed.xml", label: "rss feed", icon: "fa7-solid:rss" }, - { - href: "https://github.com/isabelroses", - label: "GitHub", - icon: "fa7-brands:github", - }, - { - href: "https://akko.isabelroses.com/isabel", - label: "mastodon", - icon: "fa7-brands:mastodon", - }, - { - href: "https://bsky.app/profile/did:plc:qxichs7jsycphrsmbujwqbfb", - label: "bluesky", - icon: "fa7-brands:bluesky", - }, - { - href: "https://x.com/isabelrosesss", - label: "X", - icon: "fa7-brands:x-twitter", - }, - // { - // href: "https://www.linkedin.com/in/isabel-r-729a74273/", - // label: "LinkedIn", - // icon: "fa7-brands:linkedin", - // }, - // { href: "/api/discord", label: "Discord", icon: "fa7-brands:discord" }, - { - href: "mailto:isabel@isabelroses.com", - label: "email", - icon: "fa7-solid:envelope", - }, - // { - // href: "https://www.twitch.tv/isabelrosess", - // label: "Twitch", - // icon: "fa7-brands:twitch", - // }, - // { href: "https://ko-fi.com/isabelroses", label: "Ko-fi", svg: "kofi" }, -]; - -const { links = defaultLinks } = Astro.props; ---- - -
- { - links.map((link) => ( - - {link.icon ? ( - - ) : link.svg === "kofi" ? ( - - - - ) : null} - - )) - } -
diff --git a/src/components/Spacer.astro b/src/components/Spacer.astro deleted file mode 100644 --- a/src/components/Spacer.astro +++ /dev/null @@ -1,18 +0,0 @@ ---- -interface Props { - glyph?: string; -} - -const { glyph = "✦" } = Astro.props; ---- - -