2022-10-07 08:14:10 +00:00
---
2023-01-01 16:47:23 +00:00
layout: ~/layouts/PageLayout.astro
2022-10-07 08:14:10 +00:00
title: Oliver's Daily List
---
2023-04-19 17:00:00 +00:00
import AboutMe from "~/components/AboutMe.astro";
import DailyEmailForm from "~/components/DailyEmailForm.astro";
import Markdown from "~/components/Markdown.astro";
import _ from "lodash";
2022-10-19 20:05:27 +00:00
export const testimonials = [
{
name: "Patty O'Callaghan",
text: "<p>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.</p><p>Thanks for contributing to the community with your amazing content! :)</p>",
2023-04-19 17:00:00 +00:00
image: "patty-ocallaghan.jpg",
2022-10-19 20:05:27 +00:00
},
2022-11-28 22:06:52 +00:00
{
name: "Stephen Mulvihill",
2023-04-22 20:57:02 +00:00
text: '<p>I like the "$ git log -S" and "$ git log --grep" commands, will definitely be using these, thanks!</p>',
2023-04-19 17:00:00 +00:00
image: "stephen-mulvihill.jpg",
2022-12-01 00:22:43 +00:00
},
{
name: "Marcos Duran",
2023-04-22 20:57:02 +00:00
text: "<p>I am a big fan of your git approaches. I especially remember pairing with you and watching how many commands you run to solve many problems and how fast you were. It's a skill I believe not many have, particularly those who are used to working with a GUI like me, and personally I think it is quite valuable.</p>",
2023-04-19 17:00:00 +00:00
image: "marcos-duran.jpg",
},
];
2022-10-07 08:14:10 +00:00
2023-04-19 17:00:00 +00:00
export const sortedTestimonials = _.reverse(testimonials);
2022-10-19 20:05:27 +00:00
2023-04-22 20:57:02 +00:00
<p>
A daily newsletter on software development, DevOps, community, and
open-source.
</p>
2022-10-19 20:05:27 +00:00
2022-11-28 22:06:52 +00:00
<div class="space-y-12">
<div class="space-y-20">
<DailyEmailForm />
{sortedTestimonials && (
<section>
<h2 class="sr-only">Testimonials</h2>
<div class="space-y-12">
{testimonials.map(testimonial => (
<article class="flex space-x-10">
<div>
2023-04-22 20:57:02 +00:00
<Markdown>
<blockquote class="m-0"set:html={testimonial.text} />
2023-04-19 17:00:00 +00:00
2023-04-22 20:57:02 +00:00
<figcaption class="mt-6">{testimonial.name}</figcaption>
</Markdown>
2022-11-28 22:06:52 +00:00
</div>
2023-04-19 16:00:29 +00:00
<div class="hidden flex-shrink-0 sm:block">
2022-11-28 22:06:52 +00:00
<img
alt={testimonial.name}
2023-04-19 16:00:29 +00:00
class="rounded-full border border-grey"
2022-11-28 22:06:52 +00:00
src={`/images/daily/${testimonial.image}`}
width="75"
/>
</div>
</article>
))}
</div>
</section>
)}
2023-04-19 17:00:00 +00:00
2022-11-28 22:06:52 +00:00
</div>
<AboutMe />
</div>