Transportasi

Melayani jasa transportasi

1.Elf long

  Penawaran transportasi elf long Tujuan: [Tulis tujuan perjalanan Anda] Tanggal: [Tulis tanggal perjalanan Anda] Durasi: [Tulis durasi perjalanan Anda (misalnya, 1 hari, 2 hari, dst.)] Jumlah Penumpang: [Tulis jumlah penumpang] Jenis Kendaraan: Elf Long (kapasitas...

cuaca

Silahkan Bergaimport React, { useState, useEffect } from 'react'; import { Card, CardContent } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { WiDaySunny, WiCloud, WiRain } from 'lucide-react'; const WeatherWidget = () => { const [weather, setWeather] = useState({ temp: 0, condition: 'Sunny' }); useEffect(() => { const fetchWeather = async () => { // Dummy API call simulation const data = { temp: 28, condition: 'Cloudy', }; setWeather(data); }; fetchWeather(); }, []); const getWeatherIcon = (condition) => { switch (condition) { case 'Sunny': return ; case 'Cloudy': return ; case 'Rainy': return ; default: return ; } }; return ( {getWeatherIcon(weather.condition)}

{weather.condition}

{weather.temp}°C

); }; export default WeatherWidget; bung......