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')}
|
||||
</p>
|
||||
</div>
|
||||
{typeof activePlayers === 'number' && activePlayers > 0 && (
|
||||
<span className="tl-live-pill">
|
||||
<span className="tl-dot" />
|
||||
{t('landing.live.subtitleWithCount', { count: activePlayers })}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="tl-live-grid">
|
||||
<LandingFeedStrip
|
||||
title={t('landing.feeds.activityTitle')}
|
||||
subtitle={t('landing.feeds.activitySubtitle')}
|
||||
rows={activityRows}
|
||||
loading={activityQ.isLoading}
|
||||
emptyLabel={t('landing.feeds.activityEmpty')}
|
||||
accent="#34D399"
|
||||
/>
|
||||
<div className="tl-live-col">
|
||||
{typeof activePlayers === 'number' && activePlayers > 0 && (
|
||||
<span className="tl-live-pill">
|
||||
<span className="tl-dot" />
|
||||
{t('landing.live.subtitleWithCount', { count: activePlayers })}
|
||||
</span>
|
||||
)}
|
||||
<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
|
||||
title={t('landing.feeds.withdrawalsTitle')}
|
||||
subtitle={t('landing.feeds.withdrawalsSubtitle')}
|
||||
|
||||
@ -627,6 +627,20 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user