This commit is contained in:
2026-07-10 13:27:29 +02:00
parent 5c48def4e1
commit 53bac4e2b4
35 changed files with 466 additions and 320 deletions

View File

@@ -10,6 +10,8 @@ import HowItWorks from '@/components/HowItWorks'
import FAQ from '@/components/FAQ'
import CTA from '@/components/CTA'
import Footer from '@/components/Footer'
import type { Lang } from '@/lib/i18n'
import { getHomeSchemas } from '@/lib/homeSchema'
export const metadata: Metadata = {
title: 'GreenLens - Pflanzen erkennen & Pflege planen',
@@ -26,86 +28,8 @@ export const metadata: Metadata = {
},
}
const howToSchema = {
'@context': 'https://schema.org',
'@type': 'HowTo',
name: 'So erkennst du eine Pflanze mit GreenLens',
step: [
{
'@type': 'HowToStep',
position: 1,
name: 'Pflanze fotografieren',
text: 'Öffne die App, richte die Kamera auf deine Pflanze und tippe auf Scan.',
},
{
'@type': 'HowToStep',
position: 2,
name: 'KI identifiziert sofort',
text: 'In unter einer Sekunde erhältst du den Namen, die Art und die wichtigsten Eckdaten.',
},
{
'@type': 'HowToStep',
position: 3,
name: 'Pflegeplan erhalten',
text: 'GreenLens erstellt automatisch einen Pflegeplan passend zu deiner Pflanze und deinem Standort.',
},
{
'@type': 'HowToStep',
position: 4,
name: 'Wachstum verfolgen',
text: 'Dokumentiere Fotos, verfolge das Gießen und lass dich an wichtige Pflegetermine erinnern.',
},
],
}
const faqSchema = {
'@context': 'https://schema.org',
'@type': 'FAQPage',
mainEntity: [
{
'@type': 'Question',
name: 'Wie erkennt GreenLens eine Pflanze?',
acceptedAnswer: {
'@type': 'Answer',
text: 'GreenLens analysiert das Pflanzenfoto und verbindet das Ergebnis mit Pflegehinweisen in der App, damit du schneller zu klaren nächsten Schritten kommst.',
},
},
{
'@type': 'Question',
name: 'Ist GreenLens kostenlos?',
acceptedAnswer: {
'@type': 'Answer',
text: 'GreenLens bietet kostenlose Funktionen und zusätzlich kostenpflichtige Optionen wie Abos und Credit-Top-ups für erweiterte KI-Funktionen.',
},
},
{
'@type': 'Question',
name: 'Kann ich GreenLens offline nutzen?',
acceptedAnswer: {
'@type': 'Answer',
text: 'Pflanzenidentifikation und Gesundheitscheck benötigen eine Internetverbindung. Deine gespeicherte Sammlung, Pflegenotizen und Gieß-Erinnerungen sind offline verfügbar.',
},
},
{
'@type': 'Question',
name: 'Für welche Pflanzen kann ich GreenLens nutzen?',
acceptedAnswer: {
'@type': 'Answer',
text: 'GreenLens umfasst über 450 Pflanzenarten, darunter Zimmerpflanzen, Gartenpflanzen und Sukkulenten. Die App richtet sich an Pflanzenbesitzer, die Identifikation und Pflege an einem Ort wollen.',
},
},
{
'@type': 'Question',
name: 'Wie starte ich meine Pflanzensammlung?',
acceptedAnswer: {
'@type': 'Answer',
text: 'Starte mit einem Scan, prüfe das Ergebnis und speichere die Pflanze in deiner Sammlung, damit Notizen, Erinnerungen und Pflege an einem Ort bleiben.',
},
},
],
}
export default function Home() {
export default function Home({ locale = 'de' }: { locale?: Lang }) {
const { howTo: howToSchema, faq: faqSchema } = getHomeSchemas(locale)
return (
<>
<script