increase size of metar
This commit is contained in:
@@ -12,8 +12,8 @@ const Radar = () => {
|
|||||||
<iframe
|
<iframe
|
||||||
title="radar"
|
title="radar"
|
||||||
width="1015"
|
width="1015"
|
||||||
height="600"
|
height="500"
|
||||||
src="https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=default&metricTemp=°C&metricWind=kt&zoom=8&overlay=radar&product=radar&level=surface&lat=27.794&lon=-81.745&pressure=true&message=true&play=true"
|
src="https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=default&metricTemp=°C&metricWind=kt&zoom=8&overlay=radar&product=radar&level=surface&lat=27.794&lon=-81.745&pressure=true&message=true"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,12 +10,13 @@ const baseStyles = {
|
|||||||
headerCell: {
|
headerCell: {
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
fontSize: '1.2rem',
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
fontSize: '1.1em',
|
fontSize: '1.2rem',
|
||||||
},
|
},
|
||||||
value: {
|
value: {
|
||||||
fontSize: '1.1em',
|
fontSize: '1.2rem',
|
||||||
},
|
},
|
||||||
icon: {
|
icon: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ const Metar = ({ data }) => {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
minHeight: '450px',
|
minHeight: '550px',
|
||||||
maxHeight: '450px',
|
maxHeight: '550px',
|
||||||
minWidth: '1015px',
|
minWidth: '1015px',
|
||||||
maxWidth: '1015px',
|
maxWidth: '1015px',
|
||||||
backgroundColor: '#23252A',
|
backgroundColor: '#23252A',
|
||||||
@@ -84,13 +84,14 @@ const Metar = ({ data }) => {
|
|||||||
backgroundColor: '#313340',
|
backgroundColor: '#313340',
|
||||||
padding: '1rem',
|
padding: '1rem',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
fontSize: '1.2rem',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<RunwayMatrix metar={decodedMetar} />
|
<RunwayMatrix metar={decodedMetar} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style={{ padding: '.5rem 1rem' }}>
|
<div style={{ padding: '.5rem 1rem', fontSize: '1.5rem' }}>
|
||||||
<p>{metar}</p>
|
<p>{metar}</p>
|
||||||
<TafDisplay taf={taf} />
|
<TafDisplay taf={taf} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const Schedule = ({ data }) => {
|
|||||||
<ScheduleCell width={widths[4]} color="white">
|
<ScheduleCell width={widths[4]} color="white">
|
||||||
Destination
|
Destination
|
||||||
</ScheduleCell>
|
</ScheduleCell>
|
||||||
<ScheduleCell width="15" color="white"></ScheduleCell>
|
<ScheduleCell width="15"></ScheduleCell>
|
||||||
<ScheduleCell width={widths[5]} color="white">
|
<ScheduleCell width={widths[5]} color="white">
|
||||||
Gate
|
Gate
|
||||||
</ScheduleCell>
|
</ScheduleCell>
|
||||||
@@ -63,14 +63,8 @@ const Schedule = ({ data }) => {
|
|||||||
<ScheduleCell width={widths[1]}>{row.date}</ScheduleCell>
|
<ScheduleCell width={widths[1]}>{row.date}</ScheduleCell>
|
||||||
<ScheduleCell width={widths[2]}>{row.startTime}</ScheduleCell>
|
<ScheduleCell width={widths[2]}>{row.startTime}</ScheduleCell>
|
||||||
<ScheduleCell width={widths[3]}>{row.endTime}</ScheduleCell>
|
<ScheduleCell width={widths[3]}>{row.endTime}</ScheduleCell>
|
||||||
<ScheduleCell width={widths[4]}>
|
<ScheduleCell width={widths[4]}>{row.description}</ScheduleCell>
|
||||||
{row.description?.length
|
<ScheduleCell width="15"></ScheduleCell>
|
||||||
? row.description
|
|
||||||
: row.backseat
|
|
||||||
? 'backseat'
|
|
||||||
: undefined}
|
|
||||||
</ScheduleCell>
|
|
||||||
<ScheduleCell width="15" color="white"></ScheduleCell>
|
|
||||||
<ScheduleCell width={widths[5]}>{row.location}</ScheduleCell>
|
<ScheduleCell width={widths[5]}>{row.location}</ScheduleCell>
|
||||||
<ScheduleCell
|
<ScheduleCell
|
||||||
end="true"
|
end="true"
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
const bgs = {
|
|
||||||
true: 'none',
|
|
||||||
false: '#2F3136',
|
|
||||||
};
|
|
||||||
|
|
||||||
const ScheduleRow = ({ children, bg, border }) => {
|
const ScheduleRow = ({ children, bg, border }) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
@@ -13,7 +8,7 @@ const ScheduleRow = ({ children, bg, border }) => {
|
|||||||
color: 'white',
|
color: 'white',
|
||||||
padding: '.5rem 1rem',
|
padding: '.5rem 1rem',
|
||||||
borderBottom: border ? '1px solid grey' : 'none',
|
borderBottom: border ? '1px solid grey' : 'none',
|
||||||
backgroundColor: bgs[bg],
|
backgroundColor: bg ? 'none' : '#2F3136',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Reference in New Issue
Block a user