{siteConfig.tagline}
diff --git a/src/pages/showcase/_components/Card.tsx b/src/pages/showcase/_components/Card.tsx new file mode 100644 index 00000000..c7396790 --- /dev/null +++ b/src/pages/showcase/_components/Card.tsx @@ -0,0 +1,112 @@ +import React from 'react'; + +import Image from '@theme/IdealImage'; + +import { Showcase } from '../../../utils/apiTypes'; +import { mapUrl } from '../../../utils/map'; +import { CardTags } from './CardTags'; + +export interface CardProps { + network: Showcase; +} + +export const Card = React.memo(({ network }: CardProps) => ( + +)); + +export const PlaceholderCard = (): JSX.Element => ( + +); diff --git a/src/pages/showcase/_components/CardTags.tsx b/src/pages/showcase/_components/CardTags.tsx new file mode 100644 index 00000000..4d444f95 --- /dev/null +++ b/src/pages/showcase/_components/CardTags.tsx @@ -0,0 +1,29 @@ +import React from 'react'; + +import { ShowcaseTag } from '../../../utils/apiTypes'; + +export interface CardTagsProps { + tags: ShowcaseTag[]; +} + +export const CardTags = ({ tags }: CardTagsProps) => { + return ( +{data.summary}
+ {githubData && ( +{metadata.description}
-{segment.body}
-