docs: update speaker bio
This commit is contained in:
parent
3cb17cac8c
commit
c53039be48
|
@ -3,9 +3,7 @@ layout: ~/layouts/PageLayout.astro
|
|||
title: Oliver Davies - Software Developer and Drupal Expert
|
||||
---
|
||||
|
||||
import { differenceInYears } from 'date-fns';
|
||||
|
||||
export const numberOfYears = differenceInYears(new Date(), new Date(2007, 0, 1));
|
||||
import { numberOfYears } from '~/utils';
|
||||
|
||||
<div class="mb-4 w-32">
|
||||
<img src="/images/social-avatar.jpg" alt="Picture of Oliver" class="rounded-full border border-gray" />
|
||||
|
|
|
@ -3,18 +3,13 @@ layout: ~/layouts/PageLayout.astro
|
|||
title: Speaker Information
|
||||
---
|
||||
|
||||
import { numberOfYears } from '~/utils';
|
||||
|
||||
## Bio
|
||||
|
||||
<a href="https://www.oliverdavies.uk">Oliver Davies</a> (<a href="https://twitter.com/opdavies">
|
||||
@opdavies
|
||||
</a>) has been building websites since 2007, and speaking at meetups and conferences
|
||||
since 2012. He is a Full Stack Developer and a certified Drupal expert who also has
|
||||
experience developing with Symfony, Laravel, Sculpin and Vue.js, as well as with
|
||||
DevOps and systems administration.
|
||||
Oliver is a Software Developer and Drupal Expert with {numberOfYears} years of experience. He currently works at Transport for Wales.
|
||||
|
||||
He is a Lead Software Developer at <a href="https://tfw.wales/?%20utm_source=oliverdavies.uk&utm_medium=speaker-information">Transport for Wales</a>, a Drupal core contributor and mentor, and an open source and contribution advocate.
|
||||
|
||||
He regularly blogs and gives talks on various topics, maintains and contributes to various open source projects, and organises the PHP South Wales user group.
|
||||
As well as consulting on large Drupal projects, Oliver helps Drupal Developers learn automated testing and test-driven development via a free email course and paid workshops.
|
||||
|
||||
## Photos
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
import { differenceInYears } from 'date-fns';
|
||||
|
||||
export function getSlugFromFile(file: string): string {
|
||||
const parts = file.replace('.md', '').split('/')
|
||||
|
||||
return parts[parts.length - 1]
|
||||
}
|
||||
|
||||
export const numberOfYears = differenceInYears(new Date(), new Date(2007, 0, 1));
|
||||
|
|
Loading…
Reference in a new issue