// Sections for Farmatric landing
const { useState: useS, useEffect: useE, useRef: useR } = React;
/* ---------- NAV ---------- */
function Nav({ lang, setLang, onMenuOpen }) {
const [scrolled, setScrolled] = useS(false);
useE(() => {
const onScroll = () => setScrolled(window.scrollY > 30);
window.addEventListener("scroll", onScroll);
return () => window.removeEventListener("scroll", onScroll);
}, []);
return (
);
}
/* ---------- MOBILE MENU ---------- */
function MobileMenu({ open, onClose, lang, setLang }) {
return (
);
}
/* ---------- HERO ---------- */
function Hero({ onOpenDemo }) {
const words = ["Farm", "smarter.", "Sell", "before", "you", "plant."];
return (
Farmatric · UAE & Gulf
{words.map((w, i) => (
{i === 1 || i === 5 ? {w} : w}
))}
The farm management platform built for UAE and Gulf agriculture.
Track every field, coordinate your collective, and deliver to buyers —
all from one dashboard.
Trusted by farms across UAE · India · Gulf
[ aerial · al ain date farm ]
Season Overview · Field 4
2.4t
+18% vs forecast
{[34, 52, 41, 68, 55, 78, 72].map((h, i) =>
)}
Trusted across the region —
);
}
/* ---------- PROBLEMS ---------- */
function Problems() {
const problems = [
{ n: "01", icon: , t: "No guaranteed buyers before harvest",
d: "Most Gulf farms still grow first and find buyers second. Surplus rots. Prices crash at peak season." },
{ n: "02", icon: , t: "Records scattered across notebooks and WhatsApp",
d: "Spray logs in one place. Yields in another. Costs nowhere. Decisions become guesses." },
{ n: "03", icon: , t: "Water and input costs spiralling untracked",
d: "Diesel, fertiliser, labour — climbing every quarter. Without per-field tracking, you can't see what's bleeding you." },
];
return (
The hidden cost
Gulf farms are losing money on problems that are already solved.
{problems.map((p, i) => (
{p.n} / 03
{p.icon}
{p.t}
{p.d}
))}
Farmatric solves all three — and connects you to buyers before you plant.
);
}
/* ---------- FEATURES ---------- */
function Features() {
const items = [
{ icon: , t: "Field & Crop Tracking",
d: "Log every field, crop, task, and input. Know your farm's status in real time." },
{ icon: , t: "Pre-Order Management",
d: "Connect to buyers before you plant. Track commitments vs crop forecasts." },
{ icon: , t: "Harvest & Yield Reports",
d: "Forecast your harvest. Compare to collective benchmarks. Get paid accurately." },
{ icon: , t: "Irrigation & Water Logs",
d: "Schedule irrigation by crop type. Track water usage across all fields." },
{ icon: , t: "Finance & Cost Tracking",
d: "Input costs, revenue, and profit per field. Know what each crop actually earns." },
{ icon: , t: "Buyer Traceability Portal",
d: "Share a live crop-progress link with your hotel or supermarket buyer." },
];
return (
The platform
Everything your farm needs. One platform.
Six modules built around how Gulf farms actually operate —
from a single date palm field to a 12-greenhouse hydroponic estate.
{items.map((f, i) => (
{f.icon}
{f.t}
{f.d}
Learn more
))}
);
}
/* ---------- DASHBOARD PREVIEW ---------- */
function DashPreview() {
const yields = [
{ l: "F-01", h: 62 }, { l: "F-02", h: 88 }, { l: "F-03", h: 45 },
{ l: "F-04", h: 78 }, { l: "F-05", h: 95 }, { l: "F-06", h: 54 },
{ l: "F-07", h: 70 }, { l: "F-08", h: 82 },
];
return (
Inside the app
The whole farm, one screen.
Designed for farm managers, not analysts. Open it on your phone after Fajr. Close it before Maghrib.
app.farmatric.com/al-mansoori-farms
Active farm
Al Mansoori Farms · Al Ain
AM
Season Overview
Fields active
12 / 14
2 in fallow rotation
Harvest forecast
38.4t
+12% on last season
Pre-orders committed
29.0t
75% of forecast sold
Crop yield by field — September
tonnes / field
{yields.map((y) => (
{y.l}
))}
);
}
Object.assign(window, { Nav, MobileMenu, Hero, Problems, Features, DashPreview });