Add 'Plant of the Week' section in cooperation with Plantlix.de
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
---
|
||||
// src/components/PlantOfTheWeek.astro
|
||||
---
|
||||
<section id="plant-of-the-week" class="py-32 bg-stone-900/10 border-y border-stone-800/50">
|
||||
<div class="max-w-7xl mx-auto px-6 lg:px-8">
|
||||
<div class="mb-16 text-center">
|
||||
<span class="text-xs font-bold tracking-widest text-emerald-500 uppercase block mb-3">Botanische Empfehlung</span>
|
||||
<h2 class="text-3xl sm:text-5xl font-luxury font-bold text-white mb-4">Pflanze der Woche</h2>
|
||||
<p class="text-stone-500 max-w-2xl mx-auto font-light">Präsentiert in Kooperation mit den Datenexperten von Plantlix.de</p>
|
||||
</div>
|
||||
|
||||
<div class="glass overflow-hidden rounded-3xl border border-emerald-500/20 max-w-4xl mx-auto grid grid-cols-1 md:grid-cols-2">
|
||||
<!-- Image -->
|
||||
<div class="relative h-64 md:h-full overflow-hidden">
|
||||
<img src="https://images.unsplash.com/photo-1632156383859-372ef15ad6bd?fm=jpg&q=60&w=800&auto=format&fit=crop" alt="Wiesensalbei" class="w-full h-full object-cover">
|
||||
<div class="absolute inset-0 bg-gradient-to-r from-stone-900/50 to-transparent md:hidden"></div>
|
||||
</div>
|
||||
|
||||
<!-- Content -->
|
||||
<div class="p-8 md:p-12 flex flex-col justify-between bg-stone-900/50">
|
||||
<div>
|
||||
<div class="flex items-center gap-3 mb-4">
|
||||
<span class="text-xs font-mono text-emerald-400 bg-emerald-950/80 px-3 py-1 rounded-full border border-emerald-500/20 uppercase tracking-widest">Wiesensalbei</span>
|
||||
<span class="text-xs font-mono text-stone-500 italic">*Salvia pratensis*</span>
|
||||
</div>
|
||||
<h3 class="text-2xl font-luxury font-bold text-white mb-4">Der Überlebenskünstler für magere Böden</h3>
|
||||
<p class="text-stone-400 text-sm font-light leading-relaxed mb-6">
|
||||
Der Wiesensalbei ist eine der wertvollsten Pflanzen für unsere heimische Insektenwelt. Er liebt sonnige, trockene Standorte und kommt hervorragend mit den zunehmenden Hitzeperioden im Rheingau klar.
|
||||
</p>
|
||||
<div class="space-y-3 text-xs text-stone-500">
|
||||
<div class="flex items-center gap-2">
|
||||
<i class="fa-solid fa-check text-emerald-500"></i>
|
||||
<span>Boden: Trocken bis mäßig trocken, kalkhaltig</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<i class="fa-solid fa-check text-emerald-500"></i>
|
||||
<span>Licht: Volle Sonne</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<i class="fa-solid fa-check text-emerald-500"></i>
|
||||
<span>Insektenwert: Extrem hoch (Hummeln, Wildbienen)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-8 border-t border-stone-800 pt-6 flex items-center justify-between">
|
||||
<span class="text-xs text-stone-600 font-light">Datenbasis: Plantlix.de (Standort-Matching)</span>
|
||||
<a href="https://plantlix.de" target="_blank" class="text-emerald-400 hover:text-emerald-300 text-xs font-semibold uppercase tracking-wider transition-colors flex items-center gap-1">
|
||||
Mehr erfahren <i class="fa-solid fa-arrow-up-right-from-square text-[10px]"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -7,6 +7,7 @@ import Standards from '../components/Standards.astro';
|
||||
import Projects from '../components/Projects.astro';
|
||||
import Events from '../components/Events.astro';
|
||||
import Biodiversity from '../components/Biodiversity.astro';
|
||||
import PlantOfTheWeek from '../components/PlantOfTheWeek.astro';
|
||||
import FAQ from '../components/FAQ.astro';
|
||||
import Footer from '../components/Footer.astro';
|
||||
import SubpageMauer from '../components/SubpageMauer.astro';
|
||||
@@ -24,6 +25,7 @@ import SubpageContact from '../components/SubpageContact.astro';
|
||||
<Projects />
|
||||
<Events />
|
||||
<Biodiversity />
|
||||
<PlantOfTheWeek />
|
||||
<FAQ />
|
||||
<Footer />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user