From 7ee59c28dfb9dabf3855429f0a199537f75e4e26 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 19 Oct 2022 21:05:27 +0100 Subject: [PATCH] feat: initial implementation of recommendations An inititla implementation to add recommendations to the Daily List page. This is intentionally hidden until the feature is completed and the styling is applied to each testimonial. --- website/src/pages/daily.mdx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/website/src/pages/daily.mdx b/website/src/pages/daily.mdx index 96498f98..bfffff5f 100644 --- a/website/src/pages/daily.mdx +++ b/website/src/pages/daily.mdx @@ -5,8 +5,33 @@ title: Oliver's Daily List import AboutMe from '../components/AboutMe.astro'; import DailyEmailForm from '../components/DailyEmailForm.astro'; +import Markdown from '../components/Markdown.astro'; + +export const testimonials = [ + { + name: "Patty O'Callaghan", + text: "

Just wanted to say that your blog is amazing <3 I absolutely love it and usually share it with colleagues and some of the kids at my Code Club.

Thanks for contributing to the community with your amazing content! :)

", + }, +] A daily newsletter on software development, DevOps, community, and open-source. + +{false && testimonials && ( +
+

Testimonials

+ +
+ {testimonials.map(testimonial => ( +
+ {testimonial.name} + + +
+ ))} +
+
+)} +