add but dont link to last years events

This commit is contained in:
Lewis Dale 2024-03-02 10:14:30 +00:00
parent a752294870
commit f0160d842b
5 changed files with 35 additions and 8 deletions

View File

@ -1,16 +1,12 @@
---
title: 2024 cycling events calendar
layout: base.njk
layout: "base.njk"
---
<main class="wrapper-lg events">
<article class="stack-lg">
<h1 class="text-center">{{ title }}</h1>
<div class="stack-lg">
<p>This year I'm raising money for <a href="https://www.cyclistsfc.org.uk/">Cyclists Fighting Cancer</a>, a brilliant charity that donate bikes to children and young people who are dealing with cancer.</p>
<p>If you'd like to donate to the fundraiser, you can do so on the <a href="https://www.justgiving.com/page/lewis-dale-bikes">JustGiving page</a>.</a></p>
{{ content | safe }}
<h2>The events</h2>
<ul class="grid eventlist" role="list" data-cols="3">

View File

@ -128,7 +128,6 @@ a {
}
&[target="_blank"] {
padding-right: 1.5ch;
display: inline-block;
position: relative;
}

View File

@ -0,0 +1,16 @@
{
"events": [
{
"date": "2024-07-14",
"name": "Manchester - Blackpool Bike Ride",
"location": "Manchester, UK",
"distance": "215km"
},
{
"date": "2024-09-02",
"name": "Manchester 100",
"location": "Manchester, UK",
"distance": "173km"
}
]
}

8
src/events/2023.md Normal file
View File

@ -0,0 +1,8 @@
---
title: 2023 cycling events calendar
layout: eventcalendar.njk
---
For 2023, I cycled two events raising money for [The Christie](https://www.christie.nhs.uk/), and was able to raise an amazing £936!
Thanks so much to everyone who donated, I really appreciate it.

8
src/events/2024.md Normal file
View File

@ -0,0 +1,8 @@
---
title: 2024 cycling events calendar
layout: eventcalendar.njk
---
This year I'm raising money for [Cyclists Fighting Cancer](https://www.cyclistsfc.org.uk/), a brilliant charity that donate bikes to children and young people who are dealing with cancer.
If you'd like to donate to the fundraiser, you can do so on the [JustGiving page](https://www.justgiving.com/page/lewis-dale-bikes).