added Layout and weather card
This commit is contained in:
17
frontend/src/components/WeatherCard.tsx
Normal file
17
frontend/src/components/WeatherCard.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
|
||||
const WeaatherCard: React.FC = () => {
|
||||
return (
|
||||
<div>
|
||||
<h2>Weather Card</h2>
|
||||
<p>Current Weather will be displayed here</p>
|
||||
<form action="" method="post">
|
||||
<label htmlFor="city">Enter City:</label>
|
||||
<input type="text" id="city" name="city" placeholder="City Name" />
|
||||
<button type="submit">Get Weather</button>
|
||||
</form>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default WeaatherCard;
|
Reference in New Issue
Block a user