Skip to content

Commit 5417a19

Browse files
Issue #466: Various updates to the podcast page (#473)
* Section IDs and corrections * Made titles consistent * Fix size issues
1 parent 6fd3099 commit 5417a19

20 files changed

Lines changed: 77 additions & 33 deletions

astro/astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ export default defineConfig({
7373
// Payment
7474
"cc-paypal", "cc-stripe", "paypal", "stripe",
7575
],
76+
'simple-icons': [
77+
// Streaming
78+
'podcastindex'
79+
],
7680
}
7781
}),
7882
sitemap({

astro/package-lock.json

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

astro/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@fontsource/atkinson-hyperlegible": "5.0.20",
1919
"@iconify-json/bi": "1.1.23",
2020
"@iconify-json/cib": "1.1.8",
21+
"@iconify-json/simple-icons": "1.2.67",
2122
"astro": "5.16.11",
2223
"astro-icon": "1.1.5",
2324
"astro-lazy-youtube-embed": "0.5.4",

astro/src/components/SocialLinks.astro

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ interface LinkConfig {
1717
1818
interface Props {
1919
links: SocialLinkDictionary;
20-
adjective?: string;
20+
label?: string;
2121
gap?: number;
22+
iconSize?: string;
2223
}
2324
24-
const { links, adjective = "" } = Astro.props;
25+
const { links, label = "", iconSize = "2em", gap = 2 } = Astro.props;
2526
const brandingThemes = {
2627
email: "primary",
2728
};
@@ -31,6 +32,7 @@ const socialLinks: Array<LinkConfig> = toPairs(links).map(([type, url]) => {
3132
if (type == "email") return "envelope-at";
3233
else if (type == "threads") return "threads-logo-black";
3334
else if (type == "website") return "bi:globe";
35+
else if (type == "podcastIndex") return "simple-icons:podcastindex";
3436
else return `cib:${kebabCase(type)}`;
3537
})();
3638
@@ -51,12 +53,9 @@ const socialLinks: Array<LinkConfig> = toPairs(links).map(([type, url]) => {
5153

5254
{
5355
!isEmpty(socialLinks) && (
54-
<ul
55-
class="list-unstyled d-inline-block mb-2"
56-
aria-label={`${adjective} Communications and Social Media Links`}
57-
>
56+
<ul class="list-unstyled d-inline-block mb-2" aria-label={label}>
5857
{socialLinks.map((sl) => (
59-
<li class="d-inline-block mx-2">
58+
<li class:list={["d-inline-block", `mx-${gap}`]}>
6059
<a
6160
href={sl.href}
6261
class="d-inline-block align-middle"
@@ -67,7 +66,9 @@ const socialLinks: Array<LinkConfig> = toPairs(links).map(([type, url]) => {
6766
name={sl.icon}
6867
class="bi social-icon"
6968
role="img"
70-
aria-label={`${adjective} ${sl.service} ${sl.description}`}
69+
aria-label={`${label} ${sl.service} ${sl.description}`}
70+
width={iconSize}
71+
height={iconSize}
7172
/>
7273
</a>
7374
</li>
@@ -76,12 +77,12 @@ const socialLinks: Array<LinkConfig> = toPairs(links).map(([type, url]) => {
7677
)
7778
}
7879

79-
<style>
80+
<style define:vars={{ "si-icon-size": iconSize }}>
8081
.social-icon {
8182
fill: currentColor;
82-
width: 2rem;
83-
height: 2rem;
84-
min-height: 2rem;
85-
min-width: 2rem;
83+
width: var(--si-icon-size);
84+
height: var(--si-icon-size);
85+
min-height: var(--si-icon-size);
86+
min-width: var(--si-icon-size);
8687
}
8788
</style>

astro/src/components/StaffList.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import { sortBy } from "lodash-es";
44
55
interface Props {
66
team: string; // TODO: declare enum;
7+
size?: string;
78
}
89
9-
const { team } = Astro.props;
10+
const { team, size = "18rem" } = Astro.props;
1011
const staff: CollectionEntry<"staff">[] = sortBy(
1112
await getCollection(
1213
"staff", ({data}) => data.current && Object.keys(data.roles ?? {}).includes(team)
@@ -38,9 +39,9 @@ import TeamVignette from "@components/TeamVignette.astro";
3839
);
3940
})}
4041
</ul>
41-
<style>
42+
<style define:vars={{ "sli-size": size }}>
4243
.staff-list-item {
43-
max-width: 18rem;
44+
max-width: var(--sli-size);
4445
}
4546
.staff-list-item :global(.vignette-name) {
4647
color: var(--bs-primary-text-emphasis);

astro/src/components/TeamMemberBio.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const { Content } = await render(member);
3434
<div
3535
class="col-md-3 pb-2 pt-md-3 pe-3 pe-lg-3 pe-xl-4 ps-md-2 text-center text-md-end align-self-center"
3636
>
37-
{!isEmpty(links) && <SocialLinks links={links} adjective={`${name}'s`} />}
37+
{!isEmpty(links) && <SocialLinks links={links} label={`${name}'s Communications and Social Media Links`} />}
3838
</div>
3939
</div>
4040
<div class="p-2">

astro/src/content.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ const podcastShows = defineCollection({
118118
.object({
119119
youtube: z.string().url(),
120120
applePodcasts: z.string().url(),
121+
podcastIndex: z.string().url(),
121122
})
122123
.partial()
123124
.optional(),

astro/src/content/blogs/day-in-life-announcement.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author: esther-klang
99

1010
Accessibility work is strongest when grounded in real-world experience. Not in assumptions. Not in checklists alone. In the everyday experiences of disabled people navigating systems that shape how we work, communicate, learn, and participate.
1111

12-
"Day in the Life" is a multimedia storytelling project created to do precisely that.
12+
A [Day in the Life](/podcasts/#day-in-the-life) is a multimedia storytelling project created to do precisely that.
1313

1414
This series centers on real experiences of living with a disability and presents them with care, intention, and professional respect. It is designed for education, outreach, and accessibility practice, with a clear goal: to treat lived experience as legitimate expertise and to share it responsibly.
1515

@@ -25,7 +25,7 @@ Day in the Life was created to surface that knowledge. Not as anecdote, but as a
2525

2626
## How the Stories Are Created
2727

28-
Each episode of Day in the Life is based on a full interview conducted by Taylor Dorward from _Accessible Community_.
28+
Each episode of [Day in the Life](/podcasts/#day-in-the-life) is based on a full interview conducted by Taylor Dorward from _Accessible Community_.
2929

3030
Participants talk through their daily routines, decision-making processes, access needs, and the systems they interact with regularly. The focus is not on diagnosis or personal history, but on lived interaction with the world as it is designed today.
3131

astro/src/content/podcasts/shows/day-in-the-life.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: A 'Day in the Life'
33
host: taylor-dorward
44
image: src/images/podcasts/day-in-the-life.png
5+
links:
6+
youtube: https://www.youtube.com/playlist?list=PL8BDCgijUWjMMXT1ZE3BEgYQSN2H57YKW
7+
applePodcasts: https://podcasts.apple.com/us/podcast/accessible-community/id1870924919
8+
podcastIndex: https://podcastindex.org/podcast/7666499
59
---
610
Accessibility work is strongest when grounded in real-world experience. Not in assumptions. Not in checklists alone. In the everyday experiences of disabled people navigating systems that shape how we work, communicate, learn, and participate.
711

astro/src/content/staff/esther-klang.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ roles:
77
content: Writer
88
communications: Director
99
leadership: Director, Communications
10-
podcasts: Communications, Contributor
10+
podcasts: Contributor, Communications
1111
photo:
1212
image: ../../images/staff/3d/estherk_headshot.png
1313
links:

0 commit comments

Comments
 (0)