From a1bf2a0d0068a5f4a9f12c3b597a2c83d529dc3c Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Thu, 22 Aug 2024 14:39:42 -0400 Subject: [PATCH] fix: speaker-small list items should be
  • s --- package.json | 2 +- src/components/Speaker.astro | 6 ++---- src/components/SpeakerSmall.astro | 6 +++--- src/components/SpeakersContent.astro | 2 +- src/components/SubtleCard.astro | 8 +++++--- src/pages/speakers.astro | 1 - 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 67c6e10..8fc9220 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@fontsource-variable/josefin-sans": "5.0.21", "@fontsource/urbanist": "5.0.20", "@types/eslint-plugin-markdown": "2.0.2", - "accessible-astro-components": "2.3.6", + "accessible-astro-components": "^2.3.6", "astro": "4.11.5", "cspell": "8.10.4", "eslint": "8.57.0", diff --git a/src/components/Speaker.astro b/src/components/Speaker.astro index fdbdcd1..d967f59 100644 --- a/src/components/Speaker.astro +++ b/src/components/Speaker.astro @@ -10,14 +10,12 @@ import SubtleCard from "./SubtleCard.astro"; interface Props { class?: string; showBioLinkText?: boolean; - renderAs: "div" | "li"; speaker: Person; talks: TalkInfo[]; } const { class: className, - renderAs: As, showBioLinkText, speaker: { links, qualification, name, role, slug }, talks, @@ -25,7 +23,7 @@ const { } = Astro.props; --- - +
  • @@ -81,7 +79,7 @@ const { }
    - +
  • diff --git a/src/pages/speakers.astro b/src/pages/speakers.astro index 3a6f872..e1979c1 100644 --- a/src/pages/speakers.astro +++ b/src/pages/speakers.astro @@ -32,7 +32,6 @@ const speakersToExclude = new Set([ ) .map((person) => ( talk.people.includes(person),