diff --git a/src/components/Footer.astro b/src/components/Footer.astro index cfdf637..7428260 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,4 +1,8 @@ --- +import Github from "./social/github.astro"; +import X from "./social/x.astro"; +import Youtube from "./social/youtube.astro"; + const currentYear = new Date().getFullYear(); --- @@ -7,34 +11,9 @@ const currentYear = new Date().getFullYear(); © {currentYear} Lars Hampe. All rights reserved. Imprint -
- - Follow Lars Hampe on Twitter - - - - Go to Lars Hampes GitHub profile - - +
+ + +
diff --git a/src/components/Header.astro b/src/components/Header.astro index 3046e11..bb072b5 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,35 +1,24 @@ --- import HeaderLink from "./HeaderLink.astro"; import { SITE_TITLE } from "../consts"; +import X from "./social/x.astro"; +import Github from "./social/github.astro"; +import Youtube from "./social/youtube.astro"; ---
diff --git a/src/components/social/github.astro b/src/components/social/github.astro new file mode 100644 index 0000000..bff3606 --- /dev/null +++ b/src/components/social/github.astro @@ -0,0 +1,13 @@ +--- +const { size = 24 } = Astro.props; +--- + + + Go to Lars Hampes GitHub profile + + diff --git a/src/components/social/x.astro b/src/components/social/x.astro new file mode 100644 index 0000000..604b119 --- /dev/null +++ b/src/components/social/x.astro @@ -0,0 +1,20 @@ +--- +const { size = 24 } = Astro.props; +--- + + + Follow Lars Hampe on X + + + + diff --git a/src/components/social/youtube.astro b/src/components/social/youtube.astro new file mode 100644 index 0000000..d81300f --- /dev/null +++ b/src/components/social/youtube.astro @@ -0,0 +1,17 @@ +--- +const { size = 24 } = Astro.props; +--- + + + Subscribe to Lars Hampes YouTube channel + + + +