
* 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>
34 lines
805 B
TypeScript
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>
|
|
)
|