edit main card

This commit is contained in:
madarsbiss 2021-09-23 12:25:36 +03:00
parent 19e23f2144
commit f3ebc9f6ca

View File

@ -1,7 +1,5 @@
import Image from "next/image";
import { ctoF } from "../services/converters";
import styles from "./MainCard.module.css";
const MainCard = ({
@ -17,16 +15,13 @@ const MainCard = ({
<h1 className={styles.location}>
{city}, {country}
</h1>
<p className={styles.description}>{description}</p>
<Image
alt="weatherIcon"
src={`/icons/${iconName}.svg`}
height="300px"
width="300px"
/>
<h1 className={styles.mainTemp}>
{systemUsed == "metric"
? Math.round(weatherData.main.temp)