Skip to content

Commit

Permalink
Rename TalkSocialCard to ConfSocialCard
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Dec 30, 2024
1 parent f43eb00 commit 6722871
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pages/talks/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { GetStaticPaths, InferGetStaticPropsType } from 'astro'
import BaseLayout from '@/layouts/BaseLayout.astro'
import PageContainer from '@/components/PageContainer.astro'
import Speaker from '@/components/Speaker.astro'
import TalkSocialCard from '@/components/conf/TalkSocialCard.astro'
import ConfSocialCard from '@/components/conf/ConfSocialCard.astro'
export const getStaticPaths = (async () => {
const meetupTalks = talks.map(talk => {
Expand Down Expand Up @@ -62,7 +62,7 @@ const speakerPhoto = `/_public/images/speakers/${speaker.photo}`
{
type === 'conf-2023' && (
<div id="social-card" hidden>
<TalkSocialCard
<ConfSocialCard
name={speaker.name}
photo={speakerPhoto}
title={title}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/workshops/[id].astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import TalkSocialCard from '@/components/conf/TalkSocialCard.astro'
import ConfSocialCard from '@/components/conf/ConfSocialCard.astro'
import PageContainer from '@/components/PageContainer.astro'
import Speaker from '@/components/Speaker.astro'
import conf from '@/data/conf-2023.json'
Expand Down Expand Up @@ -56,7 +56,7 @@ const sharing = {
{
type === 'conf-2023' && (
<div id="social-card" hidden>
<TalkSocialCard
<ConfSocialCard
name={speaker.name}
photo={speakerPhoto}
title={workshop.title}
Expand Down

0 comments on commit 6722871

Please sign in to comment.