webapp/src/components/Feed/Row1.tsx
Igor Lobanov 8cad60bdda
Feature/progressive image (#322)
* progressive image

* progressive image v0.2

* progressive images v0.3

* SimplifiedEditor async load, hydration script moved to the bottom

* GrowingTextarea optimization

* static images moved to storj

---------

Co-authored-by: Igor Lobanov <igor.lobanov@onetwotrip.com>
2023-11-18 15:10:02 +01:00

34 lines
805 B
TypeScript

import type { Shout } from '../../graphql/types.gen'
import { Show } from 'solid-js'
import { ArticleCard } from './ArticleCard'
export const Row1 = (props: {
article: Shout
nodate?: boolean
noAuthorLink?: boolean
noauthor?: boolean
}) => (
<Show when={!!props.article}>
<div class="floor floor--one-article">
<div class="wide-container">
<div class="row">
<div class="col-24">
<ArticleCard
article={props.article}
settings={{
isSingle: true,
nodate: props.nodate,
noAuthorLink: props.noAuthorLink,
noauthor: props.noauthor,
}}
desktopCoverSize="L"
/>
</div>
</div>
</div>
</div>
</Show>
)