After improving the design for the web part2
This commit is contained in:
parent
108ddd9076
commit
5bff8fb747
File diff suppressed because it is too large
Load Diff
@ -154,23 +154,25 @@ export function LandingPage() {
|
|||||||
{t('landing.live.subtitle')}
|
{t('landing.live.subtitle')}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{typeof activePlayers === 'number' && activePlayers > 0 && (
|
|
||||||
<span className="tl-live-pill">
|
|
||||||
<span className="tl-dot" />
|
|
||||||
{t('landing.live.subtitleWithCount', { count: activePlayers })}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="tl-live-grid">
|
<div className="tl-live-grid">
|
||||||
<LandingFeedStrip
|
<div className="tl-live-col">
|
||||||
title={t('landing.feeds.activityTitle')}
|
{typeof activePlayers === 'number' && activePlayers > 0 && (
|
||||||
subtitle={t('landing.feeds.activitySubtitle')}
|
<span className="tl-live-pill">
|
||||||
rows={activityRows}
|
<span className="tl-dot" />
|
||||||
loading={activityQ.isLoading}
|
{t('landing.live.subtitleWithCount', { count: activePlayers })}
|
||||||
emptyLabel={t('landing.feeds.activityEmpty')}
|
</span>
|
||||||
accent="#34D399"
|
)}
|
||||||
/>
|
<LandingFeedStrip
|
||||||
|
title={t('landing.feeds.activityTitle')}
|
||||||
|
subtitle={t('landing.feeds.activitySubtitle')}
|
||||||
|
rows={activityRows}
|
||||||
|
loading={activityQ.isLoading}
|
||||||
|
emptyLabel={t('landing.feeds.activityEmpty')}
|
||||||
|
accent="#34D399"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<LandingFeedStrip
|
<LandingFeedStrip
|
||||||
title={t('landing.feeds.withdrawalsTitle')}
|
title={t('landing.feeds.withdrawalsTitle')}
|
||||||
subtitle={t('landing.feeds.withdrawalsSubtitle')}
|
subtitle={t('landing.feeds.withdrawalsSubtitle')}
|
||||||
|
|||||||
@ -627,6 +627,20 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
gap: clamp(1.1rem, 2vw, 1.75rem);
|
gap: clamp(1.1rem, 2vw, 1.75rem);
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tl-live-col {
|
||||||
|
display: grid;
|
||||||
|
gap: 0.75rem;
|
||||||
|
min-width: 0;
|
||||||
|
align-content: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tl-live-col .tl-live-pill {
|
||||||
|
justify-self: start;
|
||||||
|
width: fit-content;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tl-feed {
|
.tl-feed {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user