Skip to content

Commit d78eac1

Browse files
committed
added page for RTH podcast
1 parent 2ef6d59 commit d78eac1

File tree

8 files changed

+45
-5
lines changed

8 files changed

+45
-5
lines changed

.eleventy.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,18 @@ module.exports = function (eleventyConfig) {
1414
eleventyConfig.addPlugin(EleventyRenderPlugin);
1515
eleventyConfig.addPlugin(pluginWebc, {
1616
components: [
17-
"src/_includes/components/*.webc"
17+
"src/_includes/components/*.webc",
18+
"npm:@11ty/eleventy-img/*.webc"
1819
]
1920
});
21+
eleventyConfig.addPlugin(pluginImage.eleventyImagePlugin, {
22+
formats: ["webp", "jpeg"],
23+
urlPath: "/img/",
24+
defaultAttributes: {
25+
loading: "lazy",
26+
decoding: "async"
27+
}
28+
})
2029

2130
// custom filters
2231
eleventyConfig.addFilter("formatDate", (value) => {

package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dw-website",
33
"private": true,
44
"description": "The personal and somewhat professional website for David Wesst, a.k.a. DW, a.k.a. Wessty.",
5-
"version": "10.5.0",
5+
"version": "10.5.1",
66
"author": "David Wesst <[email protected]>",
77
"homepage": "https://github.com/davidwesst/website#readme",
88
"license": "MIT",
@@ -34,6 +34,7 @@
3434
"devDependencies": {
3535
"@11ty/eleventy": "^2.0.0",
3636
"@11ty/eleventy-fetch": "^3.0.0",
37+
"@11ty/eleventy-img": "^3.1.0",
3738
"@11ty/eleventy-plugin-rss": "^1.2.0",
3839
"@11ty/eleventy-plugin-webc": "^0.11.1",
3940
"@azure/static-web-apps-cli": "^1.0.2",

src/_includes/components/site-header.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ <h1 class="site-title">David Wesst</h1>
99
<a href="/blog">Blog</a>
1010
<a href="/events">Events</a>
1111
<a href="/talks">Talks</a>
12-
<a href="/gamelog">Gamelog</a>
12+
<!-- <a href="/gamelog">Gamelog</a> -->
13+
<a href="/rememberthehuman">Remember The Human</a>
1314
<a href="/cocobokostudios">Cocoboko Studios</a>
1415
</nav>
1516
</div>

src/_layouts/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{% endif %}
3333
{% if image %}
3434
{% capture page_image %}
35-
{% image_uri image %}
35+
{% image_uri image %}
3636
{% endcapture %}
3737
<meta name="image" property="og:image" content="{{ page_image | strip | prepend: 'https://www.davidwesst.com' }}" />
3838
<meta property="og:image:secure_url" content="{{ page_image | strip | prepend: 'https://www.davidwesst.com' }}" />

src/assets/images/rth_logo.png

809 KB
Loading

src/assets/styles/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ main > *:not(dialog) {
109109
.hero {
110110
height: calc(100vh - 85px);
111111
display: flex;
112+
flex-direction: column;
112113
justify-content: center;
113-
align-items: center;
114114
text-align: left;
115115
color: #333;
116116
}

src/pages/remember-the-human.webc

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: base.html
3+
permalink: /rememberthehuman/index.html
4+
title: REMEMBER THE HUMAN // David Wesst
5+
description: Homepage for Remember the Human, a podcast hosted by David Wesst, about artificial intelligence and the change it brings to the lives of people.
6+
---
7+
<header class="hero">
8+
<img webc:is="eleventy-image" src="./src/assets/images/rth_logo.png" width="360" sizes="100vw" alt="Remember The Human podcast logo">
9+
<h2><span class="reverse-colour">Remember the Human</span></h2>
10+
<p><span class="reverse-colour">A podcast, hosted by David Wesst, about artificial intelligence and the change it brings to our day-to-day lives.</span></p>
11+
<section>
12+
<h3>Subscribe</h3>
13+
<menu>
14+
<li><a href="https://open.spotify.com/show/0ylqvEi3euRtIYR0n5T4V6" target="_blank">Spotify</a></li>
15+
<li><a href="https://www.youtube.com/playlist?list=PLbTA1UhK0wKike9s5uPoxqTJ8HkdY9tzn" target="_blank">YouTube</a></li>
16+
<li><a href="https://podcasts.apple.com/us/podcast/remember-the-human/id1697522062" target="_blank">Apple</a></li>
17+
<li><a href="https://podcasts.google.com/feed/aHR0cHM6Ly9hbmNob3IuZm0vcy9lNWE4Nzk3MC9wb2RjYXN0L3Jzcw" target="_blank">Google Podcasts</a>
18+
</menu>
19+
<h3>Follow</h3>
20+
<menu>
21+
<li><a href="https://www.linkedin.com/company/rememberthehuman/" target="_blank">LinkedIn</a></li>
22+
</menu>
23+
</section>
24+
</header>
25+
26+
27+
28+

0 commit comments

Comments
 (0)