docs: update speaker bio
This commit is contained in:
parent
3cb17cac8c
commit
c53039be48
3 changed files with 9 additions and 12 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue