diff --git a/app/agb/page.tsx b/app/agb/page.tsx index ce3602f..b63d4c0 100644 --- a/app/agb/page.tsx +++ b/app/agb/page.tsx @@ -1,5 +1,6 @@ import type { Metadata } from "next"; import Link from "next/link"; +import Image from "next/image"; import { Reveal } from "../components/Reveal"; import { Footer } from "../components/Footer"; import { TrustRow } from "../components/TrustRow"; @@ -42,7 +43,7 @@ export default async function AgbPage() { {/* Static, not part of the CMS content — same reasoning as the Impressum/Datenschutz pages' own callout cards. */}
Passend dazu:
{/* Left gradient: wide enough to cover the text-column overlap — md+ only */}
diff --git a/app/components/AddToCartInlineButton.tsx b/app/components/AddToCartInlineButton.tsx
index d1850fb..53c4d17 100644
--- a/app/components/AddToCartInlineButton.tsx
+++ b/app/components/AddToCartInlineButton.tsx
@@ -1,6 +1,7 @@
"use client";
import { useEffect, useRef, useState } from "react";
+import Image from "next/image";
import { addToCart } from "../lib/cart";
import { useCartFly } from "./CartFly";
@@ -61,7 +62,7 @@ export function AddToCartInlineButton({
>
{added ? "Hinzugefügt ✓" : label}
- {item.title}
{item.description}
diff --git a/app/datenschutz/page.tsx b/app/datenschutz/page.tsx index 4ed2da3..a1dde9d 100644 --- a/app/datenschutz/page.tsx +++ b/app/datenschutz/page.tsx @@ -1,5 +1,6 @@ import type { Metadata } from "next"; import Link from "next/link"; +import Image from "next/image"; import { Reveal } from "../components/Reveal"; import { Footer } from "../components/Footer"; import { RichText, extractHeadings } from "../components/RichText"; @@ -43,7 +44,7 @@ export default async function DatenschutzPage() { callout doesn't belong in the generic LegalPages richText field shared across all 4 legal page types. */}
-
+
(
{step.title} {b.title} {b.desc} {step.title}
{benefits.map((b) => (
+
diff --git a/app/todo-cards/components/Focus.tsx b/app/todo-cards/components/Focus.tsx
index 87244df..9b56109 100644
--- a/app/todo-cards/components/Focus.tsx
+++ b/app/todo-cards/components/Focus.tsx
@@ -34,7 +34,7 @@ export function Focus() {
{bullets.map((b) => (
+
, not next/image — one of the three source PNGs
- isn't square (icon-step-2 is 68.6x64), and next/image's
- required width/height props fought with Tailwind's
- `img { height: auto }` preflight reset (console warning:
- "width or height modified, but not the other"). A fixed
- h-16 + w-auto lets each icon keep its own real aspect
- ratio without that conflict — matches how every other
- small decorative icon in this codebase (Tools.tsx etc.)
- is already a plain
, not next/image. group-hover
- scale is a small "step acknowledges you" touch — the
- whole text column is the hover target, not just the icon,
- so it's easy to trigger without precise pointing. */}
-
+