Skip to content

Commit 23bb29e

Browse files
committed
Remove Switcher component and call sites
1 parent a5150da commit 23bb29e

10 files changed

Lines changed: 1 addition & 494 deletions

File tree

src/components/Content/Layout/index.astro

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import type { CollectionEntry } from 'astro:content'
1010
import { Picture } from 'astro:assets'
1111
import MarkdownLayout from '@layouts/MarkdownLayout.astro'
1212
import Carousel from '@components/Carousel/index.astro'
13-
import ContentSwitcher from '@components/Content/Switcher/index.astro'
1413
import Shares from '@components/Social/Shares/index.astro'
1514
import WebMentions from '@components/WebMentions/index.astro'
1615
@@ -57,11 +56,6 @@ const relatedContentType = path.startsWith('/deep-dive/') || canonicalPath ? 'de
5756
}
5857
{...readingTime && { readingTime }}
5958
>
60-
{/** SLOT: breadcrumb-row */}
61-
<div class="pr-4" slot="breadcrumb-row">
62-
<ContentSwitcher path={path} />
63-
</div>
64-
6559
{/** SLOT: hero-image */}
6660
{
6761
article.data.cover && (

src/components/Content/Switcher/client/__tests__/index.spec.ts

Lines changed: 0 additions & 121 deletions
This file was deleted.

src/components/Content/Switcher/client/index.ts

Lines changed: 0 additions & 177 deletions
This file was deleted.

src/components/Content/Switcher/client/selectors.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/components/Content/Switcher/index.astro

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/components/Content/Switcher/index.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)