import React, { useState } from “react”; import { Card, CardContent } from “@/components/ui/card”; import { Button } from “@/components/ui/button”; import { motion } from “framer-motion”; export default function CoffeeOSPrototype() { const [screen, setScreen] = useState(“home”); const ScreenWrapper = ({ children }) => ( {children} ); if (screen === “home”) { return (

☕ CoffeeOS Dashboard

); } if (screen === “farm”) { return (

🌱 Farm Analytics

Yield Prediction: +12%

Disease Risk: Low

Rainfall Impact: Moderate

); } if (screen === “roast”) { return (

🔥 Roast Optimization AI

Recommended Temp: 196°C

Roast Time: 9:30

Flavor Prediction: Citrus, Floral

); } if (screen === “barista”) { return (

☕ Barista Intelligence

Extraction Time: 28s

AI Suggestion: Adjust grind finer

Balance Score: 8.5/10

); } if (screen === “trace”) { return (

🔗 Coffee Traceability

Origin: Nyeri, Kenya

Farmer: John Mwangi

Blockchain Verified ✅

); } }

#Kenya Coffee School #Barista Mtaani