From e29fce9ce908566effe3989f83f6d62368a2694b Mon Sep 17 00:00:00 2001 From: Leif Niemczik Date: Thu, 24 Nov 2022 00:17:29 +0100 Subject: [PATCH] github link --- public/icons/github.svg | 1 + src/components/Socials.astro | 38 +++++++++++++++++++++++++++++++ src/layouts/Layout.astro | 43 +++--------------------------------- 3 files changed, 42 insertions(+), 40 deletions(-) create mode 100644 public/icons/github.svg create mode 100644 src/components/Socials.astro diff --git a/public/icons/github.svg b/public/icons/github.svg new file mode 100644 index 0000000..31b6e2e --- /dev/null +++ b/public/icons/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/Socials.astro b/src/components/Socials.astro new file mode 100644 index 0000000..79bb8de --- /dev/null +++ b/src/components/Socials.astro @@ -0,0 +1,38 @@ +--- +import { toFastProperties } from '../../.yarn/releases/yarn-3.3.0.cjs' + +export interface Props { + additionalClass: string +} +const { additionalClass } = Astro.props +--- + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f5b9794..3d61a11 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,4 +1,5 @@ --- +import Socials from '../components/Socials.astro' export interface Props { title?: string } @@ -37,48 +38,10 @@ const permaTitle = 'Hacking in Parallel 2022 //// Berlin' CfP - + - +