diff --git a/src/theme/DocTagsListPage/index.tsx b/src/theme/DocTagsListPage/index.tsx deleted file mode 100644 index aafd6407c..000000000 --- a/src/theme/DocTagsListPage/index.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import { HtmlClassNameProvider, PageMetadata, ThemeClassNames, translateTagsPageTitle } from '@docusaurus/theme-common' -import { Icon } from '@iconify/react' -import { cn } from '@site/src/lib/utils' -import type { Props } from '@theme/DocTagsListPage' -import SearchMetadata from '@theme/SearchMetadata' -import TagsListByLetter from '@theme/TagsListByLetter' -import React, { useState } from 'react' - -import MyLayout from '../MyLayout' -import { TagsListByFlat } from '../TagsListByLetter' - -export default function DocTagsListPage({ tags }: Props): JSX.Element { - const title = translateTagsPageTitle() - - const [type, setType] = useState('letter') - - return ( - - - - -
-

{title}

-
-
- setType('list')} - color={type === 'list' ? 'var(--ifm-color-primary)' : '#ccc'} - /> - setType('grid')} - color={type === 'grid' ? 'var(--ifm-color-primary)' : '#ccc'} - /> -
-
-
- {type === 'letter' && } - {type === 'flat' && } -
-
- ) -}