Skip to content

Commit

Permalink
(feat) Added new clothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Scraayp committed Sep 24, 2024
1 parent 6255f67 commit b6bcf86
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,16 @@ export default function Home() {
const getClothes = () => {
if (!weather || !weather.current) return "Loading...";
const temp = weather.current.temperature;
if (temp > 20) {
if (temp > 28) {
return "Naakt is prima, maar korte broek en t-shirt is ook goed";
} else if (temp > 20) {
return "Korte broek en t-shirt";
} else {
} else if (temp > 17) {
return "Lange broek en t-shirt";
} else if (temp > 14) {
return "Lange broek en trui";
} else {
return "Lange broek en jas";
}
};

Expand Down

0 comments on commit b6bcf86

Please sign in to comment.