diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index 5f24ea34..d898bebb 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -24,6 +24,7 @@ import article from '../Editor/extensions/Article' import { createEffect, For, createMemo, onMount, Show, createSignal, Switch, Match } from 'solid-js' import { MediaItem } from '../../pages/types' import { AudioHeader } from './AudioHeader' +import { SolidSwiper } from '../_shared/SolidSwiper' interface ArticleProps { article: Shout @@ -105,6 +106,7 @@ export const FullArticle = (props: ArticleProps) => { actions: { loadReactionsBy } } = useReactions() + console.log('!!! props.s:', JSON.parse(props.article.media)) return ( <> {props.article.title} @@ -112,52 +114,58 @@ export const FullArticle = (props: ArticleProps) => {
{/*TODO: Check styles.shoutTopic*/} - - -
- - - - -

{props.article.title}

- -

{capitalize(props.article.subtitle, false)}

-
- -
- - {(a: Author, index) => ( - <> - 0}>, - {a.name} - - )} - + +
+ + - -
- + + +

{props.article.title}

+ +

{capitalize(props.article.subtitle, false)}

+
+ +
+ + {(a: Author, index) => ( + <> + 0}>, + {a.name} + + )} +
- - - - - + +
+ +
+
+ + + 0}> +
+ +
+
+
+ + +
@@ -173,13 +181,6 @@ export const FullArticle = (props: ArticleProps) => {
- - 0 && props.article.layout !== 'image'}> -
- -
-
-
}>