thomaswilson-sveltekit/src/routes/home/HomepageHeader.svelte

94 lines
2.2 KiB
Svelte
Raw Normal View History

2024-03-17 09:33:22 +00:00
<script lang="ts">
import { format as formatDate } from "date-fns";
// TODO: move somewhere common
interface BlogPost {
title: string;
slug: string;
date: string;
}
export let latestBlogPosts: BlogPost[] = [];
</script>
<section class="homepage-header">
<h1 class="title">(Thomas) Wilson</h1>
2024-06-18 06:23:06 +00:00
<p class="body">Hand-maker of things, notably software and clothes.</p>
<p class="body">My personal goal is to:</p>
2024-03-17 22:01:32 +00:00
<blockquote class="mission-statement">
2024-06-18 06:23:06 +00:00
make things stronger which don&apos;t rely on exploitation, excessive waste,
or dishonesty; and to try and build a kinder, fairer world even when it's
hard.
2024-03-17 22:01:32 +00:00
</blockquote>
2024-03-17 09:33:22 +00:00
<p class="body">
2024-06-18 06:23:06 +00:00
I try to think and be curious, which is why I keep a <a href="/blog"
>weblog</a
>
and, equally worth mentioning, what got me through a
2024-03-17 09:33:22 +00:00
<a
class="thesis"
target="_blank"
rel="noopener noreferrer"
href="https://eprints.soton.ac.uk/418168/"
>Ph.D. in Education Technology</a
>.
</p>
<p class="body">Here are some things I've written recently:</p>
<ol class="latest-blog-posts">
2024-03-17 09:33:22 +00:00
{#each latestBlogPosts as post}
<li>
<a href="/blog/{post.slug}">{post.title}</a> ({formatDate(
new Date(post.date),
"yyyy-MM-dd"
)})
</li>
{/each}
</ol>
<p class="body">
Right now I am a Senior Software engineer at <a
href="https://www.laka.co.uk"
target="_blank"
rel="noopener noreferrer">Laka</a
2024-06-18 06:23:06 +00:00
>, making insurance genuinely fairer. Before that, I was Head of Software
Engineering at
2024-03-17 09:33:22 +00:00
<a href="https://www.oxwash.com" target="_blank" rel="noopener noreferrer"
>Oxwash</a
2024-04-20 21:09:58 +00:00
>, building tools for actually sustainable laundry and wet cleaning.
2024-03-17 09:33:22 +00:00
</p>
</section>
<style>
.homepage-header {
font-family: monospace;
display: grid;
place-items: center;
padding: 0 12px;
2024-03-17 09:33:22 +00:00
}
a,
ol,
li,
p {
2024-03-17 09:33:22 +00:00
color: var(--text-color);
font-family: inherit;
width: 100%;
max-width: 60ch;
}
.title {
font-weight: 400;
font-family: inherit;
2024-03-17 22:01:32 +00:00
padding-bottom: 1.85rem;
2024-03-17 09:33:22 +00:00
}
.body {
text-align: left;
2024-06-18 06:23:06 +00:00
line-height: 160%;
2024-03-17 09:33:22 +00:00
}
.latest-blog-posts {
list-style-position: inside;
}
2024-03-17 09:33:22 +00:00
</style>