From ba80f5342ade52215ea273e56dcae7357f06f635 Mon Sep 17 00:00:00 2001 From: Dilson's Pickles Date: Thu, 23 Feb 2023 12:28:34 +0000 Subject: [PATCH] Remove unused components --- src/components/card/FeatureCard.astro | 32 ---------------------- src/components/homepage/VanityMetric.astro | 16 ----------- 2 files changed, 48 deletions(-) delete mode 100644 src/components/card/FeatureCard.astro delete mode 100644 src/components/homepage/VanityMetric.astro diff --git a/src/components/card/FeatureCard.astro b/src/components/card/FeatureCard.astro deleted file mode 100644 index 67a54f4..0000000 --- a/src/components/card/FeatureCard.astro +++ /dev/null @@ -1,32 +0,0 @@ ---- -interface Props { - title: string; - description: string; - href: string; - thumbnail: string; -} -const { title, description, href, thumbnail } = Astro.props as Props; - -const clippedDescription = description.slice(0, 100); ---- - -
- -
-

{title}

-

{clippedDescription}...

- Find out more - -
-
diff --git a/src/components/homepage/VanityMetric.astro b/src/components/homepage/VanityMetric.astro deleted file mode 100644 index 87d1823..0000000 --- a/src/components/homepage/VanityMetric.astro +++ /dev/null @@ -1,16 +0,0 @@ ---- -interface Props { - label: string; - value: string; -} - -const { label, value } = Astro.props as Props; ---- - -
-

{label}

- {value} -

-