pull/37/head
accius 2 days ago
parent a837be6802
commit 7ad6fbc86f

@ -626,8 +626,8 @@ const App = () => {
{/* RIGHT SIDEBAR */} {/* RIGHT SIDEBAR */}
<div style={{ display: 'flex', flexDirection: 'column', gap: '4px', overflow: 'hidden' }}> <div style={{ display: 'flex', flexDirection: 'column', gap: '4px', overflow: 'hidden' }}>
{/* DX Cluster */} {/* DX Cluster - primary panel, takes most space */}
<div style={{ flex: '0 1 auto', minHeight: '120px', maxHeight: '160px', overflow: 'hidden' }}> <div style={{ flex: '2 1 auto', minHeight: '180px', overflow: 'hidden' }}>
<DXClusterPanel <DXClusterPanel
data={dxCluster.data} data={dxCluster.data}
loading={dxCluster.loading} loading={dxCluster.loading}
@ -643,7 +643,7 @@ const App = () => {
</div> </div>
{/* PSKReporter - digital mode spots */} {/* PSKReporter - digital mode spots */}
<div style={{ flex: '0 1 auto', minHeight: '120px', maxHeight: '160px', overflow: 'hidden' }}> <div style={{ flex: '1 1 auto', minHeight: '140px', overflow: 'hidden' }}>
<PSKReporterPanel <PSKReporterPanel
callsign={config.callsign} callsign={config.callsign}
showOnMap={mapLayers.showPSKReporter} showOnMap={mapLayers.showPSKReporter}
@ -656,11 +656,6 @@ const App = () => {
/> />
</div> </div>
{/* Contests - bigger with live indicators */}
<div style={{ flex: '1 1 auto', minHeight: '140px', overflow: 'hidden' }}>
<ContestPanel data={contests.data} loading={contests.loading} />
</div>
{/* DXpeditions */} {/* DXpeditions */}
<div style={{ flex: '0 0 auto', minHeight: '70px', maxHeight: '100px', overflow: 'hidden' }}> <div style={{ flex: '0 0 auto', minHeight: '70px', maxHeight: '100px', overflow: 'hidden' }}>
<DXpeditionPanel data={dxpeditions.data} loading={dxpeditions.loading} /> <DXpeditionPanel data={dxpeditions.data} loading={dxpeditions.loading} />
@ -675,6 +670,11 @@ const App = () => {
onToggleMap={togglePOTA} onToggleMap={togglePOTA}
/> />
</div> </div>
{/* Contests - at bottom, compact */}
<div style={{ flex: '0 0 auto', minHeight: '80px', maxHeight: '120px', overflow: 'hidden' }}>
<ContestPanel data={contests.data} loading={contests.loading} />
</div>
</div> </div>
</div> </div>
)} )}

@ -125,7 +125,7 @@ export const ContestPanel = ({ data, loading }) => {
</div> </div>
) : sortedContests.length > 0 ? ( ) : sortedContests.length > 0 ? (
<div style={{ fontSize: '10px', fontFamily: 'JetBrains Mono, monospace' }}> <div style={{ fontSize: '10px', fontFamily: 'JetBrains Mono, monospace' }}>
{sortedContests.slice(0, 8).map((contest, i) => { {sortedContests.slice(0, 4).map((contest, i) => {
const live = isContestLive(contest); const live = isContestLive(contest);
const soon = isStartingSoon(contest); const soon = isStartingSoon(contest);

Loading…
Cancel
Save

Powered by TurnKey Linux.