From 407169074e8c44fe3cb534f3511e59ea276815b5 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 23 Feb 2023 19:52:38 +0100 Subject: [PATCH] feat(astro): add backlink component --- src/components/Backlink.astro | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/components/Backlink.astro diff --git a/src/components/Backlink.astro b/src/components/Backlink.astro new file mode 100644 index 0000000..5addcd1 --- /dev/null +++ b/src/components/Backlink.astro @@ -0,0 +1,26 @@ +--- +import { Sprite } from 'astro-icon'; + +export interface Props { + backLink?: string; +} + +const { backLink } = Astro.props; +--- + +{ + backLink && ( + + + + ) +}