From 490aafca9b184e0b500d43d09455aed77df6560d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 15 Oct 2022 16:50:13 +0100 Subject: [PATCH] feat: re-add About Me block --- website/src/components/AboutMe.astro | 16 ++++++++++++++++ website/src/layouts/DailyEmailLayout.astro | 3 +++ website/src/pages/blog/[slug].astro | 3 +++ website/src/pages/daily.mdx | 2 ++ website/src/pages/talks/[slug].astro | 3 +++ 5 files changed, 27 insertions(+) create mode 100644 website/src/components/AboutMe.astro diff --git a/website/src/components/AboutMe.astro b/website/src/components/AboutMe.astro new file mode 100644 index 00000000..9695612d --- /dev/null +++ b/website/src/components/AboutMe.astro @@ -0,0 +1,16 @@ + diff --git a/website/src/layouts/DailyEmailLayout.astro b/website/src/layouts/DailyEmailLayout.astro index ad029d70..6ac2c603 100644 --- a/website/src/layouts/DailyEmailLayout.astro +++ b/website/src/layouts/DailyEmailLayout.astro @@ -1,4 +1,5 @@ --- +import AboutMe from '../components/AboutMe.astro' import BaseLayout from './PageLayout.astro' import DailyEmailForm from '../components/DailyEmailForm.astro' import Markdown from '../components/Markdown.astro' @@ -13,5 +14,7 @@ const { title } = Astro.props.frontmatter || Astro.props; + + diff --git a/website/src/pages/blog/[slug].astro b/website/src/pages/blog/[slug].astro index 9cd3f32c..536db149 100644 --- a/website/src/pages/blog/[slug].astro +++ b/website/src/pages/blog/[slug].astro @@ -1,4 +1,5 @@ --- +import AboutMe from '../../components/AboutMe.astro' import Layout from '../../layouts/Layout.astro' import Markdown from '../../components/Markdown.astro' @@ -26,5 +27,7 @@ const { title } = Astro.props.post.frontmatter + + diff --git a/website/src/pages/daily.mdx b/website/src/pages/daily.mdx index 7c77425f..96498f98 100644 --- a/website/src/pages/daily.mdx +++ b/website/src/pages/daily.mdx @@ -3,8 +3,10 @@ layout: ../layouts/PageLayout.astro title: Oliver's Daily List --- +import AboutMe from '../components/AboutMe.astro'; import DailyEmailForm from '../components/DailyEmailForm.astro'; A daily newsletter on software development, DevOps, community, and open-source. + diff --git a/website/src/pages/talks/[slug].astro b/website/src/pages/talks/[slug].astro index 16fc746f..949d29c7 100644 --- a/website/src/pages/talks/[slug].astro +++ b/website/src/pages/talks/[slug].astro @@ -1,4 +1,5 @@ --- +import AboutMe from '../../components/AboutMe.astro' import Events from '../../components/talk/Events.astro' import Layout from '../../layouts/Layout.astro' import Markdown from '../../components/Markdown.astro' @@ -38,5 +39,7 @@ const { events, speakerdeck, title, video } = Astro.props.talk.frontmatter )} + +