diff --git a/src/components/Topic/Full.tsx b/src/components/Topic/Full.tsx index 5e22aed1..9b6705b4 100644 --- a/src/components/Topic/Full.tsx +++ b/src/components/Topic/Full.tsx @@ -1,7 +1,7 @@ -import type { Topic } from '../../graphql/schema/core.gen' +import type { Author, Topic } from '../../graphql/schema/core.gen' import { clsx } from 'clsx' -import { Show, createEffect, createSignal } from 'solid-js' +import { For, Show, createEffect, createSignal } from 'solid-js' import { useFollowing } from '../../context/following' import { useLocalize } from '../../context/localize' @@ -9,10 +9,13 @@ import { useSession } from '../../context/session' import { FollowingEntity } from '../../graphql/schema/core.gen' import { Button } from '../_shared/Button' +import stylesCard from '../Author/AuthorCard/AuthorCard.module.scss' +import { Userpic } from '../Author/Userpic' import styles from './Full.module.scss' type Props = { topic: Topic + followers?: Author[] } export const FullTopic = (props: Props) => { @@ -40,6 +43,31 @@ export const FullTopic = (props: Props) => { return (