import type { Metadata } from "next"; import Link from "next/link"; import { Sparkles, Calendar, Package, MessageCircle, Users, ChefHat, Camera, ListChecks, Utensils, Wand2, Sparkle, Replace } from "lucide-react"; import { getMessages } from "@/lib/i18n/server"; import { getEffectiveMarketingLocale } from "@/lib/marketing-locale"; import { isSignupsDisabled } from "@/lib/site-settings"; import { buttonVariants } from "@/components/ui/button"; import { cn } from "@/lib/utils"; export const metadata: Metadata = { title: "Features — Epicure", description: "AI recipe generation, meal planning, pantry tracking, cook mode, and a cooking assistant that can act on your behalf.", }; const FEATURES = [ { icon: Sparkles, key: "ai" }, { icon: Camera, key: "photoImport" }, { icon: MessageCircle, key: "assistant" }, { icon: Utensils, key: "cookMode" }, { icon: Wand2, key: "variations" }, { icon: Sparkle, key: "recommendations" }, { icon: Replace, key: "substitution" }, { icon: Calendar, key: "mealPlan" }, { icon: Package, key: "pantry" }, { icon: ListChecks, key: "shoppingList" }, { icon: Users, key: "social" }, { icon: ChefHat, key: "batchCook" }, ] as const; export default async function FeaturesPage() { const [locale, signupsDisabled] = await Promise.all([getEffectiveMarketingLocale(), isSignupsDisabled()]); const m = getMessages(locale); const t = m.marketing.features; return (
{t.subtitle}
{t.items[key].description}