feat: re-add About Me block
This commit is contained in:
parent
535b4fef45
commit
490aafca9b
16
website/src/components/AboutMe.astro
Normal file
16
website/src/components/AboutMe.astro
Normal 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>
|
|
@ -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;
|
|||
</Markdown>
|
||||
|
||||
<DailyEmailForm />
|
||||
|
||||
<AboutMe />
|
||||
</div>
|
||||
</BaseLayout>
|
||||
|
|
|
@ -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
|
|||
<Markdown>
|
||||
<Content />
|
||||
</Markdown>
|
||||
|
||||
<AboutMe />
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
|
@ -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.
|
||||
|
||||
<DailyEmailForm />
|
||||
<AboutMe />
|
||||
|
|
|
@ -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
|
|||
)}
|
||||
|
||||
<Events events={events} />
|
||||
|
||||
<AboutMe />
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
Loading…
Reference in a new issue