feat: re-add About Me block

This commit is contained in:
Oliver Davies 2022-10-15 16:50:13 +01:00
parent 535b4fef45
commit 490aafca9b
5 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<aside>
<h2>About me</h2>
<div class="flex mt-4 space-x-4">
<div class="flex-shrink-0">
<img src="/images/social-avatar.jpg" alt="Picture of Oliver" class="w-16 h-16 rounded-full border border-gray">
</div>
<div>
<p>
Oliver Davies is a PHP Developer and Linux Systems Administrator based in the UK.
He is a Full Stack Software Consultant specialising in Drupal application development, and a Lead Developer at <a href="https://tfw.wales" class="link">Transport for Wales</a>.
</p>
</div>
</div>
</aside>

View file

@ -1,4 +1,5 @@
--- ---
import AboutMe from '../components/AboutMe.astro'
import BaseLayout from './PageLayout.astro' import BaseLayout from './PageLayout.astro'
import DailyEmailForm from '../components/DailyEmailForm.astro' import DailyEmailForm from '../components/DailyEmailForm.astro'
import Markdown from '../components/Markdown.astro' import Markdown from '../components/Markdown.astro'
@ -13,5 +14,7 @@ const { title } = Astro.props.frontmatter || Astro.props;
</Markdown> </Markdown>
<DailyEmailForm /> <DailyEmailForm />
<AboutMe />
</div> </div>
</BaseLayout> </BaseLayout>

View file

@ -1,4 +1,5 @@
--- ---
import AboutMe from '../../components/AboutMe.astro'
import Layout from '../../layouts/Layout.astro' import Layout from '../../layouts/Layout.astro'
import Markdown from '../../components/Markdown.astro' import Markdown from '../../components/Markdown.astro'
@ -26,5 +27,7 @@ const { title } = Astro.props.post.frontmatter
<Markdown> <Markdown>
<Content /> <Content />
</Markdown> </Markdown>
<AboutMe />
</div> </div>
</Layout> </Layout>

View file

@ -3,8 +3,10 @@ layout: ../layouts/PageLayout.astro
title: Oliver's Daily List title: Oliver's Daily List
--- ---
import AboutMe from '../components/AboutMe.astro';
import DailyEmailForm from '../components/DailyEmailForm.astro'; import DailyEmailForm from '../components/DailyEmailForm.astro';
A daily newsletter on software development, DevOps, community, and open-source. A daily newsletter on software development, DevOps, community, and open-source.
<DailyEmailForm /> <DailyEmailForm />
<AboutMe />

View file

@ -1,4 +1,5 @@
--- ---
import AboutMe from '../../components/AboutMe.astro'
import Events from '../../components/talk/Events.astro' import Events from '../../components/talk/Events.astro'
import Layout from '../../layouts/Layout.astro' import Layout from '../../layouts/Layout.astro'
import Markdown from '../../components/Markdown.astro' import Markdown from '../../components/Markdown.astro'
@ -38,5 +39,7 @@ const { events, speakerdeck, title, video } = Astro.props.talk.frontmatter
)} )}
<Events events={events} /> <Events events={events} />
<AboutMe />
</div> </div>
</Layout> </Layout>