diff --git a/components/MainCard.js b/components/MainCard.js index f22a42c..986cf85 100644 --- a/components/MainCard.js +++ b/components/MainCard.js @@ -17,12 +17,11 @@ export const MainCard = ({

{description}

weatherIcon -

+

{systemUsed == "metric" ? Math.round(weatherData.main.temp) : Math.round(ctoF(weatherData.main.temp))} diff --git a/components/MainCard.module.css b/components/MainCard.module.css index f1b9666..b0eef1f 100644 --- a/components/MainCard.module.css +++ b/components/MainCard.module.css @@ -13,6 +13,11 @@ margin-bottom: 20px; } -.mainTemp { +.image { + width: 300px; + height: 300px; +} + +.temperature { font-size: 84px; } diff --git a/components/MetricsCard.js b/components/MetricsCard.js index e55804a..37e2f90 100644 --- a/components/MetricsCard.js +++ b/components/MetricsCard.js @@ -6,7 +6,7 @@ export const MetricsCard = ({ title, iconSrc, metric, unit }) => {

{title}

- weatherIcon + weatherIcon

{metric}

{unit}

diff --git a/components/MetricsCard.module.css b/components/MetricsCard.module.css index 7161eff..f5d3d2d 100644 --- a/components/MetricsCard.module.css +++ b/components/MetricsCard.module.css @@ -9,6 +9,11 @@ grid-template-columns: 1fr 1fr; } +.image { + height: 100px; + width: 100px; +} + @media only screen and (max-width: 475px) { .content { grid-template-columns: 1fr 2fr;