{a.excerpt}
{p.summary}
Meet at the riverside park entrance at 10:00. Bring gloves and water.
No spam. Unsubscribe anytime.
import React, { useMemo, useState } from "react";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
import { Badge } from "@/components/ui/badge";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
import { Label } from "@/components/ui/label";
import { Avatar, AvatarFallback } from "@/components/ui/avatar";
import { MessageSquare, Leaf, Megaphone, PencilLine, ThumbsUp, Users, Calendar, Search } from "lucide-react";
// --- Mock Data Types
const seededArticles = [
{ id: 1, title: "Cities that banned single-use plastics in 2025", author: "M. Popescu", excerpt: "Policy shifts from Cluj to Porto are reshaping urban waste.", tags: ["policy", "waste"], date: "2025-07-10" },
{ id: 2, title: "Community solar: how co-ops cut bills by 30%", author: "A. Ruiz", excerpt: "A practical blueprint for neighborhood arrays.", tags: ["energy", "community"], date: "2025-06-28" },
{ id: 3, title: "River guardians: citizen science that works", author: "K. Ionescu", excerpt: "From nitrate testing to legal wins.", tags: ["water", "science"], date: "2025-05-14" },
];
const seededPetitions = [
{ id: 1, title: "Protect the Valea Morilor wetlands", goal: 5000, signed: 1380, owner: "GreenAction Chisinau", summary: "Stop the infill plan and designate the wetlands as a protected urban reserve.", tags: ["biodiversity", "urban"], created: "2025-07-02" },
{ id: 2, title: "Make Bucharest a 30 km/h city", goal: 20000, signed: 11940, owner: "Streets for People", summary: "Save lives, cut noise, and slash emissions with a citywide speed limit.", tags: ["transport", "health"], created: "2025-06-21" },
{ id: 3, title: "No LNG terminal at Constanța", goal: 10000, signed: 8450, owner: "Black Sea Watch", summary: "Invest in offshore wind and grid upgrades instead of fossil lock-in.", tags: ["energy", "climate"], created: "2025-05-30" },
];
const seededThreads = [
{ id: 1, title: "Anyone mapping heat islands in Sector 6?", author: "daria", upvotes: 23, replies: 12, tags: ["mapping", "heat"], last: "2h" },
{ id: 2, title: "How to start a repair café?", author: "andrei", upvotes: 41, replies: 33, tags: ["repair", "community"], last: "5h" },
{ id: 3, title: "Grant tips for citizen science kits", author: "sara", upvotes: 9, replies: 4, tags: ["funding", "science"], last: "1d" },
];
function Stat({ icon: Icon, label, value }: { icon: any; label: string; value: string | number }) {
return (
A magazine + community where investigations meet grassroots power. Publish articles, launch petitions, and organize in our forum.
{a.excerpt}
{p.summary}
Meet at the riverside park entrance at 10:00. Bring gloves and water.
No spam. Unsubscribe anytime.