chore(repo): sync wireframe structure and references
This commit is contained in:
1 parent
05d2d5777f
commit
d953a79e95
453 files changed
+36639
-621
No files matched your search
@@ -9,6 +9,7 @@ Hier liegt Kontext, der fuer Wireframe- und UX-Planung gelesen werden kann, aber
|
||||
| Pfad | Zweck |
|
||||
|---|---|
|
||||
| `hivegrid-cloud/` | mitgepushte HiveGrid-Cloud-Referenz inklusive Planning, Ticket-Docs und Code-Kontext |
|
||||
| `hivegrid-website/` | mitgepushte Website-Referenz; lokale Abhängigkeiten und Build-Caches bleiben ausgeschlossen |
|
||||
| [[Repo Notizen]] | Hinweise zum Aktualisieren und Nutzen der HiveGrid-Cloud-Referenz |
|
||||
|
||||
## Regel
|
||||
|
||||
@@ -21,6 +21,14 @@ git pull --ff-only
|
||||
|
||||
Hinweis: Diese Referenz ist fuer die Wireframe-Arbeit vor allem auf Lesen/Pullen ausgelegt. Relevante Planning-Aenderungen werden im Hauptrepo mitgepusht.
|
||||
|
||||
Die mitgepushte Website-Referenz liegt hier:
|
||||
|
||||
```text
|
||||
03 Quellen und Referenzen/hivegrid-website
|
||||
```
|
||||
|
||||
Sie bildet den aktuellen Quellstand von `https://git.tool-ctrl.de/toolctrl-labs/HiveGrid-Website.git` ab. Lokale Verzeichnisse wie `node_modules/` und `.next/` sind Abhängigkeiten beziehungsweise Build-Caches und werden nicht in das Wireframe-Repo übernommen.
|
||||
|
||||
Alter lokaler Backup-Ordner:
|
||||
|
||||
```text
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
node_modules
|
||||
.next
|
||||
.git
|
||||
.gsd
|
||||
archive
|
||||
*.md
|
||||
.env*
|
||||
.DS_Store
|
||||
@@ -0,0 +1,159 @@
|
||||
name: Deploy staging
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: git.tool-ctrl.de
|
||||
IMAGE: git.tool-ctrl.de/toolctrl-labs/hivegrid-website
|
||||
HIVEGRID_GITEA_HOST_IP: ${{ vars.HIVEGRID_GITEA_HOST_IP }}
|
||||
|
||||
concurrency:
|
||||
group: hivegrid-website-deploy
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build-and-stage:
|
||||
name: Build and deploy website to staging
|
||||
runs-on: toolctrl-ci
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
SHA: ${{ github.sha }}
|
||||
steps:
|
||||
- name: Resolve staging revision
|
||||
run: |
|
||||
REF="${GITHUB_REF:-${{ github.ref }}}"
|
||||
if [ "$REF" != "refs/heads/main" ]; then
|
||||
echo "Staging must be deployed from refs/heads/main"
|
||||
exit 1
|
||||
fi
|
||||
if ! printf '%s' "$SHA" | grep -Eq '^[0-9a-f]{40}$'; then
|
||||
echo "Gitea SHA must be a full 40-character commit SHA"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
{
|
||||
echo "IMAGE_TAG=$SHA"
|
||||
echo "SHORT_SHA=$(printf '%s' "$SHA" | cut -c1-7)"
|
||||
} >> "$GITHUB_ENV"
|
||||
|
||||
- name: Setup hosts override and Docker CLI
|
||||
run: |
|
||||
: "${HIVEGRID_GITEA_HOST_IP:=192.168.178.62}"
|
||||
if ! HIVEGRID_GITEA_HOST_IP="$HIVEGRID_GITEA_HOST_IP" node -e 'process.exit(require("node:net").isIP(process.env.HIVEGRID_GITEA_HOST_IP || "") ? 0 : 1)'; then
|
||||
echo "HIVEGRID_GITEA_HOST_IP must be a single IPv4 or IPv6 token"
|
||||
exit 1
|
||||
fi
|
||||
printf '%s git.tool-ctrl.de\n' "$HIVEGRID_GITEA_HOST_IP" >> /etc/hosts
|
||||
|
||||
apt-get update -qq
|
||||
apt-get install -qq -y --no-install-recommends ca-certificates curl git
|
||||
|
||||
if ! command -v docker >/dev/null 2>&1 || ! docker buildx version >/dev/null 2>&1; then
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
chmod a+r /etc/apt/keyrings/docker.asc
|
||||
. /etc/os-release
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" > /etc/apt/sources.list.d/docker.list
|
||||
apt-get update -qq
|
||||
apt-get install -qq -y --no-install-recommends docker-ce-cli docker-buildx-plugin
|
||||
fi
|
||||
|
||||
docker --version
|
||||
docker buildx version
|
||||
|
||||
- name: Checkout
|
||||
run: |
|
||||
mkdir -p /workspace/repo
|
||||
cd /workspace/repo
|
||||
git clone "https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PAT }}@git.tool-ctrl.de/toolctrl-labs/HiveGrid-Website.git" .
|
||||
git checkout "$SHA"
|
||||
CHECKOUT_SHA="$(git rev-parse HEAD)"
|
||||
if [ "$CHECKOUT_SHA" != "$SHA" ]; then
|
||||
echo "Checked out revision must match the Gitea SHA"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Verify deploy contract
|
||||
run: |
|
||||
cd /workspace/repo
|
||||
node --check scripts/coolify-deploy.mjs
|
||||
npm test
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
run: echo "${{ secrets.REGISTRY_PAT }}" | docker login "$REGISTRY" --username "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
|
||||
- name: Build and publish staging image
|
||||
run: |
|
||||
cd /workspace/repo
|
||||
docker buildx build --push --provenance=false \
|
||||
--build-arg GIT_SHA="$SHORT_SHA" \
|
||||
--tag "$IMAGE:$IMAGE_TAG" \
|
||||
.
|
||||
docker buildx imagetools create --prefer-index=false --tag "$IMAGE:staging" "$IMAGE:$IMAGE_TAG"
|
||||
IMAGE_DIGEST="$(docker buildx imagetools inspect "$IMAGE:$IMAGE_TAG" --format '{{json .Manifest.Digest}}' | tr -d '"')"
|
||||
STAGING_DIGEST="$(docker buildx imagetools inspect "$IMAGE:staging" --format '{{json .Manifest.Digest}}' | tr -d '"')"
|
||||
if ! printf '%s' "$IMAGE_DIGEST" | grep -Eq '^sha256:[0-9a-f]{64}$' || [ "$IMAGE_DIGEST" != "$STAGING_DIGEST" ]; then
|
||||
echo "Published staging image does not resolve to the exact SHA digest"
|
||||
exit 1
|
||||
fi
|
||||
echo "IMAGE_DIGEST=$IMAGE_DIGEST" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Deploy staging
|
||||
env:
|
||||
COOLIFY_STAGING_API_URL: ${{ vars.COOLIFY_STAGING_API_URL }}
|
||||
COOLIFY_STAGING_RESOURCE_UUID: ${{ vars.COOLIFY_STAGING_RESOURCE_UUID }}
|
||||
COOLIFY_STAGING_TOKEN: ${{ secrets.COOLIFY_STAGING_TOKEN }}
|
||||
WEBSITE_STAGING_URL: ${{ vars.WEBSITE_STAGING_URL }}
|
||||
run: |
|
||||
if [ -z "$COOLIFY_STAGING_API_URL" ] || [ -z "$COOLIFY_STAGING_RESOURCE_UUID" ] || [ -z "$COOLIFY_STAGING_TOKEN" ]; then
|
||||
echo "Coolify staging configuration is incomplete"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /workspace/repo
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_STAGING_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_STAGING_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs set-release "$COOLIFY_STAGING_RESOURCE_UUID" "$IMAGE" "$IMAGE_DIGEST"
|
||||
DEPLOYMENT_UUID="$(
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_STAGING_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_STAGING_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs trigger "$COOLIFY_STAGING_RESOURCE_UUID"
|
||||
)"
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_STAGING_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_STAGING_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs wait "$DEPLOYMENT_UUID" "Coolify staging website"
|
||||
|
||||
TARGET_URL="${WEBSITE_STAGING_URL:-https://staging.hivegrid.de}" \
|
||||
node -e '
|
||||
const target = process.env.TARGET_URL.replace(/\/+$/, "");
|
||||
const expected = process.env.SHORT_SHA;
|
||||
for (let i = 1; i <= 60; i += 1) {
|
||||
const res = await fetch(`${target}/healthz?__deploycheck=${expected}-${i}-${Date.now()}`, { cache: "no-store" }).catch(() => null);
|
||||
if (res?.ok) {
|
||||
const body = await res.json().catch(() => ({}));
|
||||
if (body.revision === expected) process.exit(0);
|
||||
}
|
||||
await new Promise((resolve) => setTimeout(resolve, 10000));
|
||||
}
|
||||
console.error("Staging healthz never reported the expected revision");
|
||||
process.exit(1);
|
||||
'
|
||||
ROLLED_OUT_IMAGE_DIGEST="$(docker buildx imagetools inspect "$IMAGE:$IMAGE_TAG" --format '{{json .Manifest.Digest}}' | tr -d '"')"
|
||||
if [ "$ROLLED_OUT_IMAGE_DIGEST" != "$IMAGE_DIGEST" ]; then
|
||||
echo "Staging website digest changed during rollout"
|
||||
exit 1
|
||||
fi
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_STAGING_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_STAGING_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs assert-release "$COOLIFY_STAGING_RESOURCE_UUID" "$IMAGE" "$ROLLED_OUT_IMAGE_DIGEST"
|
||||
|
||||
- name: Summary
|
||||
run: |
|
||||
echo "### Deployed to staging.hivegrid.de" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- Commit: \`$IMAGE_TAG\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- Digest: \`$IMAGE_DIGEST\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- To go live: run **Promote to production**." >> "$GITHUB_STEP_SUMMARY"
|
||||
@@ -0,0 +1,275 @@
|
||||
name: Promote to production
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: git.tool-ctrl.de
|
||||
IMAGE: git.tool-ctrl.de/toolctrl-labs/hivegrid-website
|
||||
HIVEGRID_GITEA_HOST_IP: ${{ vars.HIVEGRID_GITEA_HOST_IP }}
|
||||
|
||||
concurrency:
|
||||
group: hivegrid-website-deploy
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
promote:
|
||||
name: Promote current staging website to production
|
||||
runs-on: toolctrl-ci
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
WORKFLOW_SHA: ${{ github.sha }}
|
||||
steps:
|
||||
- name: Require main branch
|
||||
run: |
|
||||
REF="${GITHUB_REF:-${{ github.ref }}}"
|
||||
if [ "$REF" != "refs/heads/main" ]; then
|
||||
echo "Production promotion must run from refs/heads/main"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Setup hosts override and Docker CLI
|
||||
run: |
|
||||
: "${HIVEGRID_GITEA_HOST_IP:=192.168.178.62}"
|
||||
if ! HIVEGRID_GITEA_HOST_IP="$HIVEGRID_GITEA_HOST_IP" node -e 'process.exit(require("node:net").isIP(process.env.HIVEGRID_GITEA_HOST_IP || "") ? 0 : 1)'; then
|
||||
echo "HIVEGRID_GITEA_HOST_IP must be a single IPv4 or IPv6 token"
|
||||
exit 1
|
||||
fi
|
||||
printf '%s git.tool-ctrl.de\n' "$HIVEGRID_GITEA_HOST_IP" >> /etc/hosts
|
||||
|
||||
apt-get update -qq
|
||||
apt-get install -qq -y --no-install-recommends ca-certificates curl git
|
||||
|
||||
if ! command -v docker >/dev/null 2>&1 || ! docker buildx version >/dev/null 2>&1; then
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
chmod a+r /etc/apt/keyrings/docker.asc
|
||||
. /etc/os-release
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" > /etc/apt/sources.list.d/docker.list
|
||||
apt-get update -qq
|
||||
apt-get install -qq -y --no-install-recommends docker-ce-cli docker-buildx-plugin
|
||||
fi
|
||||
|
||||
docker --version
|
||||
docker buildx version
|
||||
|
||||
- name: Checkout workflow revision
|
||||
run: |
|
||||
mkdir -p /workspace/repo
|
||||
cd /workspace/repo
|
||||
git clone "https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PAT }}@git.tool-ctrl.de/toolctrl-labs/HiveGrid-Website.git" .
|
||||
git checkout "$WORKFLOW_SHA"
|
||||
if [ "$(git rev-parse HEAD)" != "$WORKFLOW_SHA" ]; then
|
||||
echo "Checked out revision must match the Gitea workflow SHA"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Verify deploy contract
|
||||
run: |
|
||||
cd /workspace/repo
|
||||
node --check scripts/coolify-deploy.mjs
|
||||
npm test
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
run: echo "${{ secrets.REGISTRY_PAT }}" | docker login "$REGISTRY" --username "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
|
||||
- name: Resolve and verify current staging release
|
||||
env:
|
||||
COOLIFY_STAGING_API_URL: ${{ vars.COOLIFY_STAGING_API_URL }}
|
||||
COOLIFY_STAGING_RESOURCE_UUID: ${{ vars.COOLIFY_STAGING_RESOURCE_UUID }}
|
||||
COOLIFY_STAGING_TOKEN: ${{ secrets.COOLIFY_STAGING_TOKEN }}
|
||||
WEBSITE_STAGING_URL: ${{ vars.WEBSITE_STAGING_URL }}
|
||||
run: |
|
||||
if [ -z "$COOLIFY_STAGING_API_URL" ] || [ -z "$COOLIFY_STAGING_RESOURCE_UUID" ] || [ -z "$COOLIFY_STAGING_TOKEN" ]; then
|
||||
echo "Coolify staging configuration is incomplete"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /workspace/repo
|
||||
TARGET_URL="${WEBSITE_STAGING_URL:-https://staging.hivegrid.de}"
|
||||
SHORT_SHA="$(
|
||||
TARGET_URL="$TARGET_URL" node -e '
|
||||
const target = process.env.TARGET_URL.replace(/\/+$/, "");
|
||||
const res = await fetch(`${target}/healthz?__promotecheck=${Date.now()}`, { cache: "no-store" });
|
||||
if (!res.ok) process.exit(1);
|
||||
const body = await res.json();
|
||||
process.stdout.write(String(body.revision || ""));
|
||||
'
|
||||
)"
|
||||
if ! printf '%s' "$SHORT_SHA" | grep -Eq '^[0-9a-f]{7}$'; then
|
||||
echo "Staging healthz did not return a valid seven-character revision"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git fetch --no-tags origin main
|
||||
MATCHING_SHAS="$(git rev-list origin/main | grep -E "^${SHORT_SHA}[0-9a-f]{33}$" || true)"
|
||||
if [ "$(printf '%s\n' "$MATCHING_SHAS" | grep -c .)" -ne 1 ]; then
|
||||
echo "Staging revision must resolve to exactly one commit on main"
|
||||
exit 1
|
||||
fi
|
||||
STAGED_SHA="$MATCHING_SHAS"
|
||||
git merge-base --is-ancestor "$STAGED_SHA" origin/main
|
||||
|
||||
IMAGE_DIGEST="$(docker buildx imagetools inspect "$IMAGE:$STAGED_SHA" --format '{{json .Manifest.Digest}}' | tr -d '"')"
|
||||
STAGING_DIGEST="$(docker buildx imagetools inspect "$IMAGE:staging" --format '{{json .Manifest.Digest}}' | tr -d '"')"
|
||||
if ! printf '%s' "$IMAGE_DIGEST" | grep -Eq '^sha256:[0-9a-f]{64}$' || [ "$IMAGE_DIGEST" != "$STAGING_DIGEST" ]; then
|
||||
echo "Current staging alias does not match the live staging revision"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_STAGING_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_STAGING_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs assert-release "$COOLIFY_STAGING_RESOURCE_UUID" "$IMAGE" "$IMAGE_DIGEST"
|
||||
|
||||
{
|
||||
echo "STAGED_SHA=$STAGED_SHA"
|
||||
echo "SHORT_SHA=$SHORT_SHA"
|
||||
echo "IMAGE_DIGEST=$IMAGE_DIGEST"
|
||||
} >> "$GITHUB_ENV"
|
||||
|
||||
- name: Capture production rollback digest
|
||||
env:
|
||||
COOLIFY_API_URL: ${{ vars.COOLIFY_API_URL }}
|
||||
COOLIFY_RESOURCE_UUID: ${{ vars.COOLIFY_RESOURCE_UUID }}
|
||||
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}
|
||||
run: |
|
||||
if [ -z "$COOLIFY_API_URL" ] || [ -z "$COOLIFY_RESOURCE_UUID" ] || [ -z "$COOLIFY_TOKEN" ]; then
|
||||
echo "Coolify production configuration is incomplete"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /workspace/repo
|
||||
PREVIOUS_PRODUCTION_DIGEST="$(
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs current-release "$COOLIFY_RESOURCE_UUID" "$IMAGE"
|
||||
)"
|
||||
echo "PREVIOUS_PRODUCTION_DIGEST=$PREVIOUS_PRODUCTION_DIGEST" >> "$GITHUB_ENV"
|
||||
echo "Rollback digest: $PREVIOUS_PRODUCTION_DIGEST"
|
||||
echo "- Previous production digest: \`$PREVIOUS_PRODUCTION_DIGEST\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
- name: Publish production alias
|
||||
run: |
|
||||
docker buildx imagetools create --prefer-index=false --tag "$IMAGE:main" "$IMAGE:$STAGED_SHA"
|
||||
PRODUCTION_ALIAS_DIGEST="$(docker buildx imagetools inspect "$IMAGE:main" --format '{{json .Manifest.Digest}}' | tr -d '"')"
|
||||
if [ "$PRODUCTION_ALIAS_DIGEST" != "$IMAGE_DIGEST" ]; then
|
||||
echo "Production alias did not preserve the staged digest"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Deploy production
|
||||
env:
|
||||
COOLIFY_API_URL: ${{ vars.COOLIFY_API_URL }}
|
||||
COOLIFY_RESOURCE_UUID: ${{ vars.COOLIFY_RESOURCE_UUID }}
|
||||
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}
|
||||
WEBSITE_PRODUCTION_URL: ${{ vars.WEBSITE_PRODUCTION_URL }}
|
||||
run: |
|
||||
cd /workspace/repo
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs set-release "$COOLIFY_RESOURCE_UUID" "$IMAGE" "$IMAGE_DIGEST"
|
||||
DEPLOYMENT_UUID="$(
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs trigger "$COOLIFY_RESOURCE_UUID"
|
||||
)"
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs wait "$DEPLOYMENT_UUID" "Coolify production website"
|
||||
|
||||
TARGET_URL="${WEBSITE_PRODUCTION_URL:-https://hivegrid.de}" \
|
||||
node -e '
|
||||
const target = process.env.TARGET_URL.replace(/\/+$/, "");
|
||||
const expected = process.env.SHORT_SHA;
|
||||
for (let i = 1; i <= 60; i += 1) {
|
||||
const res = await fetch(`${target}/healthz?__deploycheck=${expected}-${i}-${Date.now()}`, { cache: "no-store" }).catch(() => null);
|
||||
if (res?.ok) {
|
||||
const body = await res.json().catch(() => ({}));
|
||||
if (body.revision === expected) process.exit(0);
|
||||
}
|
||||
await new Promise((resolve) => setTimeout(resolve, 10000));
|
||||
}
|
||||
console.error("Production healthz never reported the expected revision");
|
||||
process.exit(1);
|
||||
'
|
||||
SELECTED_COOLIFY_API_URL="$COOLIFY_API_URL" \
|
||||
SELECTED_COOLIFY_TOKEN="$COOLIFY_TOKEN" \
|
||||
node scripts/coolify-deploy.mjs assert-release "$COOLIFY_RESOURCE_UUID" "$IMAGE" "$IMAGE_DIGEST"
|
||||
|
||||
- name: Ensure Cloudflare leaves /videos uncompressed
|
||||
env:
|
||||
CF_ZONE_ID: ${{ secrets.CF_ZONE_ID }}
|
||||
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
|
||||
run: |
|
||||
# A gzip/brotli response can't be byte-range served, so Cloudflare
|
||||
# returns 200 (whole file) with no Accept-Ranges and Safari refuses to
|
||||
# play <video> (stalls after the head). Pin a compression-phase rule
|
||||
# that disables compression for /videos/*. Idempotent: preserves any
|
||||
# other rules, only (re)writes our own. Runs before the purge below so
|
||||
# the next fetch re-caches an uncompressed, range-serveable copy.
|
||||
if [ -z "$CF_ZONE_ID" ] || [ -z "$CF_API_TOKEN" ]; then
|
||||
echo "Cloudflare configuration is incomplete"; exit 1
|
||||
fi
|
||||
node -e '
|
||||
const zone = process.env.CF_ZONE_ID, token = process.env.CF_API_TOKEN;
|
||||
const url = `https://api.cloudflare.com/client/v4/zones/${zone}/rulesets/phases/http_response_compression/entrypoint`;
|
||||
const headers = { Authorization: `Bearer ${token}`, "Content-Type": "application/json" };
|
||||
const DESC = "hivegrid: no compression for /videos/ (Safari range playback)";
|
||||
const rule = {
|
||||
action: "compress_response",
|
||||
expression: "starts_with(http.request.uri.path, \"/videos/\")",
|
||||
description: DESC,
|
||||
enabled: true,
|
||||
action_parameters: { algorithms: [{ name: "none" }] },
|
||||
};
|
||||
(async () => {
|
||||
const g = await fetch(url, { headers });
|
||||
const gj = await g.json().catch(() => ({}));
|
||||
let rules = [];
|
||||
if (gj && gj.success && gj.result && Array.isArray(gj.result.rules)) {
|
||||
rules = gj.result.rules.filter((r) => r.description !== DESC);
|
||||
} else {
|
||||
const missing = Array.isArray(gj.errors) && gj.errors.some(
|
||||
(e) => /could not find|10007/i.test(String(e.code) + " " + (e.message || "")));
|
||||
if (!missing) { console.error("CF read failed:", JSON.stringify(gj.errors || gj)); process.exit(1); }
|
||||
}
|
||||
rules.unshift(rule);
|
||||
// CF rejects a PUT that echoes read-only fields back.
|
||||
const clean = rules.map(({ id, version, last_updated, ref, ...keep }) => keep);
|
||||
const p = await fetch(url, { method: "PUT", headers, body: JSON.stringify({ rules: clean }) });
|
||||
const pj = await p.json().catch(() => ({}));
|
||||
if (!pj.success) { console.error("CF write failed:", JSON.stringify(pj.errors || pj)); process.exit(1); }
|
||||
console.log("Cloudflare: compression disabled for /videos/*.");
|
||||
})();
|
||||
'
|
||||
|
||||
- name: Purge Cloudflare cache
|
||||
run: |
|
||||
if [ -z "${{ secrets.CF_ZONE_ID }}" ] || [ -z "${{ secrets.CF_API_TOKEN }}" ]; then
|
||||
echo "Cloudflare purge configuration is incomplete"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PURGE_RESPONSE="$(
|
||||
curl -fsS -X POST \
|
||||
"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache" \
|
||||
-H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
--data '{"purge_everything":true}'
|
||||
)"
|
||||
CF_PURGE_RESPONSE="$PURGE_RESPONSE" node -e '
|
||||
const payload = JSON.parse(process.env.CF_PURGE_RESPONSE || "{}");
|
||||
if (payload.success !== true) {
|
||||
console.error("Cloudflare purge response did not report success=true");
|
||||
process.exit(1);
|
||||
}
|
||||
'
|
||||
echo "Cloudflare cache purged."
|
||||
|
||||
- name: Summary
|
||||
run: |
|
||||
echo "### Promoted staging.hivegrid.de to production" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- Commit: \`$STAGED_SHA\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- Digest: \`$IMAGE_DIGEST\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- Previous production digest: \`$PREVIOUS_PRODUCTION_DIGEST\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
@@ -0,0 +1,22 @@
|
||||
name: SonarQube Analysis
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master, develop]
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
sonarqube:
|
||||
runs-on: toolctrl-ci
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: SonarQube Scan
|
||||
uses: sonarsource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602 # v6
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||
@@ -0,0 +1,50 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/versions
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# next.js
|
||||
/.next/
|
||||
/out/
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
.bg-shell/
|
||||
|
||||
# SQLite database
|
||||
/data/
|
||||
|
||||
# local agent / tooling dirs (not part of the app)
|
||||
/.claude/
|
||||
/.agents/
|
||||
/skills-lock.json
|
||||
@@ -0,0 +1,14 @@
|
||||
# HiveGrid Website
|
||||
|
||||
Statisches Frontend (Next.js 15 / Tailwind v4 / TypeScript) für hivegrid.de.
|
||||
Basiert 1:1 auf dem Pencil-Design (`fertig.pen`).
|
||||
|
||||
## Stack
|
||||
- Next.js 15 App Router (SSG / `output: export`)
|
||||
- Tailwind CSS v4
|
||||
- TypeScript
|
||||
- Framer Motion (Animationen)
|
||||
- Inter (Google Font)
|
||||
|
||||
## Status
|
||||
M001 in Planung — Foundation + Landing Page
|
||||
@@ -0,0 +1,55 @@
|
||||
# M001 — HiveGrid Website: Design → Code
|
||||
|
||||
## Ziel
|
||||
Vollständiges statisches Frontend auf Basis des Pencil-Designs (`fertig.pen`).
|
||||
Alle 21 Routes, mobile + desktop, globale Änderbarkeit durch CSS-Tokens + shared components.
|
||||
|
||||
## Scope
|
||||
|
||||
### Routen (21 Seiten)
|
||||
| Route | Frame | Priorität |
|
||||
|---|---|---|
|
||||
| `/` | hivegrid Landing Page | P0 |
|
||||
| `/produkt/workflow-engine` | Page/Produkt/Workflow Engine | P1 |
|
||||
| `/produkt/email-marketing` | Page/Produkt/Email Marketing | P1 |
|
||||
| `/produkt/chat` | Page/Produkt/Chat App | P1 |
|
||||
| `/produkt/projektmanagement` | Page/Produkt/Projektmanagement | P1 |
|
||||
| `/produkt/vertriebspipelines` | Page/Produkt/Vertriebspipelines | P1 |
|
||||
| `/produkt/mitarbeitermanagement` | Page/Produkt/Mitarbeitermanagement | P1 |
|
||||
| `/kunden` | Page/Kunden/Für wen ist HiveGrid | P1 |
|
||||
| `/ueber-uns` | Page/Über uns | P2 |
|
||||
| `/mission` | Page/Unsere Mission | P2 |
|
||||
| `/kontakt` | Page/Kontakt (Mockup-Form) | P2 |
|
||||
| `/demo` | Flow/CTA/Demo buchen Step 1-3 + Bestätigung | P2 |
|
||||
| `/newsletter/danke` | Flow/Newsletter/Danke | P3 |
|
||||
| `/newsletter/abmelden` | Flow/Newsletter/Abmelden | P3 |
|
||||
| `/newsletter/abmeldung-bestaetigt` | Flow/Newsletter/Abmeldung bestätigt | P3 |
|
||||
| `/agb` | Page/AGB | P3 |
|
||||
| `/datenschutz` | Page/Datenschutz | P3 |
|
||||
| `/impressum` | Page/Impressum | P3 |
|
||||
| `404` | Eigene 404-Seite | P3 |
|
||||
|
||||
### Nicht im Scope
|
||||
- Preise-Seite (kein Design, nicht benötigt)
|
||||
- Blog
|
||||
- Backend / Auth
|
||||
|
||||
## Constraints
|
||||
- Nur Frontend, kein Backend
|
||||
- Kontaktformular: Frontend-Mockup mit Validation, kein Versand
|
||||
- Demo-Flow: rein visuell (kein Calendly)
|
||||
- Deploy-ready als statischer Export
|
||||
|
||||
## Architektur-Entscheidungen
|
||||
- CSS Custom Properties für alle Design-Tokens (1 Datei ändern = global)
|
||||
- `site.config.ts` für Nav, Footer, Social-Links, Meta
|
||||
- Shared `<Navbar>` + `<Footer>` in `layout.tsx` — nicht pro Seite dupliziert
|
||||
- Produkt-Seiten über Template-Komponente mit Props
|
||||
- Mobile-first responsive (Tailwind breakpoints: `sm: 640`, `md: 768`, `lg: 1024`, `xl: 1280`)
|
||||
|
||||
## Slices
|
||||
|
||||
- [x] **S01: Foundation & Design System** `risk:low` `depends:[]`
|
||||
- [ ] **S02: Landing Page** `risk:medium` `depends:[S01]`
|
||||
- [ ] **S03: Produkt-Seiten (6x)** `risk:low` `depends:[S01]`
|
||||
- [ ] **S04: Static Pages + Flows** `risk:low` `depends:[S01]`
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# S01-PLAN — Foundation & Design System
|
||||
|
||||
## Ziel
|
||||
Projekt-Scaffold, Design-Tokens, Shared Components (Navbar/Footer), alle Routen als leere Shells.
|
||||
Nach diesem Slice: App läuft, alle Seiten erreichbar, Design-System vollständig.
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] **T01: Next.js Setup + Tailwind v4 Config** `est:1h`
|
||||
- [ ] **T02: CSS Design Tokens + globals.css** `est:30min`
|
||||
- [ ] **T03: site.config.ts (Nav, Footer, Meta)** `est:30min`
|
||||
- [ ] **T04: Navbar (Desktop + Mobile/Hamburger)** `est:2h`
|
||||
- [ ] **T05: Footer** `est:1h`
|
||||
- [ ] **T06: Root Layout + alle Route-Shells** `est:1h`
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# S02-PLAN — Landing Page
|
||||
|
||||
## Ziel
|
||||
Vollständige Landing Page (`/`) mit allen 11 Sektionen, pixel-nah am Design, responsive.
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] **T01: Hero Section (02 Hero)** `est:2h`
|
||||
- [ ] **T02: Solution Accordion (03)** `est:1.5h`
|
||||
- [ ] **T03: Features Grid (05)** `est:1.5h`
|
||||
- [ ] **T04: Chat Demo Section (06)** `est:1h`
|
||||
- [ ] **T05: How It Works (07) + Advantages (08)** `est:1.5h`
|
||||
- [ ] **T06: Mid-CTA Banner (09) + FAQ (12)** `est:1.5h`
|
||||
- [ ] **T07: Final CTA (13) — bereits in Navbar/Footer** `est:30min`
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
# S03-PLAN — Produkt-Seiten
|
||||
|
||||
## Ziel
|
||||
6 Produkt-Unterseiten über eine gemeinsame Template-Komponente.
|
||||
Jede Seite: Hero → Solution Accordion → Feature Grid → CTA → Footer.
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] **T01: ProductPageTemplate Komponente** `est:2h`
|
||||
- [ ] **T02: Produkt-Daten in site.config.ts** `est:30min`
|
||||
- [ ] **T03: /produkt/workflow-engine** `est:30min`
|
||||
- [ ] **T04: /produkt/email-marketing** `est:30min`
|
||||
- [ ] **T05: /produkt/chat** `est:30min`
|
||||
- [ ] **T06: /produkt/projektmanagement** `est:30min`
|
||||
- [ ] **T07: /produkt/vertriebspipelines** `est:30min`
|
||||
- [ ] **T08: /produkt/mitarbeitermanagement** `est:30min`
|
||||
- [ ] **T09: /kunden (Für wen ist HiveGrid)** `est:1.5h`
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# S04-PLAN — Static Pages + Flows
|
||||
|
||||
## Ziel
|
||||
Alle restlichen Seiten: Über uns, Mission, Kontakt (Mockup-Form), Demo-Flow, Newsletter-Flows, Legal, 404.
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] **T01: /ueber-uns** `est:2h`
|
||||
- [ ] **T02: /mission** `est:1.5h`
|
||||
- [ ] **T03: /kontakt (Form mit Frontend-Validation)** `est:2h`
|
||||
- [ ] **T04: /demo Flow (Step 1→2→3→Bestätigung)** `est:2h`
|
||||
- [ ] **T05: Newsletter-Flows (Danke / Abmelden / Bestätigt)** `est:1h`
|
||||
- [ ] **T06: /agb + /datenschutz + /impressum** `est:1h`
|
||||
- [ ] **T07: 404-Seite** `est:30min`
|
||||
@@ -0,0 +1,5 @@
|
||||
<!-- BEGIN:nextjs-agent-rules -->
|
||||
# This is NOT the Next.js you know
|
||||
|
||||
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.
|
||||
<!-- END:nextjs-agent-rules -->
|
||||
@@ -0,0 +1 @@
|
||||
@AGENTS.md
|
||||
@@ -0,0 +1,56 @@
|
||||
# HiveGrid Website — Multi-stage production Docker image
|
||||
# Standalone Next.js output for minimal footprint
|
||||
|
||||
FROM node:22-bookworm-slim AS base
|
||||
|
||||
LABEL org.opencontainers.image.description="HiveGrid Website — Landing Page"
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# ── Install dependencies (all, including devDeps for build) ──
|
||||
FROM base AS deps
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN NODE_ENV=development npm ci
|
||||
|
||||
# ── Build ─────────────────────────────────────────────────────
|
||||
FROM base AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
# Git SHA of the deployed commit — baked into the build so the running
|
||||
# container advertises its version via the X-Build-SHA response header.
|
||||
ARG GIT_SHA=dev
|
||||
ENV GIT_SHA=$GIT_SHA
|
||||
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
RUN npm run build
|
||||
|
||||
# ── Production ────────────────────────────────────────────────
|
||||
FROM base AS production
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Next.js standalone output
|
||||
COPY --from=build /app/.next/standalone ./
|
||||
COPY --from=build /app/.next/static ./.next/static
|
||||
COPY --from=build /app/public ./public
|
||||
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
ARG GIT_SHA=dev
|
||||
ENV GIT_SHA=$GIT_SHA
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \
|
||||
CMD curl -f http://localhost:3000/healthz || exit 1
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
@@ -0,0 +1,192 @@
|
||||
# MCP-Subpage — Content-Deck (Entwurf)
|
||||
|
||||
Copy-Grundlage für die geplante MCP-Subpage (eigener Nav-Punkt). Basiert auf dem
|
||||
Produkt-Repo `HiveGrid-Cloud` (`apps/mcp`, Tickets `VR-MCP`/`VD-MCP`, Entscheidung
|
||||
`AD-26`, Vertriebs-Doc `PRODUKTFEATURES.md`).
|
||||
|
||||
**Framing (Annahme, mit Dejan zu bestätigen):**
|
||||
- **Status:** „In Kürze / Early Access" — Feature voll zeigen, aber ehrlich als
|
||||
kommend markieren. Grund: Prod-Rollout auf `mcp.hivegrid.de` bewusst noch offen;
|
||||
interne Vertriebsregel = „als Pilot zeigen, nicht als sofort produktiv zusagen".
|
||||
- **Zielgruppe:** Hybrid — oben Nutzen für den SHK-Betrieb, unten technischer
|
||||
Vertrauensblock.
|
||||
- **Voice:** Du (wie Rest der Website).
|
||||
|
||||
**Route:** `/mcp` (oder `/ki-anbindung`) · **Nav-Label:** „KI-Anbindung" oder „MCP"
|
||||
→ Naming noch offen (siehe unten).
|
||||
|
||||
---
|
||||
|
||||
## Section 1 · Hero
|
||||
|
||||
**Badge:** `In Kürze` (Amber-Pill, wie Pricing-Buttons-Farbwelt)
|
||||
|
||||
**Headline:**
|
||||
> Deine KI. Dein Betrieb. Endlich verbunden.
|
||||
|
||||
**Alt-Headlines (zur Auswahl):**
|
||||
- Bring deine eigene KI mit.
|
||||
- HiveGrid spricht jetzt mit deiner KI.
|
||||
- Verknüpfen statt ersetzen — auch bei KI.
|
||||
|
||||
**Subline:**
|
||||
> Verbinde Claude, ChatGPT oder Cursor direkt mit HiveGrid. Deine KI liest
|
||||
> Aufträge, Kontakte und Projekte und erledigt Aufgaben für dich — sicher,
|
||||
> DSGVO-konform und nur mit den Rechten, die du vergibst.
|
||||
|
||||
**CTA primär:** `Früh dabei sein` (führt zu Demo/Kontakt mit Interesse-Vermerk)
|
||||
**CTA sekundär:** `Wie es funktioniert` (Anchor nach unten)
|
||||
|
||||
---
|
||||
|
||||
## Section 2 · Das Prinzip (Nutzen, kein Tech)
|
||||
|
||||
**Kicker:** Verknüpfen statt ersetzen
|
||||
|
||||
**Text:**
|
||||
> Du nutzt vielleicht schon eine KI — Claude, ChatGPT oder etwas anderes.
|
||||
> HiveGrid ersetzt sie nicht. Es gibt ihr einen sicheren Zugang zu deinem Betrieb.
|
||||
>
|
||||
> **Die KI läuft weiterhin bei dir bzw. deinem Anbieter — HiveGrid liefert nur
|
||||
> die Daten und führt die Aktionen aus, die du freigibst.** Kein zusätzliches
|
||||
> KI-Abo bei uns, kein Daten-Umzug, kein Lock-in.
|
||||
|
||||
**3 Nutzen-Kacheln (Alltagsbeispiele):**
|
||||
1. **„Zeig mir alle offenen Angebote über 10.000 €."**
|
||||
Deine KI durchsucht deine Projekte und Pipelines — in Sekunden.
|
||||
2. **„Leg einen Lead für Familie Meyer an und häng die Notiz vom Telefonat dran."**
|
||||
Deine KI erstellt Lead und Aktivität — mit deiner Bestätigung.
|
||||
3. **„Verschieb das Projekt Bad-Sanierung in die Phase ‚Angebot raus'."**
|
||||
Deine KI bewegt das Projekt in der Pipeline — sauber protokolliert.
|
||||
|
||||
---
|
||||
|
||||
## Section 3 · So funktioniert es (3 Schritte)
|
||||
|
||||
1. **Verbinden**
|
||||
Ein Klick in deinem KI-Client, Anmeldung über HiveGrid (OAuth). In Minuten
|
||||
verbunden — kein Kopieren von Schlüsseln, kein Techniker nötig.
|
||||
2. **Freigeben**
|
||||
Du entscheidest, was die KI darf: Presets von „Nur lesen" bis
|
||||
„Lesen + schreiben", oder feingranular je Bereich (Leads, Kontakte, Projekte,
|
||||
Pipelines, Aktivitäten, Aufgaben).
|
||||
3. **Nutzen**
|
||||
Sprich mit deiner KI wie gewohnt. Sie liest aus HiveGrid und handelt darin —
|
||||
jede Schreibaktion nur mit Bestätigung und im Audit-Protokoll.
|
||||
|
||||
---
|
||||
|
||||
## Section 4 · Was deine KI kann (Tool-Fläche)
|
||||
|
||||
**Einleitung:** 15 abgesicherte Werkzeuge über sechs Bereiche deines Betriebs.
|
||||
|
||||
**Lesen (10):**
|
||||
- **Leads** — suchen & Details abrufen
|
||||
- **Kontakte** — Privatpersonen & Organisationen suchen & abrufen
|
||||
- **Projekte** — nach Nummer, Titel, Pipeline, Phase, Verantwortlichem finden
|
||||
- **Pipelines** — Pipelines und aktive Phasen auflisten
|
||||
- **Aktivitäten** — Verlauf zu Kontakt, Projekt, Lead, Aufgabe
|
||||
- **Aufgaben** — nach Status, Priorität, Zuständigem, Frist suchen & abrufen
|
||||
|
||||
**Handeln (5 — je mit ausdrücklicher Bestätigung):**
|
||||
- **Lead anlegen**
|
||||
- **Projekt in andere Phase verschieben**
|
||||
- **Aktivität / Notiz hinzufügen**
|
||||
- **Aufgabe anlegen** (zugewiesen & verknüpft)
|
||||
- **Aufgaben-Status ändern**
|
||||
|
||||
> Jede schreibende Aktion verlangt eine Bestätigung und landet automatisch im
|
||||
> Audit-Protokoll und im Aktivitätenverlauf — nachvollziehbar, wer/welche KI
|
||||
> wann was getan hat.
|
||||
|
||||
---
|
||||
|
||||
## Section 5 · Kompatible KI-Clients
|
||||
|
||||
Logos + Labels (Honeycomb-Style wie Integrations-Feld denkbar):
|
||||
- **Claude** (Desktop / Code)
|
||||
- **ChatGPT**
|
||||
- **Cursor**
|
||||
- **VS Code** / weitere MCP-fähige Clients
|
||||
|
||||
**Untertext:**
|
||||
> HiveGrid nutzt den offenen Standard **MCP (Model Context Protocol)** — jeder
|
||||
> MCP-fähige KI-Client kann sich verbinden. Kein proprietärer Lock-in.
|
||||
|
||||
---
|
||||
|
||||
## Section 6 · Sicherheit & DSGVO (Vertrauensblock)
|
||||
|
||||
**Kicker:** Sicherheit ist kein Zusatz, sondern die Grundlage.
|
||||
|
||||
| Punkt | Aussage |
|
||||
|---|---|
|
||||
| **Mandantentrennung** | Deine KI sieht ausschließlich die Daten deines Betriebs — technisch erzwungen über das Login-Token, nicht über KI-Eingaben. Zweite Absicherung direkt in der Datenbank (RLS). |
|
||||
| **Du vergibst die Rechte** | Feingranulare Freigaben je Bereich, jederzeit widerrufbar. Nichts passiert ohne deine Zustimmung. |
|
||||
| **Bestätigung bei Aktionen** | Schreibende Aktionen brauchen ein explizites „Ja". |
|
||||
| **Vollständiges Audit** | Jeder KI-Zugriff wird protokolliert (wer, welcher Client, welches Tool, wann). |
|
||||
| **Sichere Anmeldung** | OAuth 2.1 mit kurzlebigen Tokens und Widerruf — keine dauerhaften Schlüssel im KI-Client. |
|
||||
| **Missbrauchsschutz** | Rate-Limits pro Betrieb, begrenzte Ausgabemengen. |
|
||||
| **Deine Daten sind Daten** | HiveGrid behandelt Kundendaten nie als Anweisungen an die KI (Schutz vor Prompt-Injection). |
|
||||
| **Hosting in Deutschland** | DSGVO-konform, Serverstandort DE. |
|
||||
|
||||
---
|
||||
|
||||
## Section 7 · Klare Grenzen (Ehrlichkeit / Erwartungsmanagement)
|
||||
|
||||
**Kicker:** Was HiveGrid bewusst NICHT ist
|
||||
|
||||
- **Kein eingebauter Chatbot.** HiveGrid ist kein KI-Assistent — du bringst deinen mit.
|
||||
- **Kein autonomer Agent.** Die KI handelt nur auf deine Anweisung, mit deinen Rechten.
|
||||
- **Keine eigene KI/Transkription.** Die Rechenleistung (Inferenz) liegt bei deinem
|
||||
KI-Client, nicht bei HiveGrid — dadurch kein zusätzliches KI-Abo, keine Daten,
|
||||
die zwangsweise durch fremde Modelle laufen.
|
||||
|
||||
> Wir bauen keine weitere KI-Blackbox. Wir öffnen deinen Betrieb sicher für die
|
||||
> KI, der du bereits vertraust.
|
||||
|
||||
---
|
||||
|
||||
## Section 8 · Technischer Steckbrief (Dev-Block, unten)
|
||||
|
||||
Für IT-affine Entscheider / Integratoren — kompakter Fakten-Block:
|
||||
|
||||
- **Protokoll:** Model Context Protocol (MCP), offizielles `@modelcontextprotocol/sdk`
|
||||
- **Transport:** Streamable HTTP (stateless)
|
||||
- **Endpoint:** `https://mcp.hivegrid.de` (eigener Dienst, getrennt von App & Public-API)
|
||||
- **Auth:** OAuth 2.1 Authorization Code + PKCE · Protected-Resource-Metadata
|
||||
(RFC 9728) · Authorization-Server-Metadata (RFC 8414) · Resource/Audience-Bindung
|
||||
· Consent · kurzlebige Access-Tokens + rotierende Refresh-Tokens + Widerruf
|
||||
· API-Key-Bearer als Fallback/Operator-Pfad
|
||||
- **Tools:** 15 (10 Read / 5 Write), Zod-validiert, Cursor-Pagination
|
||||
- **Scopes:** Presets `mcp:read` / `mcp:write` + granular je Domäne
|
||||
(`mcp:lead:read`, `mcp:lead:create`, `mcp:contact:read`, `mcp:project:read/write`,
|
||||
`mcp:pipeline:read`, `mcp:activity:read/write`, `mcp:task:read/write`)
|
||||
- **Isolation:** Tenant aus dem Token → `withTenantScope()` + Row-Level-Security
|
||||
- **Governance:** `withPermission()`-Guards, Client-Confirmation für Writes,
|
||||
Audit-Event + Aktivitätslog pro Aktion, Rate-Limits, Output-Truncation,
|
||||
Prompt-Injection-Härtung
|
||||
|
||||
---
|
||||
|
||||
## Section 9 · Abschluss-CTA
|
||||
|
||||
**Headline:** Sei früh dabei.
|
||||
**Text:** Die KI-Anbindung ist aktuell im Pilot. Sag uns Bescheid, wenn dein
|
||||
Betrieb sie als Erster nutzen soll.
|
||||
**CTA:** `Early Access anfragen` / `Demo buchen`
|
||||
|
||||
---
|
||||
|
||||
## Offene Punkte / Entscheidungen
|
||||
|
||||
- [ ] **Framing bestätigen:** „In Kürze/Early Access" vs. live vs. vage (aktuell: Early Access)
|
||||
- [ ] **Naming/Route:** `/mcp` + Nav „MCP" (klar, aber technisch) vs. `/ki-anbindung`
|
||||
+ Nav „KI-Anbindung" (verständlicher). Empfehlung: **Nav „KI-Anbindung", Route `/ki-anbindung`**,
|
||||
MCP als Begriff erst im Fließtext erklären.
|
||||
- [ ] **Headline final** (siehe Alternativen Section 1)
|
||||
- [ ] **Client-Logos** beschaffen (Claude/ChatGPT/Cursor/VS Code) — analog Honeycomb-Tool-Logos
|
||||
- [ ] **Verhältnis zum Honeycomb-Integrationsfeld** klären: eigene Seite + Verweis
|
||||
aus dem Honeycomb, oder Honeycomb-Abschnitt verlinkt hierher
|
||||
- [ ] **Text-Review mit Haris** (Teil des großen Text-Reviews)
|
||||
- [ ] **Bauhow & weitere Drittanbieter** — separates Integrations-Thema, hier nur querverweisen
|
||||
@@ -0,0 +1,313 @@
|
||||
# HiveGrid Website — Offene Punkte
|
||||
|
||||
Living-Doc: was an der neuen Landing unter `/` noch offen ist. Nicht nur Polish,
|
||||
sondern auch inhaltliche/strukturelle Themen. Das historische Sektions- und
|
||||
Journey-Mapping liegt im temporären Landingpage-Archiv.
|
||||
|
||||
**Stand:** 29.07.2026 · Arbeits-Branch `dejan` → Merge nach `main` deployt
|
||||
automatisch auf **staging.hivegrid.de**. Prod (`hivegrid.de`) nur per manueller
|
||||
Promotion (siehe `docs/deployment.md`).
|
||||
|
||||
## Reihenfolge (Logik)
|
||||
|
||||
Erst **Struktur** (was steht überhaupt auf der Seite), dann **Inhalte** füllen,
|
||||
dann **Mobile** polieren. So wird nichts doppelt angefasst.
|
||||
|
||||
| # | Punkt | Phase | Prio | Wer |
|
||||
|---|-------|-------|------|-----|
|
||||
| 1 | ~~Pain-Stats-Cards evaluieren~~ ✓ bleiben drin | Struktur | — | Dejan |
|
||||
| 2 | ~~MCP-Subpage + Nav~~ ✓ „KI-Brücke" live (Drittanbieter-Naming Rest) | Struktur | — | Dejan · Team |
|
||||
| 3 | Echte Screens in den Scroller | Inhalt | Mittel | David |
|
||||
| 4 | Echte Preise | Inhalt | Mittel | Noah |
|
||||
| 5 | Text-Review (final) | Inhalt | Hoch | Haris |
|
||||
| 6 | Mobile-Optimierung | Polish | Hoch | Dejan |
|
||||
| 7 | Hero-Video spielt auf Prod nicht (Safari · CDN-gzip) | Technik | Hoch | Dejan |
|
||||
| 8 | Noah-Video in Story-Sektion embedden (wenn Noah es schickt) | Inhalt | Mittel | Dejan · Noah |
|
||||
| 9 | Alte Team-Fotos raus (wenn alle neuen da) | Inhalt | Niedrig | Dejan · Team |
|
||||
| 10 | ~~Waitlist: „So geht's weiter" animieren~~ ✓ Scroll-Timeline | Struktur | — | Dejan |
|
||||
| 11 | Landing-Scroller: Module + Texte getauscht ✓ · Screens offen | Inhalt | Mittel | David → Dejan |
|
||||
| 12 | Leads: Ziel validieren + End-to-End-Testing | Technik | Hoch | Dejan |
|
||||
| 13 | ~~Waitlist: Subpage-Module als Carousel~~ ✓ „Das bekommst du" | Struktur | — | Dejan |
|
||||
| 14 | ~~Pricing: Blur-Text nicht markier-/kopierbar~~ ✓ | Technik | — | Dejan |
|
||||
| 15 | ~~MCP / KI-Brücke — Feinschliff~~ ✓ (Screens/Text-Review offen) | Polish | — | Dejan |
|
||||
| 16 | Webinar-Software researchen + `/webinare`-Seite bauen | Inhalt | Mittel | Dejan |
|
||||
| 17 | Über-uns: Struktur + Texte ✓ · **Fotos** offen | Inhalt | Mittel | David → Dejan |
|
||||
| 18 | Geerkens-Kunden-CTA unter Noah später neu bewerten | Struktur | Niedrig | Team |
|
||||
|
||||
---
|
||||
|
||||
## Phase A · Struktur & Scope (zuerst)
|
||||
|
||||
Entscheidungen, die das Layout/den Umfang der Seite verändern. Müssen zuerst
|
||||
fallen, sonst basieren Text-Review und Mobile-Pass auf einem beweglichen Ziel.
|
||||
|
||||
### 1. Pain-Stats-Cards evaluieren (7 · 5,4 h · 0) — ✓ ERLEDIGT (23.07.2026)
|
||||
|
||||
**Entscheidung: bleiben erstmal drin.** Layout der Sektion damit fixiert, Text-Review
|
||||
und Mobile-Pass können darauf aufsetzen. (Zahlen ggf. später mit Noah/Haris belegen.)
|
||||
|
||||
Die drei Metrik-Cards unter dem Honeycomb (`painStats` in
|
||||
`components/landing/LandingPageClient.tsx`) — ursprünglich zu prüfen, ob überhaupt nötig.
|
||||
|
||||
- Wirken sie belegt/mehrwertig oder generisch/erfunden?
|
||||
- Optionen: streichen · durch **echte, belegbare Zahlen** (mit Quelle) ersetzen ·
|
||||
anders inszenieren.
|
||||
- **Warum zuerst:** streichen/ersetzen ändert das Layout der Sektion → betrifft
|
||||
Text-Review und Mobile.
|
||||
- Entscheidung mit Noah/Haris.
|
||||
|
||||
### 2. MCP-Subpage + weitere Drittanbieter-Integrationen — ✓ ERLEDIGT (Subpage) (29.07.2026)
|
||||
|
||||
**Subpage steht + ist verlinkt.** Route `/ki-anbindung`, Nav- und Footer-Eintrag
|
||||
**„KI-Brücke"** (`lib/site.config.ts`). 9 Sektionen aus `MCP-SUBPAGE-CONTENT.md`
|
||||
gebaut, Framing „In Kürze / Early Access", vom Team nachgeschärft (echte
|
||||
Client-Logos, Codex statt ChatGPT, Redesign). Scope-Entscheidung damit gefallen.
|
||||
|
||||
- **Kurz-Verständnis (bleibt als Referenz):** HiveGrid hostet keine eigene KI,
|
||||
sondern ist über einen MCP-Server **KI-anschließbar** — externe Clients docken
|
||||
per OAuth 2.1 an, lesen Daten und führen freigegebene Aktionen aus. „Verknüpfen
|
||||
statt ersetzen".
|
||||
- **Rest offen:** „Technischer Steckbrief" (Endpoints/OAuth/Scopes) wurde aus dem
|
||||
Deck übernommen und ist **nicht** gegen `HiveGrid-Cloud/apps/mcp` verifiziert →
|
||||
vor Prod-Vermarktung gegenprüfen. Und: **weitere Drittanbieter** im Honeycomb
|
||||
benennen (**Bauhow** u. a.; aktuell: kwp, DATEV, Google Drive, Teams, Outlook,
|
||||
Google Calendar).
|
||||
- Subpage-Copy geht in den finalen Text-Review (#5) mit ein.
|
||||
|
||||
---
|
||||
|
||||
## Phase B · Inhalte befüllen (wenn Struktur steht)
|
||||
|
||||
### 3. Echte Screens in den Scroller (ScreenshotAccordion)
|
||||
|
||||
Das Lösungs-Modul (`components/sections/ScreenshotAccordion.tsx`) zeigt aktuell
|
||||
**Platzhalter-Screens**.
|
||||
|
||||
- Ersetzen durch echte Software-Aufnahmen von **David** (teils animiert).
|
||||
- Assets: `public/images/screenshot-*.webp`, `public/images/step-*.webp`.
|
||||
- Betrifft auch die Produktseiten-Accordions (`lib/produkt-daten.ts`).
|
||||
- Ggf. Modul-Liste an die finale Produkt-Struktur angleichen.
|
||||
|
||||
### 4. Echte Preise
|
||||
|
||||
`/preise` (`app/preise/page.tsx`) nutzt **erfundene Pakete ohne Preise**
|
||||
(Angebots-Modell, „Angebot anfordern").
|
||||
|
||||
- Finale Paket-Struktur, Feature-Zuordnung und – falls gewünscht – echte
|
||||
Preise mit **Noah** festlegen.
|
||||
- `PLACEHOLDER`-Kommentar ist im File hinterlegt.
|
||||
|
||||
### 5. Text-Review (final — bewusst spät)
|
||||
|
||||
Alle Copy auf der neuen Landing + Pricing ist **Platzhalter/wip** (Du-Voice).
|
||||
|
||||
- Finale Texte von **Haris**; Marker `TODO(haris)` / `PLACEHOLDER` suchen.
|
||||
- Betroffen: Hero-Botschaft, Pain-Points, Story (Noah), FAQ, CTA-Copy,
|
||||
Pricing-Paketnamen + Feature-Listen, ggf. MCP-Seite.
|
||||
- **Warum spät:** braucht finalen Content (Preise, MCP, Screens) — sonst wird
|
||||
zweimal gelesen.
|
||||
|
||||
---
|
||||
|
||||
## Phase C · Polish (zum Schluss)
|
||||
|
||||
### 6. Mobile-Optimierung (großes Paket)
|
||||
|
||||
Die neue Landing + Subpages sind **Desktop-first** gebaut. Mobile braucht einen
|
||||
eigenen, systematischen Durchgang. **Absichtlich ganz am Ende**, damit Inhalt
|
||||
und Struktur erst final sind und nicht doppelt angefasst werden.
|
||||
|
||||
- **Schon unterwegs gefixt:** Hero-Scroll-Jitter (`dvh` → `svh`), Showcase-Card
|
||||
auf Mobile ausgeblendet, Problem-Card-Badges auf Mobile zentriert, Honeycomb
|
||||
stapelt unter `lg`.
|
||||
- **Offen:** kompletter Sweep aller Sektionen auf realen Geräten — Hero,
|
||||
Honeycomb-Feld, Scroller, Story, CTAs, Pricing, Chat, Footer-Formular. Dazu
|
||||
Touch-Targets, Font-Scaling, Abstände, Overflow-Checks.
|
||||
|
||||
---
|
||||
|
||||
## Phase D · Technik / Deployment
|
||||
|
||||
### 7. Hero-Video spielt auf Prod nicht (Safari) — CDN-Kompression
|
||||
|
||||
Das Hero-Video (`/videos/hero-test.mp4`, eingebunden in
|
||||
`components/landing/LandingPageClient.tsx`) läuft auf **Staging** und in **Chrome**,
|
||||
aber in **Safari auf Prod** nicht — läuft kurz an, stockt, bleibt stehen.
|
||||
|
||||
- **Ursache (gemessen):** Prod hinter **Cloudflare** liefert das mp4
|
||||
**gzip-komprimiert** (`content-encoding: gzip`). Ein komprimierter Stream lässt
|
||||
sich nicht in Byte-Ranges zerlegen → CF antwortet `200` (ganze Datei) ohne
|
||||
`Accept-Ranges` statt `206`. **Safari** braucht für `<video>` zwingend
|
||||
Range/`206` → stockt. Chrome lädt die ganze Datei und spielt → daher
|
||||
browser-inkonsistent. **Staging** (kein CDN davor) liefert `206` → dort ok.
|
||||
Das Asset selbst ist einwandfrei (H.264, faststart, 2,2 MB).
|
||||
- **Schon erledigt (im Repo, gemerged):**
|
||||
- `Cache-Control: … no-transform` für `/videos/*` (`next.config.ts`) — korrektes
|
||||
Origin-Signal, **CF ignoriert es aber** (gemessen).
|
||||
- CI-Step **„Ensure Cloudflare leaves /videos uncompressed"** in
|
||||
`.gitea/workflows/promote.yml` (+ Standalone `scripts/cf-disable-video-compression.sh`):
|
||||
setzt per CF-API eine Compression-Rule `/videos/* → off`, idempotent, direkt
|
||||
vor dem bestehenden Cache-Purge.
|
||||
- **Noch offen / manuell nötig:** Nach dem Promote ist Live **weiterhin gzip** →
|
||||
der Auto-Step greift nicht, sehr wahrscheinlich weil der **CF-Token nur
|
||||
Cache-Purge** darf, **nicht** Rulesets schreiben. Zu tun (eins von beiden):
|
||||
1. **CF-Token** um Permission **„Zone → Config Rules: Edit"** erweitern → dann
|
||||
macht der Promote-Step es künftig automatisch. *(nachhaltig)*
|
||||
2. **Oder einmalig im CF-Dashboard:** Rules → Compression Rules → `URI Path`
|
||||
starts with `/videos/` → **Compression: Off** → dann Cache purgen.
|
||||
- **Verifizieren** (Ziel: `206` · `accept-ranges` · **kein** `content-encoding`):
|
||||
`curl -sI -H 'Range: bytes=0-1023' https://hivegrid.de/videos/hero-test.mp4`
|
||||
- **Falls danach immer noch gzip:** dann komprimiert nicht CF, sondern der
|
||||
**Prod-Origin** (Coolify/Traefik) selbst → dort gzip für `video/*` abschalten
|
||||
(Staging hat es aus).
|
||||
- **Kein Notfall:** Der Hero hat ein `poster`-Standbild als Fallback, die Seite
|
||||
bricht also nicht — es fehlt nur das Bewegtbild in Safari.
|
||||
|
||||
---
|
||||
|
||||
## Weitere Todos (aufgenommen 29.07.2026)
|
||||
|
||||
### 8. Noah-Video in die Story-Sektion embedden
|
||||
|
||||
Die dunkle Noah-Story-Sektion (`components/landing/LandingPageClient.tsx`) zeigt
|
||||
aktuell nur das Standbild `/images/team/noah.webp` (Play-Button wurde entfernt,
|
||||
da noch kein Video da).
|
||||
|
||||
- Sobald **Noah** das Founder-Story-Video schickt: als echtes `<video>` einbinden
|
||||
(Poster = jetziges Standbild, `playsInline`, Controls oder Klick-to-Play).
|
||||
- **Achtung Prio #7:** dasselbe CDN-/Range-Thema wie beim Hero — Video unter
|
||||
`/videos/` ablegen, damit die `no-transform`/Compression-Regel greift.
|
||||
|
||||
### 9. Alte Team-Fotos ersetzen
|
||||
|
||||
- Die aktuellen Team-Bilder (`public/images/team/*`, u. a. auf `/ueber-uns`) sind
|
||||
teils Platzhalter/alt.
|
||||
- **Raus, sobald alle neuen Fotos vorliegen** — gesammelt tauschen, nicht
|
||||
stückweise (einheitlicher Look, Crop, Format).
|
||||
|
||||
### 10. Waitlist: „So geht's weiter" animieren — ✓ ERLEDIGT (29.07.2026)
|
||||
|
||||
Die „So geht's weiter"-Sektion (`app/waitlist/WaitlistNext.tsx`) als
|
||||
**Scroll-Progress-Timeline** neu gebaut: mitlaufende Fill-Linie (GSAP
|
||||
ScrollTrigger), Waben leuchten beim Erreichen auf, Icon in der Wabe,
|
||||
Schrittzahl daneben. `prefers-reduced-motion`-Fallback. Name unverändert.
|
||||
|
||||
### 11. Landing-Scroller: die 4 Module tauschen — ✓ CONTENT DONE, Screens offen (29.07.2026)
|
||||
|
||||
Der Lösungs-Scroller (`components/sections/ScreenshotAccordion.tsx`, Daten
|
||||
`solutionModules` in `components/landing/LandingPageClient.tsx`) hat jetzt die gültigen 4 Module.
|
||||
**Struktur, Reihenfolge und Texte sind fertig** (Copy auf Basis von
|
||||
`hivegrid-cloud` recherchiert, nicht geraten):
|
||||
|
||||
1. **Projektmanagement** — bleibt (Slot 1)
|
||||
2. **Workflow-Engine** — no-code Wenn-Dann → `/produkt/workflow-engine`
|
||||
3. **Chat** — Auto-Projektkanäle, Foto → Projektdatei, Nachricht → Aufgabe → `/produkt/chat`
|
||||
4. **Form Builder** — Drag-&-drop-Formulare, Link/QR/Embed, Einsendung → Lead/Auftrag
|
||||
|
||||
- **Offen — Screens (Blocker):** die echten Screens kommen von **David**, werden
|
||||
dann von **Dejan** eingebaut. Aktuell: Slot 1 hat seinen Screen (Kanban-Screen
|
||||
kommt noch), Slot 2 hat einen Platzhalter (`screenshot-planung.webp`), Slots
|
||||
3+4 zeigen den generierten Platzhalter. Assets → `public/images/`.
|
||||
- **Form Builder hat noch keine Subpage** (`/produkt/*`) → href bewusst weggelassen
|
||||
(kein „Mehr zu"-Link). Wenn eine `/produkt/formulare`-Seite kommt, dranhängen.
|
||||
- **Überschneidung mit #3** (Echte Screens) — dies ist die konkrete Modul-Liste dazu.
|
||||
|
||||
### 12. Leads: Ziel validieren + Testing
|
||||
|
||||
- **Prüfen, wohin Leads tatsächlich landen:** Waitlist-Formular (`/waitlist`) und
|
||||
Footer-/Kontakt-Formular — Backend/Webhook/E-Mail-Ziel verifizieren.
|
||||
- **End-to-End testen** (echte Testeinsendung ankommen sehen), inkl.
|
||||
Fehlerfälle/Doppelsendung.
|
||||
- DSGVO im Blick: wo werden die Daten gespeichert, Double-Opt-in falls Marketing.
|
||||
|
||||
### 13. Waitlist: Subpage-Module als Carousel — ✓ ERLEDIGT (29.07.2026)
|
||||
|
||||
Sektion **„Das bekommst du"** (`app/waitlist/WaitlistModules.tsx`) nach der
|
||||
Timeline: Carousel mit den echten interaktiven Modulen (Chat, E-Mail-Builder,
|
||||
Kanban, Workflow-Editor, Freigaben — **Vertrieb ausgenommen**), display-only
|
||||
(`inert` + `pointer-events:none`), Peek+Fade-Frame, „Live ausprobieren"-CTA je
|
||||
Modul zur Subpage. Onboarding-Hints im Carousel ausgeblendet, Freigaben-Modul
|
||||
mobil responsive gemacht.
|
||||
|
||||
### 14. Pricing: Blur-Text nicht markier-/kopierbar — ✓ ERLEDIGT (29.07.2026)
|
||||
|
||||
Der „Bald verfügbar"-Look auf `/preise` (blurred Dummy-Cards + Absperrband) ist
|
||||
**gewollt und bleibt 1:1**. Problem war nur: man konnte den verschwommenen Text
|
||||
trotzdem markieren + kopieren → Dummy-Daten im Klartext.
|
||||
|
||||
- **Fix:** Am Blur-Grid (`app/preise/page.tsx`) die `user-select: none`-Prefixes
|
||||
ergänzt (`WebkitUserSelect`/`MozUserSelect` + Tailwind `select-none`). React
|
||||
emittiert bei Inline-`userSelect` nur die unpräfixierte Property — **Safari**
|
||||
braucht `-webkit-`, sonst ließ sich weiter markieren.
|
||||
- **Verifiziert** in WebKit: Selektion des Blur-Grids liefert 0 Zeichen; Look
|
||||
unverändert. **Unabhängig von #4** (echte Preise bleiben davon unberührt).
|
||||
|
||||
### 15. MCP / KI-Brücke — Feinschliff — ✓ ERLEDIGT (29.07.2026)
|
||||
|
||||
Polish-Durchgang der Subpage (`app/ki-anbindung/page.tsx`) inkl. des Feedbacks
|
||||
vom technischen Kollegen komplett umgesetzt:
|
||||
|
||||
- **Neue animierte `RequestFlow`-Sektion** („So läuft eine Anfrage durch":
|
||||
Deine KI → MCP → HiveGrid, Auto-Advance 3,5 s, kein Layout-Sprung, generische
|
||||
KI-Station) ersetzt das statische Brücken-Diagramm.
|
||||
- **`HeroConnect`**: interaktive Connect-Karte (Claude/ChatGPT-Tabs), Breite
|
||||
fixiert.
|
||||
- Hero: „Live ansehen"-Button raus, Stacked-Layout zentriert.
|
||||
- „Was HiveGrid nicht ist"-Sektion entfernt · Domain-Waben mit Icons statt
|
||||
Buchstaben · „+ weitere MCP-fähige Clients" · kein „bzw." · Monteure-Beispiel.
|
||||
- **Technischer Steckbrief gegen `hivegrid-cloud/apps/mcp` verifiziert:**
|
||||
15 Tools (10 Read / 5 Write), Endpoint, Transport, Scopes stimmen.
|
||||
- **Rest (nicht Teil von #15):** finaler Text-Review läuft über #5;
|
||||
„weitere Drittanbieter (Bauhow)" betrifft das Landing-Honeycomb, nicht diese
|
||||
Seite.
|
||||
|
||||
### 16. Webinar-Software researchen + `/webinare`-Seite bauen
|
||||
|
||||
Webinare als Kanal aufsetzen: Plattform wählen + eigene Seite auf der Website.
|
||||
|
||||
- **Vorarbeit liegt vor:** `webinar.md` (Research — Plattformwahl DE/EU-hosted,
|
||||
technisches Setup, Website-Integration, Recht/DSGVO). Noch untracked.
|
||||
- **To do:** finale Plattform-Entscheidung · eigene `/webinare`-Seite in Next.js
|
||||
(Anmeldung + On-Demand-Replay) · Lead-Fluss in eigenes Backend (siehe #12).
|
||||
- DSGVO/Marken-Konsistenz beachten (EU/DE-Hosting, Double-Opt-in fürs Marketing).
|
||||
|
||||
### 17. Über-uns-Seite überarbeiten — Struktur + Texte ✓, Fotos offen (30.07.2026)
|
||||
|
||||
`/ueber-uns` (`app/ueber-uns/page.tsx`) komplett neu: **volles Team (8 Personen)
|
||||
nach Abteilung, echte Bios** (kundentauglich, kein interner Kram). Datengetrieben
|
||||
über benannte Member-Consts + `departments`-Array.
|
||||
|
||||
- **Abteilungen (Reihenfolge):** Geschäftsführung (Noah, Raffael) · Marketing
|
||||
(Dejan, David) · Entwicklung (Aki, Raffael) · Produkt & Design (David,
|
||||
Michelle) · Vertrieb (Haris) · System-Infrastruktur (Arthur). David & Raffael
|
||||
bewusst je 2×. Grid-Spalten adaptiv (2 Leute → 2 Spalten voll, 3 → 3 Spalten).
|
||||
- **Offen — Fotos (Blocker):** David bereitet neue Fotos vom **ganzen Team** vor.
|
||||
Aktuell nur Noah/David/Raffael mit (alten) Fotos, Rest = Platzhalter-Kacheln
|
||||
(Initialen). Sobald Davids Set da ist: pro Person `img`/`objectPos` setzen +
|
||||
das **Gruppenfoto** (aktuell „Team-Foto folgt"-Platzhalter). → **Dejan** baut ein.
|
||||
- **Nicht committen/pushen**, solange Platzhalter drin sind.
|
||||
- Copy geht in den finalen Text-Review (#5) mit ein.
|
||||
|
||||
### 18. Geerkens-Kunden-CTA unter Noah später neu bewerten
|
||||
|
||||
Der CTA „So arbeitet die Geerkens GmbH heute mit HiveGrid“ ist auf der Landing
|
||||
vorerst vollständig ausgeblendet. Noahs Story geht dadurch ohne Zwischenmodul
|
||||
direkt in „Verbinden statt ersetzen“ und das Integrations-Grid über.
|
||||
|
||||
- Später entscheiden, ob echte Kundendaten bzw. ein belastbares Kundenbeispiel
|
||||
genug Mehrwert für eine Wiedereinführung liefern.
|
||||
- Vorhandene Copy als Referenz: „Angebote, Baustellen und Wartung an einem Ort.“
|
||||
- Bei einer Rückkehr nicht automatisch den bisherigen Kanban-Platzhalter
|
||||
reaktivieren, sondern Inhalt und Position im finalen Journey-Review prüfen.
|
||||
|
||||
---
|
||||
|
||||
## Referenzen
|
||||
|
||||
- **Historisches Sektions-/Journey-Mapping:**
|
||||
`archive/landingpage-experiments-delete-after-finalization/REWORK_MAPPING.md`
|
||||
- **Deployment:** `docs/deployment.md` (main-Push → Staging automatisch; Prod
|
||||
per manueller Promotion). Staging: `staging.hivegrid.de`.
|
||||
- **Landingpage:** `/` rendert direkt `components/landing/LandingPageClient.tsx`.
|
||||
Frühere Playground-Routen liegen nur noch im ausgeschlossenen Archiv.
|
||||
- **Design-Tokens:** `app/globals.css` · **Chamfer-Shape:** `lib/chamfer.ts`
|
||||
@@ -0,0 +1 @@
|
||||
# hivegrid website
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "AGB",
|
||||
description: "Allgemeine Geschäftsbedingungen für die Nutzung der HiveGrid Plattform.",
|
||||
alternates: { canonical: "/agb" },
|
||||
};
|
||||
|
||||
export default function AGBPage() {
|
||||
return (
|
||||
<>
|
||||
<section className="section-full" style={{ paddingTop: "var(--hero-top-padding)", paddingBottom: 0 }}>
|
||||
<div className="flex flex-col items-center gap-5 mx-auto text-center">
|
||||
<h1 className="text-[36px] md:text-[48px] font-bold leading-[1.1]" style={{ color: "var(--text-primary)" }}>Allgemeine Geschäftsbedingungen</h1>
|
||||
<p className="text-[14px]" style={{ color: "var(--text-tertiary)" }}>Zuletzt aktualisiert: März 2026</p>
|
||||
</div>
|
||||
</section>
|
||||
<section className="section-full" style={{ paddingBlock: "60px 80px" }}>
|
||||
<article className="mx-auto prose prose-neutral max-w-3xl" style={{ color: "var(--text-secondary)", fontSize: 15, lineHeight: 1.7 }}>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 1 Geltungsbereich</h2>
|
||||
<p>Diese Allgemeinen Geschäftsbedingungen gelten für alle Verträge zwischen der HiveGrid GmbH und dem Kunden über die Nutzung der HiveGrid Plattform.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 2 Vertragsgegenstand</h2>
|
||||
<p>HiveGrid stellt dem Kunden eine cloudbasierte Software-Plattform zur Verfügung, die Werkzeuge für Projektmanagement, Kommunikation, Vertrieb und Personalplanung umfasst.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 3 Registrierung und Nutzerkonto</h2>
|
||||
<p>Die Nutzung der Plattform setzt eine Registrierung voraus. Der Kunde ist verpflichtet, wahrheitsgemäße Angaben zu machen und sein Zugangsdaten vertraulich zu behandeln.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 4 Vergütung</h2>
|
||||
<p>Die Vergütung richtet sich nach dem jeweils gewählten Tarif. Preisänderungen werden mindestens 30 Tage vor Inkrafttreten angekündigt.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 5 Datenschutz</h2>
|
||||
<p>Die Verarbeitung personenbezogener Daten erfolgt gemäß unserer Datenschutzerklärung und den geltenden Datenschutzgesetzen, insbesondere der DSGVO.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 6 Haftung</h2>
|
||||
<p>Die Haftung von HiveGrid ist auf Vorsatz und grobe Fahrlässigkeit beschränkt. Für leichte Fahrlässigkeit haftet HiveGrid nur bei Verletzung wesentlicher Vertragspflichten.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 7 Kündigung</h2>
|
||||
<p>Der Vertrag kann von beiden Seiten mit einer Frist von 30 Tagen zum Monatsende gekündigt werden. Das Recht zur außerordentlichen Kündigung bleibt unberührt.</p>
|
||||
<h2 style={{ color: "var(--text-primary)" }}>§ 8 Schlussbestimmungen</h2>
|
||||
<p>Es gilt das Recht der Bundesrepublik Deutschland. Gerichtsstand ist Hamburg. Sollten einzelne Bestimmungen unwirksam sein, bleibt die Wirksamkeit der übrigen Bestimmungen unberührt.</p>
|
||||
</article>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
import { getDemoAssistantReply, type DemoChatTurn } from "@/lib/chat-demo/assistant";
|
||||
|
||||
type ReplyRequestBody = {
|
||||
message?: unknown;
|
||||
conversation?: unknown;
|
||||
};
|
||||
|
||||
function parseConversation(value: unknown): DemoChatTurn[] {
|
||||
if (!Array.isArray(value)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return value
|
||||
.map((entry): DemoChatTurn | null => {
|
||||
if (!entry || typeof entry !== "object") {
|
||||
return null;
|
||||
}
|
||||
|
||||
const role = (entry as { role?: unknown }).role;
|
||||
const content = (entry as { content?: unknown }).content;
|
||||
|
||||
if ((role !== "user" && role !== "assistant") || typeof content !== "string") {
|
||||
return null;
|
||||
}
|
||||
|
||||
const trimmed = content.trim();
|
||||
if (!trimmed) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return {
|
||||
role,
|
||||
content: trimmed.slice(0, 1000),
|
||||
};
|
||||
})
|
||||
.filter((entry): entry is DemoChatTurn => entry !== null)
|
||||
.slice(-20);
|
||||
}
|
||||
|
||||
export async function POST(request: Request) {
|
||||
try {
|
||||
const body = (await request.json()) as ReplyRequestBody;
|
||||
const message = typeof body.message === "string" ? body.message.trim() : "";
|
||||
|
||||
if (!message) {
|
||||
return Response.json({ error: "message_required" }, { status: 400 });
|
||||
}
|
||||
|
||||
const result = await getDemoAssistantReply({
|
||||
message: message.slice(0, 1000),
|
||||
conversation: parseConversation(body.conversation),
|
||||
});
|
||||
|
||||
return Response.json(result);
|
||||
} catch {
|
||||
return Response.json({ error: "invalid_payload" }, { status: 400 });
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
import { insertDemoRequest } from "@/lib/db/demo-requests";
|
||||
|
||||
const INBOX_URL = process.env.LEAD_INBOX_URL;
|
||||
const INBOX_KEY = process.env.LEAD_INBOX_KEY;
|
||||
|
||||
type Lead = {
|
||||
email: string;
|
||||
name: string;
|
||||
company: string;
|
||||
phone: string;
|
||||
industry: string;
|
||||
message: string;
|
||||
};
|
||||
|
||||
// Forward to the central lead-inbox (infra ADR 012). Returns true on success.
|
||||
// Server-side only — the key never reaches the browser.
|
||||
async function forwardToInbox(lead: Lead, source: string): Promise<boolean> {
|
||||
if (!INBOX_URL || !INBOX_KEY) return false;
|
||||
try {
|
||||
const res = await fetch(`${INBOX_URL.replace(/\/+$/, "")}/v1/leads`, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
Authorization: `Bearer ${INBOX_KEY}`,
|
||||
},
|
||||
body: JSON.stringify({ ...lead, source }),
|
||||
signal: AbortSignal.timeout(5000),
|
||||
});
|
||||
return res.ok;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export async function POST(req: NextRequest) {
|
||||
try {
|
||||
const body = await req.json();
|
||||
const str = (v: unknown) => (typeof v === "string" ? v.trim() : "");
|
||||
const { email, firstName, lastName, company, industry, phone, message } = body;
|
||||
|
||||
// name = first + last; fall back to a legacy single `name` field.
|
||||
const name = [str(firstName), str(lastName)].filter(Boolean).join(" ") || str(body.name);
|
||||
|
||||
// Optional lead source (e.g. waitlist vs demo); defaults to the demo label
|
||||
// so existing callers keep their behaviour.
|
||||
const source = str(body.source) || "HiveGrid Demo-Anfrage";
|
||||
|
||||
if (!email || typeof email !== "string" || !email.includes("@")) {
|
||||
return NextResponse.json(
|
||||
{ error: "Gültige E-Mail-Adresse erforderlich." },
|
||||
{ status: 400 }
|
||||
);
|
||||
}
|
||||
|
||||
if (!name) {
|
||||
return NextResponse.json(
|
||||
{ error: "Name ist erforderlich." },
|
||||
{ status: 400 }
|
||||
);
|
||||
}
|
||||
|
||||
const lead: Lead = {
|
||||
email: email.trim().toLowerCase(),
|
||||
name,
|
||||
company: str(company),
|
||||
phone: str(phone),
|
||||
industry: str(industry),
|
||||
message: str(message),
|
||||
};
|
||||
|
||||
// Central inbox is the source of truth; the local SQLite is the fallback
|
||||
// so a lead is never lost if the inbox is unreachable (ADR 012). When
|
||||
// LEAD_INBOX_URL/KEY are unset this is exactly the old local-only behavior.
|
||||
const forwarded = await forwardToInbox(lead, source);
|
||||
if (!forwarded) {
|
||||
// SQLite fallback stores only email/name/company/message, so fold the
|
||||
// extra fields into the message text — nothing is lost without a migration.
|
||||
const extra = [
|
||||
lead.phone && `Telefon: ${lead.phone}`,
|
||||
lead.industry && `Branche: ${lead.industry}`,
|
||||
].filter(Boolean);
|
||||
const message = [lead.message, ...extra].filter(Boolean).join("\n");
|
||||
insertDemoRequest({ email: lead.email, name: lead.name, company: lead.company, message });
|
||||
}
|
||||
|
||||
return NextResponse.json({ success: true });
|
||||
} catch (err) {
|
||||
console.error("Demo request error:", err);
|
||||
return NextResponse.json(
|
||||
{ error: "Interner Fehler. Bitte versuchen Sie es später erneut." },
|
||||
{ status: 500 }
|
||||
);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,472 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Datenschutzerklärung",
|
||||
description: "Datenschutzerklärung der R&D² UG (haftungsbeschränkt) – HiveGrid. DSGVO-konforme Verarbeitung Ihrer Daten ausschließlich auf deutschen Servern.",
|
||||
alternates: { canonical: "/datenschutz" },
|
||||
};
|
||||
|
||||
/* ─── helpers ─── */
|
||||
const H2 = ({ children }: { children: React.ReactNode }) => (
|
||||
<h2
|
||||
className="text-[20px] font-bold mt-10 mb-3"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
{children}
|
||||
</h2>
|
||||
);
|
||||
|
||||
const H3 = ({ children }: { children: React.ReactNode }) => (
|
||||
<h3
|
||||
className="text-[16px] font-semibold mt-6 mb-2"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
{children}
|
||||
</h3>
|
||||
);
|
||||
|
||||
const P = ({ children }: { children: React.ReactNode }) => (
|
||||
<p className="mb-3">{children}</p>
|
||||
);
|
||||
|
||||
const UL = ({ children }: { children: React.ReactNode }) => (
|
||||
<ul className="list-disc pl-6 mb-3 flex flex-col gap-1">{children}</ul>
|
||||
);
|
||||
|
||||
export default function DatenschutzPage() {
|
||||
return (
|
||||
<>
|
||||
{/* Header */}
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ paddingTop: "var(--hero-top-padding)", paddingBottom: 0 }}
|
||||
>
|
||||
<div className="flex flex-col items-center gap-5 mx-auto text-center">
|
||||
<h1
|
||||
className="text-[36px] md:text-[48px] font-bold leading-[1.1]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Datenschutzerklärung
|
||||
</h1>
|
||||
<p
|
||||
className="text-[14px]"
|
||||
style={{ color: "var(--text-tertiary)" }}
|
||||
>
|
||||
Zuletzt aktualisiert: März 2026
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Content */}
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ paddingBlock: "60px 80px" }}
|
||||
>
|
||||
<article
|
||||
className="mx-auto max-w-3xl flex flex-col"
|
||||
style={{
|
||||
color: "var(--text-secondary)",
|
||||
fontSize: 15,
|
||||
lineHeight: 1.75,
|
||||
}}
|
||||
>
|
||||
{/* ───────────────────── 1. Verantwortlicher ───────────────────── */}
|
||||
<H2>1. Verantwortlicher</H2>
|
||||
<P>
|
||||
Verantwortlicher im Sinne der Datenschutz-Grundverordnung (DSGVO)
|
||||
und anderer nationaler Datenschutzgesetze sowie sonstiger
|
||||
datenschutzrechtlicher Bestimmungen ist:
|
||||
</P>
|
||||
<P>
|
||||
R&D² UG (haftungsbeschränkt)
|
||||
<br />
|
||||
Orbinstraße 1
|
||||
<br />
|
||||
76646 Bruchsal
|
||||
<br />
|
||||
Deutschland
|
||||
</P>
|
||||
<P>
|
||||
Vertreten durch: Raffael Sheikh
|
||||
<br />
|
||||
E-Mail: datenschutz@hivegrid.de
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 2. Allgemeines ───────────────────── */}
|
||||
<H2>2. Allgemeines zur Datenverarbeitung</H2>
|
||||
<P>
|
||||
Der Schutz Ihrer personenbezogenen Daten ist uns ein wichtiges
|
||||
Anliegen. Personenbezogene Daten werden auf dieser Website nur im
|
||||
technisch notwendigen Umfang erhoben. Die Verarbeitung
|
||||
personenbezogener Daten erfolgt stets im Einklang mit der
|
||||
Datenschutz-Grundverordnung (DSGVO) und dem Bundesdatenschutzgesetz
|
||||
(BDSG).
|
||||
</P>
|
||||
<P>
|
||||
Diese Datenschutzerklärung klärt Sie über Art, Umfang und Zweck der
|
||||
Verarbeitung personenbezogener Daten innerhalb unseres
|
||||
Onlineangebots auf.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 3. Hosting ───────────────────── */}
|
||||
<H2>3. Hosting</H2>
|
||||
<P>
|
||||
Unsere Website wird auf Servern der Scaleway SAS, 8 rue de la Ville
|
||||
l'Evêque, 75008 Paris, Frankreich, gehostet. Die Server befinden
|
||||
sich in der EU (Niederlande). Beim Aufruf unserer Website werden
|
||||
automatisch Informationen durch den Server erfasst und in
|
||||
sogenannten Server-Logfiles gespeichert.
|
||||
</P>
|
||||
<P>Folgende Daten werden dabei erhoben:</P>
|
||||
<UL>
|
||||
<li>IP-Adresse des anfragenden Rechners</li>
|
||||
<li>Datum und Uhrzeit des Zugriffs</li>
|
||||
<li>Name und URL der abgerufenen Seite</li>
|
||||
<li>Übertragene Datenmenge</li>
|
||||
<li>
|
||||
Meldung, ob der Abruf erfolgreich war (HTTP-Statuscode)
|
||||
</li>
|
||||
<li>Browsertyp und Browserversion</li>
|
||||
<li>Verwendetes Betriebssystem</li>
|
||||
<li>Referrer-URL (zuvor besuchte Seite)</li>
|
||||
</UL>
|
||||
<P>
|
||||
Die Verarbeitung dieser Daten ist für die Bereitstellung der Website
|
||||
erforderlich. Rechtsgrundlage ist Art. 6 Abs. 1 lit. f DSGVO
|
||||
(berechtigtes Interesse). Unser berechtigtes Interesse liegt in der
|
||||
störungsfreien Bereitstellung unserer Website und der
|
||||
Gewährleistung der Systemsicherheit. Die Server-Logfiles werden nach
|
||||
spätestens 14 Tagen automatisch gelöscht.
|
||||
</P>
|
||||
<P>
|
||||
Die Nutzung von Scaleway erfolgt auf Grundlage von Art. 28 DSGVO
|
||||
(Auftragsverarbeitung). Ein entsprechender
|
||||
Auftragsverarbeitungsvertrag liegt vor.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 4. Cloudflare DNS ───────────────────── */}
|
||||
<H2>4. Content Delivery Network und DNS</H2>
|
||||
<P>
|
||||
Wir nutzen den DNS-Dienst von Cloudflare, Inc., 101 Townsend St.,
|
||||
San Francisco, CA 94107, USA, zur Auflösung unserer Domain. Dabei
|
||||
wird die IP-Adresse des Nutzers an Cloudflare übermittelt, um die
|
||||
Verbindung zu unseren Servern herzustellen.
|
||||
</P>
|
||||
<P>
|
||||
Cloudflare ist unter dem EU-US Data Privacy Framework zertifiziert
|
||||
und gewährleistet ein angemessenes Datenschutzniveau. Die Nutzung
|
||||
erfolgt auf Grundlage unseres berechtigten Interesses an einer
|
||||
sicheren und performanten Bereitstellung unserer Website gemäß
|
||||
Art. 6 Abs. 1 lit. f DSGVO. Weitere Informationen finden Sie in
|
||||
der{" "}
|
||||
<a
|
||||
href="https://www.cloudflare.com/privacypolicy/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="underline underline-offset-2 transition-colors hover:text-[var(--text-primary)]"
|
||||
style={{ color: "var(--accent-teal)" }}
|
||||
>
|
||||
Datenschutzerklärung von Cloudflare
|
||||
</a>
|
||||
.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 5. SSL/TLS ───────────────────── */}
|
||||
<H2>5. SSL- bzw. TLS-Verschlüsselung</H2>
|
||||
<P>
|
||||
Diese Website nutzt aus Sicherheitsgründen und zum Schutz der
|
||||
Übertragung personenbezogener Daten eine SSL- bzw.
|
||||
TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie
|
||||
daran, dass die Adresszeile des Browsers von „http://" auf
|
||||
„https://" wechselt und an dem Schloss-Symbol in der Browserzeile.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 6. Kontaktformular ───────────────────── */}
|
||||
<H2>6. Kontaktformular</H2>
|
||||
<P>
|
||||
Wenn Sie uns über das Kontaktformular auf unserer Website
|
||||
kontaktieren, werden folgende Daten erhoben:
|
||||
</P>
|
||||
<UL>
|
||||
<li>Vorname (Pflichtfeld)</li>
|
||||
<li>Nachname (optional)</li>
|
||||
<li>E-Mail-Adresse (Pflichtfeld)</li>
|
||||
<li>Unternehmen (optional)</li>
|
||||
<li>Betreff</li>
|
||||
<li>Nachricht (Freitext)</li>
|
||||
</UL>
|
||||
<P>
|
||||
Diese Daten werden ausschließlich zum Zweck der Bearbeitung Ihrer
|
||||
Anfrage verarbeitet. Rechtsgrundlage ist Art. 6 Abs. 1 lit. b DSGVO
|
||||
(vorvertragliche Maßnahmen) bzw. Art. 6 Abs. 1 lit. f DSGVO
|
||||
(berechtigtes Interesse an der Beantwortung von Anfragen). Ihre
|
||||
Daten werden nach abschließender Bearbeitung Ihrer Anfrage gelöscht,
|
||||
sofern keine gesetzlichen Aufbewahrungspflichten entgegenstehen.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 7. Demo-Anfrage ───────────────────── */}
|
||||
<H2>7. Demo-Anfrage</H2>
|
||||
<P>
|
||||
Über unser Demo-Anfrage-Formular können Sie eine persönliche
|
||||
Produktvorführung anfragen. Dabei werden folgende Daten erhoben:
|
||||
</P>
|
||||
<UL>
|
||||
<li>E-Mail-Adresse (Pflichtfeld)</li>
|
||||
<li>Name (Pflichtfeld)</li>
|
||||
<li>Unternehmen (optional)</li>
|
||||
<li>Nachricht (optional)</li>
|
||||
</UL>
|
||||
<P>
|
||||
Die Daten werden in einer lokalen Datenbank auf unserem Server
|
||||
gespeichert und ausschließlich zur Terminvereinbarung und
|
||||
Kontaktaufnahme im Rahmen Ihrer Demo-Anfrage verwendet.
|
||||
Rechtsgrundlage ist Ihre Einwilligung gemäß Art. 6 Abs. 1 lit. a
|
||||
DSGVO, die Sie durch das Absenden des Formulars und die Bestätigung
|
||||
der Datenschutzhinweise erteilen. Sie können Ihre Einwilligung
|
||||
jederzeit mit Wirkung für die Zukunft widerrufen, indem Sie uns
|
||||
unter datenschutz@hivegrid.de kontaktieren.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 8. Newsletter ───────────────────── */}
|
||||
<H2>8. Newsletter</H2>
|
||||
<P>
|
||||
Auf unserer Website haben Sie die Möglichkeit, unseren Newsletter zu
|
||||
abonnieren. Dafür benötigen wir Ihre E-Mail-Adresse. Die Anmeldung
|
||||
erfolgt über ein Eingabefeld im Fußbereich der Website.
|
||||
</P>
|
||||
<P>
|
||||
Der Versand des Newsletters erfolgt auf Grundlage Ihrer
|
||||
Einwilligung gemäß Art. 6 Abs. 1 lit. a DSGVO. Sie können Ihre
|
||||
Einwilligung jederzeit widerrufen, indem Sie sich über den
|
||||
Abmeldelink in jeder Newsletter-E-Mail abmelden oder uns unter
|
||||
datenschutz@hivegrid.de kontaktieren. Die Rechtmäßigkeit der
|
||||
bereits erfolgten Datenverarbeitung bleibt vom Widerruf unberührt.
|
||||
</P>
|
||||
<P>
|
||||
Ihre E-Mail-Adresse wird ausschließlich für den Versand des
|
||||
Newsletters gespeichert und nach Abmeldung gelöscht, sofern keine
|
||||
gesetzlichen Aufbewahrungspflichten entgegenstehen.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 9. Cookies ───────────────────── */}
|
||||
<H2>9. Cookies</H2>
|
||||
<P>
|
||||
Unsere Website verwendet ausschließlich technisch notwendige
|
||||
Cookies, die für den Betrieb der Website erforderlich sind. Es
|
||||
werden keine Tracking-, Analyse- oder Marketing-Cookies eingesetzt.
|
||||
</P>
|
||||
<P>
|
||||
Technisch notwendige Cookies werden auf Grundlage von Art. 6
|
||||
Abs. 1 lit. f DSGVO gesetzt. Unser berechtigtes Interesse liegt in
|
||||
der funktionalen Bereitstellung unserer Website. Die Cookies werden
|
||||
nach Ende der Browser-Sitzung automatisch gelöscht.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 10. Schriftarten ───────────────────── */}
|
||||
<H2>10. Schriftarten</H2>
|
||||
<P>
|
||||
Diese Website verwendet die Schriftart „Inter". Die Schriftart wird
|
||||
lokal auf unserem Server gehostet (Self-Hosting) und nicht von
|
||||
externen Servern wie Google Fonts geladen. Es findet in diesem
|
||||
Zusammenhang keine Datenübertragung an Drittanbieter statt.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 11. Keine Analyse-Tools ───────────────────── */}
|
||||
<H2>11. Analyse- und Tracking-Tools</H2>
|
||||
<P>
|
||||
Wir setzen auf unserer Website derzeit keine Analyse- oder
|
||||
Tracking-Tools (wie z.{"\u00A0"}B. Google Analytics, Matomo oder
|
||||
ähnliche Dienste) ein. Es erfolgt keine Auswertung des
|
||||
Nutzerverhaltens über die in Abschnitt 3 genannten Server-Logfiles
|
||||
hinaus.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 12. Keine Social-Media-Plugins ───────────────────── */}
|
||||
<H2>12. Social-Media-Plugins</H2>
|
||||
<P>
|
||||
Auf unserer Website sind keine Social-Media-Plugins (z.{"\u00A0"}B.
|
||||
von Facebook, Instagram, LinkedIn oder X/Twitter) eingebunden.
|
||||
Es findet keine automatische Datenübertragung an soziale Netzwerke
|
||||
statt.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 13. Betroffenenrechte ───────────────────── */}
|
||||
<H2>13. Ihre Rechte als betroffene Person</H2>
|
||||
<P>
|
||||
Sie haben gegenüber uns folgende Rechte hinsichtlich der Sie
|
||||
betreffenden personenbezogenen Daten:
|
||||
</P>
|
||||
|
||||
<H3>a) Recht auf Auskunft (Art. 15 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, eine Bestätigung darüber zu verlangen, ob Sie
|
||||
betreffende personenbezogene Daten verarbeitet werden. Ist dies der
|
||||
Fall, haben Sie ein Recht auf Auskunft über diese Daten sowie auf
|
||||
weitere Informationen gemäß Art. 15 DSGVO.
|
||||
</P>
|
||||
|
||||
<H3>b) Recht auf Berichtigung (Art. 16 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, unverzüglich die Berichtigung unrichtiger oder
|
||||
die Vervollständigung unvollständiger personenbezogener Daten zu
|
||||
verlangen.
|
||||
</P>
|
||||
|
||||
<H3>c) Recht auf Löschung (Art. 17 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, die Löschung Ihrer personenbezogenen Daten zu
|
||||
verlangen, sofern einer der in Art. 17 DSGVO genannten Gründe
|
||||
zutrifft, z.{"\u00A0"}B. wenn die Daten für die Zwecke, für die
|
||||
sie erhoben wurden, nicht mehr notwendig sind.
|
||||
</P>
|
||||
|
||||
<H3>d) Recht auf Einschränkung der Verarbeitung (Art. 18 DSGVO)</H3>
|
||||
<P>
|
||||
Unter bestimmten Voraussetzungen haben Sie das Recht, die
|
||||
Einschränkung der Verarbeitung Ihrer personenbezogenen Daten zu
|
||||
verlangen.
|
||||
</P>
|
||||
|
||||
<H3>e) Recht auf Datenübertragbarkeit (Art. 20 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, die Sie betreffenden personenbezogenen Daten,
|
||||
die Sie uns bereitgestellt haben, in einem strukturierten, gängigen
|
||||
und maschinenlesbaren Format zu erhalten.
|
||||
</P>
|
||||
|
||||
<H3>f) Recht auf Widerspruch (Art. 21 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, aus Gründen, die sich aus Ihrer besonderen
|
||||
Situation ergeben, jederzeit gegen die Verarbeitung Sie betreffender
|
||||
personenbezogener Daten, die auf Art. 6 Abs. 1 lit. f DSGVO
|
||||
(berechtigtes Interesse) beruht, Widerspruch einzulegen.
|
||||
</P>
|
||||
|
||||
<H3>g) Recht auf Widerruf erteilter Einwilligungen (Art. 7 Abs. 3 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, eine einmal erteilte Einwilligung jederzeit zu
|
||||
widerrufen. Die Rechtmäßigkeit der aufgrund der Einwilligung bis
|
||||
zum Widerruf erfolgten Verarbeitung wird dadurch nicht berührt.
|
||||
</P>
|
||||
|
||||
<H3>h) Beschwerderecht bei der Aufsichtsbehörde (Art. 77 DSGVO)</H3>
|
||||
<P>
|
||||
Sie haben das Recht, sich bei einer Datenschutz-Aufsichtsbehörde
|
||||
über die Verarbeitung Ihrer personenbezogenen Daten zu beschweren.
|
||||
Die für uns zuständige Aufsichtsbehörde ist:
|
||||
</P>
|
||||
<P>
|
||||
Der Landesbeauftragte für den Datenschutz und die
|
||||
Informationsfreiheit Baden-Württemberg
|
||||
<br />
|
||||
Lautenschlagerstraße 20
|
||||
<br />
|
||||
70173 Stuttgart
|
||||
<br />
|
||||
Telefon: +49 711 615541-0
|
||||
<br />
|
||||
E-Mail: poststelle@lfdi.bwl.de
|
||||
<br />
|
||||
<a
|
||||
href="https://www.baden-wuerttemberg.datenschutz.de"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="underline underline-offset-2 transition-colors hover:text-[var(--text-primary)]"
|
||||
style={{ color: "var(--accent-teal)" }}
|
||||
>
|
||||
www.baden-wuerttemberg.datenschutz.de
|
||||
</a>
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 14. Speicherdauer ───────────────────── */}
|
||||
<H2>14. Speicherdauer</H2>
|
||||
<P>
|
||||
Personenbezogene Daten werden nur so lange gespeichert, wie dies für
|
||||
den jeweiligen Verarbeitungszweck erforderlich ist oder gesetzliche
|
||||
Aufbewahrungsfristen eine längere Speicherung vorschreiben.
|
||||
Handels- und steuerrechtliche Aufbewahrungsfristen betragen in der
|
||||
Regel 6 bzw. 10 Jahre. Nach Ablauf der jeweiligen Frist werden die
|
||||
Daten routinemäßig gelöscht.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 15. Datensicherheit ───────────────────── */}
|
||||
<H2>15. Datensicherheit</H2>
|
||||
<P>
|
||||
Wir verwenden innerhalb des Website-Besuchs das verbreitete
|
||||
SSL/TLS-Verfahren in Verbindung mit der jeweils höchsten
|
||||
Verschlüsselungsstufe, die von Ihrem Browser unterstützt wird.
|
||||
Darüber hinaus setzen wir geeignete technische und organisatorische
|
||||
Sicherheitsmaßnahmen ein, um Ihre Daten gegen zufällige oder
|
||||
vorsätzliche Manipulation, Verlust, Zerstörung oder Zugriff
|
||||
unberechtigter Personen zu schützen. Unsere Sicherheitsmaßnahmen
|
||||
werden entsprechend der technologischen Entwicklung fortlaufend
|
||||
verbessert.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── 16. Auftragsverarbeitung ───────────────────── */}
|
||||
<H2>16. Auftragsverarbeitung</H2>
|
||||
<P>
|
||||
Soweit wir Dienstleister zur Verarbeitung personenbezogener Daten
|
||||
einsetzen, haben wir Auftragsverarbeitungsverträge gemäß
|
||||
Art. 28 DSGVO geschlossen. Dies betrifft aktuell:
|
||||
</P>
|
||||
<UL>
|
||||
<li>
|
||||
<strong>Scaleway SAS</strong> (Hosting der Website in der EU)
|
||||
</li>
|
||||
<li>
|
||||
<strong>Cloudflare, Inc.</strong> (DNS-Auflösung)
|
||||
</li>
|
||||
</UL>
|
||||
|
||||
{/* ───────────────────── 17. Änderungen ───────────────────── */}
|
||||
<H2>17. Aktualität und Änderung dieser Datenschutzerklärung</H2>
|
||||
<P>
|
||||
Diese Datenschutzerklärung ist aktuell gültig und hat den Stand
|
||||
März 2026. Durch die Weiterentwicklung unserer Website oder
|
||||
aufgrund geänderter gesetzlicher bzw. behördlicher Vorgaben kann es
|
||||
notwendig werden, diese Datenschutzerklärung zu ändern. Die jeweils
|
||||
aktuelle Datenschutzerklärung kann jederzeit auf dieser Seite
|
||||
abgerufen werden.
|
||||
</P>
|
||||
|
||||
{/* ───────────────────── Kontakt ───────────────────── */}
|
||||
<div
|
||||
className="mt-10"
|
||||
style={{
|
||||
background: "var(--container-bg)",
|
||||
clipPath: CHAMFER,
|
||||
padding: "24px 28px",
|
||||
}}
|
||||
>
|
||||
<p
|
||||
className="text-[14px] font-semibold mb-2"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Fragen zum Datenschutz?
|
||||
</p>
|
||||
<p className="text-[14px] leading-relaxed mb-3">
|
||||
Wenn Sie Fragen zur Verarbeitung Ihrer personenbezogenen Daten
|
||||
haben, können Sie sich jederzeit an uns wenden.
|
||||
</p>
|
||||
<p className="text-[14px]">
|
||||
E-Mail:{" "}
|
||||
<a
|
||||
href="mailto:datenschutz@hivegrid.de"
|
||||
className="underline underline-offset-2 transition-colors hover:text-[var(--text-primary)]"
|
||||
style={{ color: "var(--accent-teal)" }}
|
||||
>
|
||||
datenschutz@hivegrid.de
|
||||
</a>
|
||||
</p>
|
||||
<p className="text-[14px] mt-1">
|
||||
Post: R&D² UG (haftungsbeschränkt), Orbinstraße 1, 76646 Bruchsal
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
"use client";
|
||||
|
||||
import { Users, CalendarCheck, Shield } from "lucide-react";
|
||||
import LeadForm from "@/components/ui/LeadForm";
|
||||
|
||||
export default function DemoForm() {
|
||||
return (
|
||||
<section className="section-full" style={{ paddingTop: 72, paddingBottom: 96 }}>
|
||||
<div
|
||||
className="mx-auto grid grid-cols-1 lg:grid-cols-[0.9fr_1.1fr] gap-12 lg:gap-16 items-start"
|
||||
style={{ maxWidth: "var(--content-width)" }}
|
||||
>
|
||||
{/* Left: heading + intro + trust + seal (tool-ctrl.de style) */}
|
||||
<div className="flex flex-col gap-6">
|
||||
<span
|
||||
className="text-[13px] font-semibold uppercase tracking-widest"
|
||||
style={{ color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
Demo anfragen
|
||||
</span>
|
||||
|
||||
<h1
|
||||
className="font-extrabold"
|
||||
style={{
|
||||
color: "var(--text-primary)",
|
||||
fontSize: "clamp(32px, 4.4vw, 52px)",
|
||||
lineHeight: 1.06,
|
||||
letterSpacing: "-0.03em",
|
||||
}}
|
||||
>
|
||||
Sprechen wir über<br />Ihren Betrieb.
|
||||
</h1>
|
||||
|
||||
<p
|
||||
className="text-[17px] leading-relaxed"
|
||||
style={{ color: "var(--text-secondary)", maxWidth: 460 }}
|
||||
>
|
||||
Interesse? Fragen? Füllen Sie das Formular aus — wir melden uns
|
||||
persönlich bei Ihnen und zeigen Ihnen HiveGrid in einer individuellen
|
||||
Demo, zugeschnitten auf Ihren Betrieb.
|
||||
</p>
|
||||
|
||||
<div className="flex flex-col gap-3 mt-1">
|
||||
{[
|
||||
{ icon: Users, label: "Persönliche Betreuung, kein Callcenter" },
|
||||
{ icon: CalendarCheck, label: "Individuelle Demo in ~30 Minuten" },
|
||||
{ icon: Shield, label: "DSGVO-konform · Made in Germany" },
|
||||
].map(({ icon: Icon, label }) => (
|
||||
<span
|
||||
key={label}
|
||||
className="flex items-center gap-2.5 text-[15px]"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
<Icon size={18} style={{ color: "var(--accent-yellow)" }} />
|
||||
{label}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* heyData GDPR seal */}
|
||||
<div className="mt-2">
|
||||
<a
|
||||
href="https://heydata.eu"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
title="heyData GDPR seal"
|
||||
>
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img
|
||||
alt="heyData DSGVO-Siegel – DSGVO-konforme Verarbeitung"
|
||||
src="https://api.heydata.eu/privacy-seal/seal/2cdc4714-a706-4790-975c-7c95935905fe?lang=de&design=design1&sealType=GDPR"
|
||||
width={110}
|
||||
height={110}
|
||||
style={{ border: 0 }}
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Right: the shared lead form */}
|
||||
<LeadForm submitLabel="Demo anfragen" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
// Demo and contact were unified into the waitlist. Keep the old URL working.
|
||||
export default function DemoPage() {
|
||||
redirect("/waitlist");
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1,293 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/* ─── Hivegrid Design Tokens ──────────────────────────────────────────── */
|
||||
:root {
|
||||
/* Colors — Brand */
|
||||
--accent-yellow: #F1B729;
|
||||
--accent-yellow-dark: #3E2C0A;
|
||||
--accent-yellow-light: #FFE082;
|
||||
--accent-teal: #0D6E6E;
|
||||
--accent-teal-hover: #0A5A5A;
|
||||
--accent-teal-light: #E8F4F4;
|
||||
--accent-orange: #E07B54;
|
||||
--brand-primary: #5856D6;
|
||||
|
||||
/* Colors — Surface */
|
||||
--surface: #FFFFFF;
|
||||
--bg-primary: #FAFAFA;
|
||||
--bg-muted: #F5F5F5;
|
||||
--bg-white: #FFFFFF;
|
||||
--container-bg: #F6F8FA;
|
||||
--dark-bg: #30313D; /* fixed to the "Live" variant (dev A/B switch removed) */
|
||||
--bg-dark: #0F1A2E;
|
||||
--bg-dark-card: #1A2740;
|
||||
|
||||
/* Colors — Text */
|
||||
--text-primary: #1A1A1A;
|
||||
--text-secondary: #555555;
|
||||
--text-tertiary: #888888;
|
||||
--text-muted: #AAAAAA;
|
||||
--text-disabled: #A3ACBA;
|
||||
--text-on-dark: #C8D0DC;
|
||||
--text-white: #FFFFFF;
|
||||
|
||||
/* Colors — Border */
|
||||
--border-primary: #E5E5E5;
|
||||
--border-neutral: #D5DBE1;
|
||||
--border-light: #F0F0F0;
|
||||
|
||||
/* Colors — Badge */
|
||||
--badge-bg: #F3EDFD;
|
||||
|
||||
/* Radius */
|
||||
--radius-badge: 6px;
|
||||
--radius-button: 6px;
|
||||
--radius-small: 6px;
|
||||
--radius-main: 8px;
|
||||
--radius-medium: 12px;
|
||||
--radius-large: 16px;
|
||||
|
||||
/* Spacing — Design scale */
|
||||
--spacing-small: 16px;
|
||||
--gap-s: 16px;
|
||||
--gap-m: 24px;
|
||||
--gap-l: 40px;
|
||||
--spacing-element: 32px;
|
||||
--spacing-content: 80px;
|
||||
--spacing-section: 120px;
|
||||
|
||||
/* Layout */
|
||||
--page-width: 1440px;
|
||||
--content-width: 1200px;
|
||||
--side-padding: 56px;
|
||||
--side-padding-mobile: 20px;
|
||||
--section-padding: 80px;
|
||||
--section-padding-mobile: 48px;
|
||||
--section-padding-large: 120px;
|
||||
--hero-top-padding: 128px;
|
||||
--hero-top-padding-mobile: 40px;
|
||||
}
|
||||
|
||||
/* Responsive hero spacing — all pages get tighter spacing on mobile */
|
||||
@media (max-width: 767px) {
|
||||
:root {
|
||||
--hero-top-padding: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ─── Tailwind v4 Theme Extension ─────────────────────────────────────── */
|
||||
@theme inline {
|
||||
/* Map CSS vars → Tailwind color tokens */
|
||||
--color-accent-yellow: var(--accent-yellow);
|
||||
--color-accent-yellow-dark: var(--accent-yellow-dark);
|
||||
--color-accent-yellow-light: var(--accent-yellow-light);
|
||||
--color-accent-teal: var(--accent-teal);
|
||||
--color-accent-teal-hover: var(--accent-teal-hover);
|
||||
--color-accent-teal-light: var(--accent-teal-light);
|
||||
--color-accent-orange: var(--accent-orange);
|
||||
--color-brand-primary: var(--brand-primary);
|
||||
--color-surface: var(--surface);
|
||||
--color-bg-primary: var(--bg-primary);
|
||||
--color-bg-muted: var(--bg-muted);
|
||||
--color-container-bg: var(--container-bg);
|
||||
--color-dark-bg: var(--dark-bg);
|
||||
--color-bg-dark: var(--bg-dark);
|
||||
--color-text-primary: var(--text-primary);
|
||||
--color-text-secondary: var(--text-secondary);
|
||||
--color-text-tertiary: var(--text-tertiary);
|
||||
--color-text-muted: var(--text-muted);
|
||||
--color-text-on-dark: var(--text-on-dark);
|
||||
--color-text-white: var(--text-white);
|
||||
--color-border-primary: var(--border-primary);
|
||||
--color-border-neutral: var(--border-neutral);
|
||||
--color-badge-bg: var(--badge-bg);
|
||||
|
||||
/* Radius */
|
||||
--radius-badge: var(--radius-badge);
|
||||
--radius-button: var(--radius-button);
|
||||
--radius-sm: var(--radius-small);
|
||||
--radius-md: var(--radius-medium);
|
||||
--radius-lg: var(--radius-large);
|
||||
|
||||
/* Font */
|
||||
--font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
/* ─── Base ─────────────────────────────────────────────────────────────── */
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--surface);
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Prevent long German words from overflowing on mobile.
|
||||
Use overflow-wrap as safety net but NO auto-hyphens —
|
||||
they produce ugly breaks like "Orga-nisiert".
|
||||
Add ­ manually where breaks are acceptable. */
|
||||
h1, h2, h3, h4 {
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
/* ─── Utility Classes ──────────────────────────────────────────────────── */
|
||||
.container-site {
|
||||
width: 100%;
|
||||
max-width: var(--content-width);
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--side-padding-mobile);
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.container-site {
|
||||
padding-inline: var(--side-padding);
|
||||
}
|
||||
}
|
||||
|
||||
.section-pad {
|
||||
padding-block: var(--section-padding-mobile);
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.section-pad {
|
||||
padding-block: var(--section-padding);
|
||||
}
|
||||
}
|
||||
|
||||
/* Section with full bleed but content contained */
|
||||
.section-full {
|
||||
width: 100%;
|
||||
padding-inline: var(--side-padding-mobile);
|
||||
}
|
||||
|
||||
.hero-ambient-bg {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 152% 152%, 152% 152%, 138% 138%, 100% 100%;
|
||||
background-position: 0% 0%, 100% 18%, 50% 26%, 0% 0%;
|
||||
animation: hero-ambient-flow 14s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes hero-ambient-flow {
|
||||
0% {
|
||||
background-position: 0% 0%, 100% 18%, 50% 26%, 0% 0%;
|
||||
}
|
||||
|
||||
50% {
|
||||
background-position: 7% 6%, 93% 33%, 48% 39%, 0% 0%;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 12% 10%, 88% 44%, 45% 54%, 0% 0%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes accordion-progress-fill {
|
||||
from {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Chamfered (cut) corners for eyebrow badges — so they share the honeycomb-angled
|
||||
corner language of the cards. Smaller cut than the cards (which use a 16px inline
|
||||
clip-path) because badges are short. Buttons deliberately stay rounded. */
|
||||
.chamfer-badge {
|
||||
clip-path: polygon(
|
||||
5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px),
|
||||
calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px
|
||||
);
|
||||
}
|
||||
|
||||
/* Solution scroller — clickable screenshot frame. Single hover affordance: the
|
||||
screenshot zooms in subtly + a yellow ring appears. The frame is chamfered, so
|
||||
the ring can't be a box-shadow (clip-path clips box-shadows). Instead the frame
|
||||
itself is the ring: it has a 2px padding and its background fades to yellow on
|
||||
hover, while the inner chamfered layer (its own bg) covers the centre — so the
|
||||
2px reveal traces the cut corners. Plain background swap (no inline var / no
|
||||
@property) so it works in every engine, Safari included. */
|
||||
.screenshot-frame {
|
||||
background: var(--container-bg);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.screenshot-frame:hover {
|
||||
background: var(--accent-yellow);
|
||||
}
|
||||
.screenshot-frame img {
|
||||
transition: opacity 0.5s ease, transform 0.55s ease;
|
||||
}
|
||||
.screenshot-frame:hover img {
|
||||
transform: scale(1.025);
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
.screenshot-frame,
|
||||
.screenshot-frame img,
|
||||
.screenshot-frame:hover img {
|
||||
transition: none;
|
||||
transform: none;
|
||||
}
|
||||
.screenshot-frame:hover {
|
||||
background: var(--accent-yellow);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero-ambient-bg {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.section-full {
|
||||
padding-inline: var(--side-padding);
|
||||
}
|
||||
}
|
||||
|
||||
.footer-container {
|
||||
width: 100%;
|
||||
padding-inline: var(--side-padding-mobile);
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
padding: 40px 24px;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.footer-inner {
|
||||
padding: 56px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.footer-container {
|
||||
padding-inline: var(--side-padding);
|
||||
}
|
||||
}
|
||||
|
||||
.chat-scroll-hidden {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.chat-scroll-hidden::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export async function GET() {
|
||||
return Response.json({
|
||||
service: "hivegrid-website",
|
||||
revision: process.env.GIT_SHA ?? "dev",
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Impressum",
|
||||
description: "Impressum der R&D² UG (haftungsbeschränkt) – Betreiberin von HiveGrid.",
|
||||
alternates: { canonical: "/impressum" },
|
||||
};
|
||||
|
||||
export default function ImpressumPage() {
|
||||
return (
|
||||
<>
|
||||
<section className="section-full" style={{ paddingTop: "var(--hero-top-padding)", paddingBottom: 0 }}>
|
||||
<div className="flex flex-col items-center gap-5 mx-auto text-center">
|
||||
<h1 className="text-[36px] md:text-[48px] font-bold leading-[1.1]" style={{ color: "var(--text-primary)" }}>Impressum</h1>
|
||||
</div>
|
||||
</section>
|
||||
<section className="section-full" style={{ paddingBlock: "60px 80px" }}>
|
||||
<article className="mx-auto max-w-3xl flex flex-col gap-8" style={{ color: "var(--text-secondary)", fontSize: 15, lineHeight: 1.7 }}>
|
||||
<div>
|
||||
<h2 className="text-[18px] font-semibold mb-3" style={{ color: "var(--text-primary)" }}>Angaben gemäß § 5 DDG</h2>
|
||||
<p>R&D² UG (haftungsbeschränkt)<br />Orbinstraße 1<br />76646 Bruchsal</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="text-[18px] font-semibold mb-3" style={{ color: "var(--text-primary)" }}>Vertreten durch</h2>
|
||||
<p>Raffael Sheikh</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="text-[18px] font-semibold mb-3" style={{ color: "var(--text-primary)" }}>Registereintrag</h2>
|
||||
<p>Eintragung im Handelsregister.<br />Registergericht: Mannheim<br />Registernummer: HRB756189</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="text-[18px] font-semibold mb-3" style={{ color: "var(--text-primary)" }}>Umsatzsteuer-ID</h2>
|
||||
<p>Umsatzsteuer-Identifikationsnummer gemäß § 27a Umsatzsteuergesetz: DE458565520</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="text-[18px] font-semibold mb-3" style={{ color: "var(--text-primary)" }}>Verbraucherstreitbeilegung / Universalschlichtungsstelle</h2>
|
||||
<p>Wir nehmen nicht an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teil und sind dazu auch nicht verpflichtet.</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 className="text-[18px] font-semibold mb-3" style={{ color: "var(--text-primary)" }}>Datenschutzerklärung</h2>
|
||||
<p>Unter dem folgenden Link finden Sie unsere <Link href="/datenschutz" className="font-medium underline underline-offset-2 transition-colors hover:text-[var(--text-primary)]" style={{ color: "var(--accent-teal)" }}>Datenschutzerklärung</Link>.</p>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,532 @@
|
||||
import type { Metadata } from "next";
|
||||
import type { ReactNode } from "react";
|
||||
import Link from "next/link";
|
||||
import {
|
||||
MagnifyingGlass, UserPlus, FlowArrow, SlidersHorizontal,
|
||||
ShieldCheck, CheckCircle, ClipboardText, Key, Gauge, Lock, MapPin, Sparkle,
|
||||
CalendarCheck, AddressBook, FolderOpen, Funnel, ClockCounterClockwise, CheckSquare,
|
||||
} from "@phosphor-icons/react/ssr";
|
||||
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
import HeroConnect from "@/components/sections/HeroConnect";
|
||||
import RequestFlow from "@/components/sections/RequestFlow";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "KI-Brücke",
|
||||
description:
|
||||
"Verbinde Claude oder ChatGPT direkt mit HiveGrid. Deine KI liest Aufträge, Kontakte und Projekte und erledigt Aufgaben für dich: sicher, DSGVO-konform und nur mit den Rechten, die du vergibst.",
|
||||
alternates: { canonical: "/ki-anbindung" },
|
||||
};
|
||||
|
||||
// PLACEHOLDER — Copy aus MCP-SUBPAGE-CONTENT.md. Framing "In Kürze / Early Access"
|
||||
// (MCP ist Pilot auf Staging, Prod-Rollout offen). Client-Logos + finaler
|
||||
// Text-Review noch offen — TODO(haris) / TODO(david: echte Client-Logos).
|
||||
|
||||
// ── shared bits ──────────────────────────────────────────────────────────────
|
||||
|
||||
// Icon in a honeycomb cell — same brand motif as the product feature cards.
|
||||
function HexIcon({ icon: Icon }: { icon: PhosphorIcon }) {
|
||||
return (
|
||||
<span className="relative inline-flex items-center justify-center shrink-0" style={{ width: 54, height: 54 }} aria-hidden>
|
||||
<svg viewBox="0 0 56 56" className="absolute inset-0 w-full h-full" fill="none">
|
||||
<path
|
||||
d="M3 28 L15.5 6.4 L40.5 6.4 L53 28 L40.5 49.6 L15.5 49.6 Z"
|
||||
fill="var(--accent-yellow-light)"
|
||||
stroke="var(--text-primary)"
|
||||
strokeWidth="2"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
<Icon size={23} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} className="relative" />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
function HoneycombCorner() {
|
||||
return (
|
||||
<span
|
||||
aria-hidden
|
||||
className="absolute top-0 right-0 pointer-events-none"
|
||||
style={{
|
||||
width: "58%",
|
||||
height: "66%",
|
||||
backgroundImage: "url(/cta-honeycomb.svg)",
|
||||
backgroundSize: "230px",
|
||||
backgroundPosition: "top right",
|
||||
backgroundRepeat: "no-repeat",
|
||||
opacity: 0.5,
|
||||
WebkitMaskImage: "radial-gradient(125% 125% at 100% 0%, #000 0%, transparent 62%)",
|
||||
maskImage: "radial-gradient(125% 125% at 100% 0%, #000 0%, transparent 62%)",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function Kicker({ children, onDark = false }: { children: ReactNode; onDark?: boolean }) {
|
||||
return (
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={onDark
|
||||
? { background: "rgba(241,183,41,0.16)", color: "var(--accent-yellow)" }
|
||||
: { background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
function BrandMark({ name, viewBox, path }: { name: string; viewBox: string; path: string }) {
|
||||
return (
|
||||
<span className="inline-flex items-center" style={{ gap: 8 }} title={name}>
|
||||
<svg viewBox={viewBox} role="img" aria-label={name} className="shrink-0" style={{ height: 19, width: 19, fill: "currentColor" }}>
|
||||
<path d={path} />
|
||||
</svg>
|
||||
<span className="text-[15px] font-bold">{name}</span>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
function ComingBadge() {
|
||||
return (
|
||||
<span
|
||||
className="inline-flex items-center gap-1.5 text-[12px] font-bold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{ background: "var(--accent-yellow)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
<Sparkle size={13} weight="fill" /> IN KÜRZE
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
// ── data ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
const nutzen = [
|
||||
{
|
||||
icon: MagnifyingGlass,
|
||||
q: "„Zeig mir alle offenen Angebote über 10.000 €.“",
|
||||
a: "Deine KI durchsucht deine Projekte und Pipelines in Sekunden.",
|
||||
},
|
||||
{
|
||||
icon: UserPlus,
|
||||
q: "„Leg einen Lead für Familie Meyer an und häng die Notiz vom Telefonat dran.“",
|
||||
a: "Deine KI erstellt Lead und Aktivität, mit deiner Bestätigung.",
|
||||
},
|
||||
{
|
||||
icon: FlowArrow,
|
||||
q: "„Verschieb das Projekt Bad-Sanierung in die Phase ‚Angebot raus'.“",
|
||||
a: "Deine KI bewegt das Projekt in der Pipeline, sauber protokolliert.",
|
||||
},
|
||||
{
|
||||
icon: CalendarCheck,
|
||||
q: "„Welche Monteure haben Mittwoch freie Kapazitäten für die Bad-Sanierung Meyer?“",
|
||||
a: "Deine KI prüft Einsatzplanung und Auslastung und schlägt dir das passende Team vor.",
|
||||
},
|
||||
];
|
||||
|
||||
const demoResults = [
|
||||
{ nr: "#A-2043", name: "Bad-Sanierung Meyer", val: "14.200 €" },
|
||||
{ nr: "#A-2051", name: "Heizungstausch Krause", val: "21.800 €" },
|
||||
{ nr: "#A-2066", name: "Dachsanierung Vogt", val: "32.500 €" },
|
||||
];
|
||||
|
||||
const domains: { label: string; icon: PhosphorIcon }[] = [
|
||||
{ label: "Leads", icon: UserPlus },
|
||||
{ label: "Kontakte", icon: AddressBook },
|
||||
{ label: "Projekte", icon: FolderOpen },
|
||||
{ label: "Pipelines", icon: Funnel },
|
||||
{ label: "Aktivitäten", icon: ClockCounterClockwise },
|
||||
{ label: "Aufgaben", icon: CheckSquare },
|
||||
];
|
||||
|
||||
const lesen: [string, string][] = [
|
||||
["Leads", "suchen & Details abrufen"],
|
||||
["Kontakte", "Privatpersonen & Organisationen suchen & abrufen"],
|
||||
["Projekte", "nach Nummer, Titel, Pipeline, Phase, Verantwortlichem finden"],
|
||||
["Pipelines", "Pipelines und aktive Phasen auflisten"],
|
||||
["Aktivitäten", "Verlauf zu Kontakt, Projekt, Lead, Aufgabe"],
|
||||
["Aufgaben", "nach Status, Priorität, Zuständigem, Frist suchen"],
|
||||
];
|
||||
|
||||
const handeln: string[] = [
|
||||
"Lead anlegen",
|
||||
"Projekt in andere Phase verschieben",
|
||||
"Aktivität / Notiz hinzufügen",
|
||||
"Aufgabe anlegen (zugewiesen & verknüpft)",
|
||||
"Aufgaben-Status ändern",
|
||||
];
|
||||
|
||||
// Brand marks (single-path monochrome silhouettes, rendered in currentColor).
|
||||
// Sources: Simple Icons (Claude, OpenAI, Cursor) · VS Code silhouette from the
|
||||
// devicon mask path. Kept monochrome so the "works with" band stays uniform.
|
||||
const brands: { name: string; viewBox: string; path: string; soon?: boolean }[] = [
|
||||
{
|
||||
name: "Claude",
|
||||
viewBox: "0 0 24 24",
|
||||
path: "m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z",
|
||||
},
|
||||
{
|
||||
name: "ChatGPT",
|
||||
viewBox: "0 0 24 24",
|
||||
path: "M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z",
|
||||
},
|
||||
{
|
||||
name: "Cursor",
|
||||
soon: true,
|
||||
viewBox: "0 0 24 24",
|
||||
path: "M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23",
|
||||
},
|
||||
{
|
||||
name: "VS Code",
|
||||
soon: true,
|
||||
viewBox: "0 0 128 128",
|
||||
path: "M90.767 127.126a7.968 7.968 0 0 0 6.35-.244l26.353-12.681a8 8 0 0 0 4.53-7.209V21.009a8 8 0 0 0-4.53-7.21L97.117 1.12a7.97 7.97 0 0 0-9.093 1.548l-50.45 46.026L15.6 32.013a5.328 5.328 0 0 0-6.807.302l-7.048 6.411a5.335 5.335 0 0 0-.006 7.888L20.796 64 1.74 81.387a5.336 5.336 0 0 0 .006 7.887l7.048 6.411a5.327 5.327 0 0 0 6.807.303l21.974-16.68 50.45 46.025a7.96 7.96 0 0 0 2.743 1.793Zm5.252-92.183L57.74 64l38.28 29.058V34.943Z",
|
||||
},
|
||||
];
|
||||
|
||||
const pillars = [
|
||||
{ icon: ShieldCheck, t: "Mandantentrennung", d: "Deine KI sieht nur die Daten deines Betriebs. Erzwungen über das Token, plus Row-Level-Security in der Datenbank." },
|
||||
{ icon: SlidersHorizontal, t: "Du vergibst die Rechte", d: "Feingranulare Freigaben je Bereich, jederzeit widerrufbar." },
|
||||
{ icon: ClipboardText, t: "Vollständiges Audit", d: "Jeder KI-Zugriff protokolliert: wer, welcher Client, welches Tool, wann." },
|
||||
{ icon: MapPin, t: "Hosting in Deutschland", d: "DSGVO-konform, Serverstandort Deutschland." },
|
||||
];
|
||||
|
||||
const checklist = [
|
||||
{ icon: CheckCircle, t: "Bestätigung bei jeder Schreibaktion" },
|
||||
{ icon: Key, t: "OAuth 2.1 · kurzlebige Tokens · kein Dauer-Schlüssel" },
|
||||
{ icon: Gauge, t: "Rate-Limits & begrenzte Ausgabemengen" },
|
||||
{ icon: Lock, t: "Daten sind Daten: Schutz vor Prompt-Injection" },
|
||||
];
|
||||
|
||||
const tech: [string, string][] = [
|
||||
["Protokoll", "Model Context Protocol (MCP), offizielles @modelcontextprotocol/sdk"],
|
||||
["Transport", "Streamable HTTP (stateless)"],
|
||||
["Endpoint", "https://mcp.hivegrid.de · eigener Dienst, getrennt von App & Public-API"],
|
||||
["Auth", "OAuth 2.1 (Authorization Code + PKCE), RFC 9728 / RFC 8414, Resource-/Audience-Bindung, Consent, kurzlebige Access-Tokens + rotierende Refresh-Tokens + Widerruf, API-Key-Bearer als Fallback"],
|
||||
["Tools", "15 (10 Read / 5 Write), Zod-validiert, Cursor-Pagination"],
|
||||
["Scopes", "Presets mcp:read / mcp:write + granular je Domäne (lead, contact, project, pipeline, activity, task)"],
|
||||
["Isolation", "Tenant aus dem Token → withTenantScope() + Row-Level-Security"],
|
||||
["Governance", "withPermission()-Guards, Client-Confirmation für Writes, Audit-Event + Aktivitätslog pro Aktion, Rate-Limits, Output-Truncation, Prompt-Injection-Härtung"],
|
||||
];
|
||||
|
||||
// ── the demo window (prompt → tool-call → result) ────────────────────────────
|
||||
|
||||
function DemoWindow() {
|
||||
return (
|
||||
<div className="relative w-full mx-auto" style={{ maxWidth: 720 }}>
|
||||
<div style={{ background: "var(--surface)", clipPath: CHAMFER, filter: "drop-shadow(0 24px 48px rgba(15,23,42,0.16))" }}>
|
||||
{/* window chrome */}
|
||||
<div className="flex items-center gap-2.5 px-5 py-3.5" style={{ background: "var(--container-bg)" }}>
|
||||
<span className="flex gap-1.5">
|
||||
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#E5554E" }} />
|
||||
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#F5B93F" }} />
|
||||
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#57C05B" }} />
|
||||
</span>
|
||||
<span className="text-[12.5px] font-semibold" style={{ color: "var(--text-secondary)" }}>Claude · verbunden mit HiveGrid</span>
|
||||
<span className="ml-auto inline-flex items-center gap-1 text-[10.5px] font-bold tracking-wider" style={{ color: "var(--accent-yellow-dark)" }}>
|
||||
<Sparkle size={12} weight="fill" style={{ color: "var(--accent-yellow)" }} /> MCP
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* conversation */}
|
||||
<div className="flex flex-col gap-4 px-5 py-6" style={{ background: "var(--surface)" }}>
|
||||
{/* user prompt */}
|
||||
<div className="self-end max-w-[85%] text-[14px] leading-snug px-4 py-2.5"
|
||||
style={{ background: "var(--dark-bg)", color: "#fff", borderRadius: "14px 14px 4px 14px" }}>
|
||||
Zeig mir alle offenen Angebote über 10.000 €.
|
||||
</div>
|
||||
|
||||
{/* tool call */}
|
||||
<div className="self-start inline-flex flex-wrap items-center gap-2 text-[12.5px] px-3 py-2"
|
||||
style={{ background: "var(--container-bg)", borderLeft: "3px solid var(--accent-yellow)", fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", color: "var(--text-secondary)" }}>
|
||||
<span className="font-bold" style={{ color: "var(--text-primary)" }}>hg_project_search</span>
|
||||
<span className="inline-flex items-center px-1.5 py-0.5 text-[10px] font-bold rounded" style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>read</span>
|
||||
<span>wert > 10.000 · status: offen</span>
|
||||
</div>
|
||||
|
||||
{/* result rows */}
|
||||
<div className="self-start w-full flex flex-col gap-2">
|
||||
{demoResults.map((r) => (
|
||||
<div key={r.nr} className="flex items-center gap-3 px-3.5 py-2.5" style={{ background: "var(--surface)", border: "1px solid var(--border-light)", borderRadius: 8 }}>
|
||||
<span className="text-[12px] font-bold" style={{ color: "var(--accent-yellow-dark)", fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace" }}>{r.nr}</span>
|
||||
<span className="text-[13.5px] font-medium" style={{ color: "var(--text-primary)" }}>{r.name}</span>
|
||||
<span className="ml-auto text-[13.5px] font-bold" style={{ color: "var(--text-primary)" }}>{r.val}</span>
|
||||
</div>
|
||||
))}
|
||||
<span className="text-[12px] mt-1" style={{ color: "var(--text-tertiary)" }}>3 Treffer · nur Daten deines Betriebs</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// ── page ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
export default function KiAnbindungPage() {
|
||||
return (
|
||||
<>
|
||||
{/* ── 1 · Hero + Client-Band ──────────────────────────────────── */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingTop: "var(--hero-top-padding)", paddingBottom: 56 }}>
|
||||
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
{/* two-column: pitch text (left) + interactive connect card (right) */}
|
||||
<div className="flex flex-col items-center lg:flex-row lg:items-center gap-12 lg:gap-16">
|
||||
<div className="flex flex-col items-center lg:items-start lg:flex-1 gap-6 text-center lg:text-left" style={{ maxWidth: 620 }}>
|
||||
<ComingBadge />
|
||||
<h1 className="text-[32px] sm:text-[40px] md:text-[54px] font-bold leading-[1.1]" style={{ color: "var(--text-primary)" }}>
|
||||
HiveGrid spricht jetzt mit deiner KI.
|
||||
</h1>
|
||||
<p className="text-[17px] md:text-[19px] leading-relaxed" style={{ color: "var(--text-secondary)", maxWidth: 560 }}>
|
||||
Verbinde Claude oder ChatGPT direkt mit HiveGrid. Deine KI liest Aufträge,
|
||||
Kontakte und Projekte und erledigt Aufgaben für dich: sicher, DSGVO-konform und nur
|
||||
mit den Rechten, die du vergibst.
|
||||
</p>
|
||||
<div className="flex flex-wrap items-stretch justify-center lg:justify-start gap-3 pt-2">
|
||||
<DemoButton href="/waitlist">Früh dabei sein</DemoButton>
|
||||
</div>
|
||||
</div>
|
||||
<div className="w-full lg:w-auto shrink-0 flex justify-center lg:justify-end">
|
||||
<HeroConnect />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* slim client band (full width, below the split) */}
|
||||
<div className="flex flex-col items-center gap-4 pt-8 mt-14 w-full" style={{ borderTop: "1px solid var(--border-light)" }}>
|
||||
<span className="text-[12px] font-semibold tracking-widest" style={{ color: "var(--text-tertiary)" }}>FUNKTIONIERT MIT</span>
|
||||
<div className="flex flex-wrap items-center justify-center" style={{ color: "var(--text-secondary)", columnGap: 28, rowGap: 12 }}>
|
||||
{brands.filter((b) => !b.soon).map((b) => (
|
||||
<BrandMark key={b.name} {...b} />
|
||||
))}
|
||||
</div>
|
||||
{/* coming soon: dimmed logos under a small "BALD" banner */}
|
||||
<div className="flex flex-wrap items-center justify-center gap-x-4 gap-y-2">
|
||||
<span className="inline-flex items-center text-[10px] font-bold tracking-widest chamfer-badge px-2 py-0.5" style={{ background: "var(--bg-muted)", color: "var(--text-tertiary)" }}>BALD</span>
|
||||
<div className="flex flex-wrap items-center justify-center" style={{ color: "var(--text-muted)", columnGap: 18, rowGap: 8, opacity: 0.7 }}>
|
||||
{brands.filter((b) => b.soon).map((b) => (
|
||||
<BrandMark key={b.name} {...b} />
|
||||
))}
|
||||
</div>
|
||||
<span className="text-[13px]" style={{ color: "var(--text-tertiary)" }}>+ weitere MCP-fähige Clients</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 2 · Prinzip + Brücke-Diagramm ───────────────────────────── */}
|
||||
<section className="section-full" style={{ background: "var(--bg-primary)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 760 }}>
|
||||
<Kicker>VERKNÜPFEN STATT ERSETZEN</Kicker>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Du bringst die KI mit. HiveGrid bringt die Tools.
|
||||
</h2>
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
Die KI läuft weiterhin bei dir oder deinem Anbieter. HiveGrid liefert nur die Daten
|
||||
und führt die Aktionen aus, die du freigibst. Kein zusätzliches KI-Abo, kein
|
||||
Daten-Umzug.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* the bridge — animated request lifecycle */}
|
||||
<RequestFlow />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 3 · Demo (money shot) + Beispiel-Karten ─────────────────── */}
|
||||
<section id="demo" className="section-full" style={{ background: "var(--surface)", paddingBlock: 80, scrollMarginTop: 96 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 720 }}>
|
||||
<Kicker>IM ALLTAG</Kicker>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Frag deine KI. Sie erledigt es in HiveGrid.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<DemoWindow />
|
||||
|
||||
{/* more examples */}
|
||||
<div className="flex flex-col items-center gap-6 w-full">
|
||||
<span className="text-[14px] font-medium" style={{ color: "var(--text-tertiary)" }}>Ein paar typische Anfragen von vielen:</span>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-6 w-full">
|
||||
{nutzen.map(({ icon, q, a }) => (
|
||||
<div key={q} className="relative overflow-hidden" style={{ background: "var(--container-bg)", padding: 28, clipPath: CHAMFER }}>
|
||||
<HoneycombCorner />
|
||||
<div className="relative z-10 flex flex-col gap-3">
|
||||
<HexIcon icon={icon} />
|
||||
<p className="text-[16px] font-semibold leading-snug" style={{ color: "var(--text-primary)" }}>{q}</p>
|
||||
<p className="text-[14px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{a}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── Was deine KI kann ───────────────────────────────────────── */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 700 }}>
|
||||
<Kicker>DIE WERKZEUGE</Kicker>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
15 Werkzeuge über sechs Bereiche.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
{/* domain honeycomb strip */}
|
||||
<div className="flex flex-wrap items-center justify-center gap-3 md:gap-4">
|
||||
{domains.map(({ label, icon: Icon }) => (
|
||||
<div key={label} className="flex flex-col items-center gap-2" style={{ width: 96 }}>
|
||||
<span className="relative inline-flex items-center justify-center" style={{ width: 52, height: 52 }} aria-hidden>
|
||||
<svg viewBox="0 0 56 56" className="absolute inset-0 w-full h-full" fill="none">
|
||||
<path d="M3 28 L15.5 6.4 L40.5 6.4 L53 28 L40.5 49.6 L15.5 49.6 Z" fill="var(--accent-yellow-light)" stroke="var(--text-primary)" strokeWidth="2" strokeLinejoin="round" />
|
||||
</svg>
|
||||
<Icon size={21} weight="duotone" className="relative" style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
</span>
|
||||
<span className="text-[12.5px] font-semibold text-center" style={{ color: "var(--text-secondary)" }}>{label}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 w-full">
|
||||
{/* Lesen */}
|
||||
<div className="relative overflow-hidden flex flex-col gap-5" style={{ background: "var(--container-bg)", padding: 32, clipPath: CHAMFER }}>
|
||||
<div className="flex items-center gap-2.5">
|
||||
<MagnifyingGlass size={20} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
<h3 className="text-[18px] font-bold" style={{ color: "var(--text-primary)" }}>Lesen</h3>
|
||||
<span className="text-[13px] font-semibold" style={{ color: "var(--text-tertiary)" }}>· 10 Tools</span>
|
||||
</div>
|
||||
<ul className="flex flex-col gap-3">
|
||||
{lesen.map(([t, d]) => (
|
||||
<li key={t} className="flex items-start gap-2.5">
|
||||
<CheckCircle size={18} weight="fill" style={{ color: "var(--accent-yellow)", marginTop: 2, flexShrink: 0 }} />
|
||||
<span className="text-[14.5px] leading-snug" style={{ color: "var(--text-secondary)" }}>
|
||||
<b style={{ color: "var(--text-primary)" }}>{t}</b>: {d}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
{/* Handeln */}
|
||||
<div className="relative overflow-hidden flex flex-col gap-5" style={{ background: "var(--dark-bg)", padding: 32, clipPath: CHAMFER }}>
|
||||
<div className="flex items-center gap-2.5">
|
||||
<FlowArrow size={20} weight="duotone" style={{ color: "var(--accent-yellow)" }} />
|
||||
<h3 className="text-[18px] font-bold text-white">Handeln</h3>
|
||||
<span className="text-[13px] font-semibold" style={{ color: "var(--text-on-dark)" }}>· 5 Tools</span>
|
||||
</div>
|
||||
<ul className="flex flex-col gap-3">
|
||||
{handeln.map((t) => (
|
||||
<li key={t} className="flex items-start gap-2.5">
|
||||
<ShieldCheck size={18} weight="fill" style={{ color: "var(--accent-yellow)", marginTop: 2, flexShrink: 0 }} />
|
||||
<span className="text-[14.5px] leading-snug" style={{ color: "#E7ECF3" }}>{t}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<p className="text-[13px] leading-relaxed mt-auto pt-2" style={{ color: "var(--text-on-dark)" }}>
|
||||
Jede schreibende Aktion verlangt eine Bestätigung und landet im Audit-Protokoll:
|
||||
nachvollziehbar, wer welche KI wann was getan hat.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 7 · Sicherheit & DSGVO — 4 Säulen + Checkliste ──────────── */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-4 text-center" style={{ maxWidth: 720 }}>
|
||||
<Kicker>SICHERHEIT & DSGVO</Kicker>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Sicherheit ist kein Zusatz, sondern die Grundlage.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
{/* 4 pillars */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 w-full">
|
||||
{pillars.map(({ icon: Icon, t, d }) => (
|
||||
<div key={t} className="flex flex-col gap-3" style={{ background: "var(--container-bg)", padding: 24, clipPath: CHAMFER }}>
|
||||
<Icon size={28} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
<h3 className="text-[15.5px] font-bold leading-snug" style={{ color: "var(--text-primary)" }}>{t}</h3>
|
||||
<p className="text-[13px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{d}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* condensed checklist */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-3 w-full" style={{ maxWidth: 820 }}>
|
||||
{checklist.map(({ icon: Icon, t }) => (
|
||||
<div key={t} className="flex items-center gap-2.5">
|
||||
<Icon size={19} weight="fill" style={{ color: "var(--accent-yellow)", flexShrink: 0 }} />
|
||||
<span className="text-[14.5px] font-medium" style={{ color: "var(--text-primary)" }}>{t}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 8 · Technischer Steckbrief ──────────────────────────────── */}
|
||||
<section className="section-full" style={{ background: "var(--bg-primary)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col gap-8 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-3 text-center">
|
||||
<Kicker>FÜR TECHNIK-ENTSCHEIDER</Kicker>
|
||||
<h2 className="text-[28px] md:text-[36px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Technischer Steckbrief.
|
||||
</h2>
|
||||
</div>
|
||||
<div style={{ background: "var(--bg-dark)", clipPath: CHAMFER, filter: "drop-shadow(0 20px 40px rgba(15,26,46,0.4))" }}>
|
||||
{/* terminal title bar */}
|
||||
<div className="flex items-center gap-2.5 px-5 py-3" style={{ background: "var(--bg-dark-card)" }}>
|
||||
<span className="flex gap-1.5">
|
||||
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#E5554E" }} />
|
||||
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#F5B93F" }} />
|
||||
<i className="block w-2.5 h-2.5 rounded-full" style={{ background: "#57C05B" }} />
|
||||
</span>
|
||||
<span className="text-[12.5px] font-medium" style={{ color: "var(--text-on-dark)", fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace" }}>
|
||||
hivegrid-mcp · steckbrief
|
||||
</span>
|
||||
</div>
|
||||
{/* code body */}
|
||||
<div className="px-5 sm:px-7 py-6 overflow-x-auto" style={{ fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace", fontSize: 13.5, lineHeight: 1.7 }}>
|
||||
<p className="mb-3" style={{ color: "#5E7290" }}># technischer Steckbrief · Stand: Pilot (Staging)</p>
|
||||
<dl className="flex flex-col">
|
||||
{tech.map(([k, v]) => (
|
||||
<div key={k} className="grid grid-cols-1 sm:grid-cols-[150px_1fr] gap-x-4 py-2.5" style={{ borderTop: "1px solid rgba(255,255,255,0.06)" }}>
|
||||
<dt style={{ color: "var(--accent-yellow)" }}>{k.toLowerCase()}</dt>
|
||||
<dd style={{ color: "#C8D0DC" }}>
|
||||
<span style={{ color: "#4E617D" }}>: </span>{v}
|
||||
</dd>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 9 · Abschluss-CTA ───────────────────────────────────────── */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="relative overflow-hidden flex flex-col items-center gap-6 text-center" style={{ background: "var(--dark-bg)", padding: "clamp(40px, 6vw, 64px)", clipPath: CHAMFER }}>
|
||||
<ComingBadge />
|
||||
<h2 className="text-[28px] md:text-[40px] font-bold leading-[1.15] text-white max-w-xl">
|
||||
Sei früh dabei.
|
||||
</h2>
|
||||
<p className="text-[17px] leading-relaxed max-w-lg" style={{ color: "var(--text-on-dark)" }}>
|
||||
Die KI-Brücke ist aktuell im Pilot. Sag uns Bescheid, wenn dein Betrieb sie als Erster
|
||||
nutzen soll.
|
||||
</p>
|
||||
<div className="flex flex-wrap justify-center gap-3">
|
||||
<DemoButton href="/waitlist">Early Access anfragen</DemoButton>
|
||||
<Link
|
||||
href="/waitlist"
|
||||
className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[16px] font-semibold hover:bg-white/10 transition-colors"
|
||||
style={{ color: "#FFFFFF", padding: "14px 28px", border: "1px solid #FFFFFF" }}
|
||||
>
|
||||
Kontakt
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,319 @@
|
||||
"use client";
|
||||
import { useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { Mail, MapPin, Clock } from "lucide-react";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
|
||||
/* ─── shared input styles ─── */
|
||||
const inputClass =
|
||||
"w-full rounded-lg px-3 h-11 text-[14px] outline-none focus:ring-2 focus:ring-[var(--accent-yellow)]";
|
||||
const inputStyle = {
|
||||
border: "1px solid var(--border-neutral)",
|
||||
background: "var(--surface)",
|
||||
color: "var(--text-primary)",
|
||||
};
|
||||
|
||||
export default function KontaktForm() {
|
||||
const [submitted, setSubmitted] = useState(false);
|
||||
const [form, setForm] = useState({
|
||||
vorname: "",
|
||||
nachname: "",
|
||||
email: "",
|
||||
unternehmen: "",
|
||||
betreff: "Allgemeine Anfrage",
|
||||
nachricht: "",
|
||||
dsgvo: false,
|
||||
});
|
||||
|
||||
const update = (k: string, v: string | boolean) =>
|
||||
setForm((f) => ({ ...f, [k]: v }));
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!form.email || !form.vorname || !form.dsgvo) return;
|
||||
setSubmitted(true);
|
||||
};
|
||||
|
||||
/* ─── Success state ─── */
|
||||
if (submitted) {
|
||||
return (
|
||||
<section
|
||||
className="section-full"
|
||||
style={{
|
||||
paddingTop: "var(--hero-top-padding)",
|
||||
paddingBottom: 80,
|
||||
minHeight: "70vh",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="flex flex-col items-center gap-6 mx-auto text-center"
|
||||
style={{ maxWidth: 560 }}
|
||||
>
|
||||
<div
|
||||
className="flex items-center justify-center rounded-full"
|
||||
style={{
|
||||
width: 80,
|
||||
height: 80,
|
||||
background: "var(--accent-yellow-light)",
|
||||
}}
|
||||
>
|
||||
<Mail size={36} style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
</div>
|
||||
<h1
|
||||
className="text-[32px] md:text-[42px] font-bold"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Vielen Dank!
|
||||
</h1>
|
||||
<p
|
||||
className="text-[16px] md:text-[18px] leading-relaxed"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
Wir haben deine Nachricht erhalten und melden uns innerhalb von
|
||||
24 Stunden bei dir.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
/* ─── Form ─── */
|
||||
return (
|
||||
<>
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ paddingTop: "var(--hero-top-padding)", paddingBottom: 0 }}
|
||||
>
|
||||
<div className="flex flex-col items-center gap-5 mx-auto text-center">
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{
|
||||
background: "var(--accent-yellow-light)",
|
||||
color: "var(--accent-yellow-dark)",
|
||||
}}
|
||||
>
|
||||
KONTAKT
|
||||
</span>
|
||||
<h1
|
||||
className="text-[32px] md:text-[56px] font-bold leading-[1.1]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Wir sind für dich da.
|
||||
</h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="section-full" style={{ paddingBlock: "48px 80px" }}>
|
||||
<div
|
||||
className="mx-auto overflow-hidden"
|
||||
style={{ maxWidth: "var(--content-width)" }}
|
||||
>
|
||||
<p
|
||||
className="text-[15px] md:text-[16px] leading-relaxed mb-8"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
Egal ob konkrete Frage oder unverbindliches Erstgespräch: Schreib
|
||||
uns, und wir melden uns so schnell wie möglich.
|
||||
</p>
|
||||
|
||||
<div className="flex flex-col lg:flex-row gap-10 lg:gap-16">
|
||||
{/* ── Form ── */}
|
||||
<form
|
||||
onSubmit={handleSubmit}
|
||||
className="flex flex-col gap-5 flex-1 min-w-0"
|
||||
>
|
||||
{/* Vorname / Nachname */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span
|
||||
className="text-[13px] font-medium"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Vorname *
|
||||
</span>
|
||||
<input
|
||||
required
|
||||
value={form.vorname}
|
||||
onChange={(e) => update("vorname", e.target.value)}
|
||||
className={inputClass}
|
||||
style={inputStyle}
|
||||
/>
|
||||
</label>
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span
|
||||
className="text-[13px] font-medium"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Nachname
|
||||
</span>
|
||||
<input
|
||||
value={form.nachname}
|
||||
onChange={(e) => update("nachname", e.target.value)}
|
||||
className={inputClass}
|
||||
style={inputStyle}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{/* E-Mail */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span
|
||||
className="text-[13px] font-medium"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
E-Mail *
|
||||
</span>
|
||||
<input
|
||||
required
|
||||
type="email"
|
||||
value={form.email}
|
||||
onChange={(e) => update("email", e.target.value)}
|
||||
className={inputClass}
|
||||
style={inputStyle}
|
||||
/>
|
||||
</label>
|
||||
|
||||
{/* Unternehmen */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span
|
||||
className="text-[13px] font-medium"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Unternehmen
|
||||
</span>
|
||||
<input
|
||||
value={form.unternehmen}
|
||||
onChange={(e) => update("unternehmen", e.target.value)}
|
||||
className={inputClass}
|
||||
style={inputStyle}
|
||||
/>
|
||||
</label>
|
||||
|
||||
{/* Betreff */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span
|
||||
className="text-[13px] font-medium"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Betreff
|
||||
</span>
|
||||
<select
|
||||
value={form.betreff}
|
||||
onChange={(e) => update("betreff", e.target.value)}
|
||||
className={inputClass}
|
||||
style={inputStyle}
|
||||
>
|
||||
<option>Allgemeine Anfrage</option>
|
||||
<option>Demo buchen</option>
|
||||
<option>Technischer Support</option>
|
||||
<option>Partnerschaft</option>
|
||||
</select>
|
||||
</label>
|
||||
|
||||
{/* Nachricht */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span
|
||||
className="text-[13px] font-medium"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Nachricht
|
||||
</span>
|
||||
<textarea
|
||||
rows={5}
|
||||
value={form.nachricht}
|
||||
onChange={(e) => update("nachricht", e.target.value)}
|
||||
className="w-full rounded-lg px-3 py-2.5 text-[14px] outline-none resize-y focus:ring-2 focus:ring-[var(--accent-yellow)]"
|
||||
style={inputStyle}
|
||||
/>
|
||||
</label>
|
||||
|
||||
{/* DSGVO */}
|
||||
<label className="flex items-start gap-2.5 cursor-pointer">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={form.dsgvo}
|
||||
onChange={(e) => update("dsgvo", e.target.checked)}
|
||||
className="mt-1 shrink-0 accent-[var(--accent-yellow)]"
|
||||
/>
|
||||
<span
|
||||
className="text-[13px] leading-relaxed"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
Ich stimme der Verarbeitung meiner Daten gemäß der{" "}
|
||||
<Link
|
||||
href="/datenschutz"
|
||||
className="underline underline-offset-2 hover:no-underline"
|
||||
style={{ color: "var(--accent-yellow)" }}
|
||||
>
|
||||
Datenschutzerklärung
|
||||
</Link>{" "}
|
||||
zu. *
|
||||
</span>
|
||||
</label>
|
||||
|
||||
{/* Submit — wave button, right-aligned like the footer lead form */}
|
||||
<DemoButton type="submit" className="self-end">
|
||||
Nachricht senden
|
||||
</DemoButton>
|
||||
</form>
|
||||
|
||||
{/* ── Sidebar ── */}
|
||||
<div className="flex flex-col gap-6 w-full lg:w-[340px] lg:shrink-0">
|
||||
<div
|
||||
className="flex flex-col gap-5 rounded-xl"
|
||||
style={{ background: "var(--container-bg)", padding: "24px 28px" }}
|
||||
>
|
||||
<h3
|
||||
className="text-[16px] font-semibold"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Kontaktinformationen
|
||||
</h3>
|
||||
{[
|
||||
{ icon: Mail, text: "info@hivegrid.de" },
|
||||
{ icon: MapPin, text: "Bruchsal, Deutschland" },
|
||||
{ icon: Clock, text: "Mo–Fr, 8–18 Uhr" },
|
||||
].map(({ icon: Icon, text }) => (
|
||||
<div key={text} className="flex items-center gap-3">
|
||||
<Icon
|
||||
size={18}
|
||||
className="shrink-0"
|
||||
style={{ color: "var(--accent-yellow)" }}
|
||||
/>
|
||||
<span
|
||||
className="text-[14px]"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
{text}
|
||||
</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div
|
||||
className="rounded-xl"
|
||||
style={{
|
||||
background: "var(--accent-yellow-light)",
|
||||
padding: "20px 24px",
|
||||
}}
|
||||
>
|
||||
<p
|
||||
className="text-[14px] font-semibold mb-2"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Unser Versprechen
|
||||
</p>
|
||||
<p
|
||||
className="text-[13px] leading-relaxed"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
Wir antworten innerhalb von 24 Stunden an Werktagen.
|
||||
Persönlich, nicht automatisiert.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
// Contact and demo were unified into the waitlist. Keep the old URL working.
|
||||
export default function KontaktPage() {
|
||||
redirect("/waitlist");
|
||||
}
|
||||
@@ -0,0 +1,236 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
import { MagnifyingGlass, ChatCircle, Copy, ArrowDown, ArrowsClockwise, FileText, Eye, Flame, Drop, Lightning, Wind, Leaf, Buildings } from "@phosphor-icons/react/ssr";
|
||||
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Für wen ist HiveGrid?",
|
||||
description: "Ganz gleich, was du baust oder installierst. Wenn deine Software nicht mehr reicht, ist HiveGrid für dich gemacht.",
|
||||
alternates: { canonical: "/kunden" },
|
||||
};
|
||||
|
||||
const problems = [
|
||||
{ icon: MagnifyingGlass, title: "„Ich schau nach und ruf zurück“.", desc: "Den Satz sagst du zehnmal am Tag. Weil die Antwort nie da ist, wo du gerade bist." },
|
||||
{ icon: ChatCircle, title: "„Das hatten wir anders besprochen“.", desc: "Der Kunde ist sich sicher, der Handwerker ist sich sicher, das Büro ist sich sicher und du auch. Beweisen kann es keiner von euch." },
|
||||
{ icon: Copy, title: "Doppelt getippt, dreifach geärgert.", desc: "Dieselbe Info wandert per Hand von einem Programm ins nächste. Jeden Tag aufs Neue." },
|
||||
];
|
||||
|
||||
const solutions = [
|
||||
{ icon: ArrowsClockwise, title: "Einmal eingeben, überall da.", desc: "Eine Eingabe, und alles ist auf einem Stand. Kein doppeltes Tippen mehr." },
|
||||
{ icon: FileText, title: "Endlich schwarz auf weiß.", desc: "Jede Absprache ist festgehalten und auffindbar. „Das hatten wir anders besprochen“ hat sich erledigt." },
|
||||
{ icon: Eye, title: "Alles auf einen Blick.", desc: "Wer frei ist, was fällig ist und wie dein Projekt steht, ist sofort da, wenn du es brauchst." },
|
||||
];
|
||||
|
||||
const branchen = [
|
||||
{ icon: Flame, title: "Heizungsbauer", desc: "Wiederkehrende Wartungen planen sich fast von allein, statt jedes Jahr von Hand." },
|
||||
{ icon: Drop, title: "Sanitärbetriebe", desc: "Notdienst heute, Renovierung nächste Woche, Wartung im Herbst. Du behältst den Überblick." },
|
||||
{ icon: Lightning, title: "Elektrotechniker", desc: "Das Prüfprotokoll von der Baustelle landet direkt am Auftrag, nicht in der Mappe." },
|
||||
{ icon: Wind, title: "Klima & Lüftung", desc: "Komplexe Anlagen, viele Beteiligte. HiveGrid sorgt dafür, dass nichts durchrutscht." },
|
||||
{ icon: Leaf, title: "Energieberater", desc: "Jeder Förderantrag mit allen Unterlagen am richtigen Projekt, sofort griffbereit." },
|
||||
{ icon: Buildings, title: "Generalunternehmer", desc: "Viele Gewerke, ein Projekt. HiveGrid hält alle Beteiligten auf demselben Stand." },
|
||||
];
|
||||
|
||||
// Icon in a honeycomb cell — same brand motif as the product feature cards.
|
||||
function HexIcon({ icon: Icon }: { icon: PhosphorIcon }) {
|
||||
return (
|
||||
<span className="relative inline-flex items-center justify-center shrink-0" style={{ width: 54, height: 54 }} aria-hidden>
|
||||
<svg viewBox="0 0 56 56" className="absolute inset-0 w-full h-full" fill="none">
|
||||
<path
|
||||
d="M3 28 L15.5 6.4 L40.5 6.4 L53 28 L40.5 49.6 L15.5 49.6 Z"
|
||||
fill="var(--accent-yellow-light)"
|
||||
stroke="var(--text-primary)"
|
||||
strokeWidth="2"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
<Icon size={23} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} className="relative" />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
// Subtle faded honeycomb pattern in the top-right corner of a card.
|
||||
function HoneycombCorner() {
|
||||
return (
|
||||
<span
|
||||
aria-hidden
|
||||
className="absolute top-0 right-0 pointer-events-none"
|
||||
style={{
|
||||
width: "58%",
|
||||
height: "66%",
|
||||
backgroundImage: "url(/cta-honeycomb.svg)",
|
||||
backgroundSize: "230px",
|
||||
backgroundPosition: "top right",
|
||||
backgroundRepeat: "no-repeat",
|
||||
opacity: 0.5,
|
||||
WebkitMaskImage: "radial-gradient(125% 125% at 100% 0%, #000 0%, transparent 62%)",
|
||||
maskImage: "radial-gradient(125% 125% at 100% 0%, #000 0%, transparent 62%)",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default function KundenPage() {
|
||||
return (
|
||||
<>
|
||||
{/* Hero — "Kommt dir das bekannt vor?" */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingTop: "var(--hero-top-padding)", paddingBottom: 80 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<h1 className="text-[32px] md:text-[42px] font-bold leading-[1.15] text-center" style={{ color: "var(--text-primary)" }}>
|
||||
Kommt dir das bekannt vor?
|
||||
</h1>
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 w-full">
|
||||
{[
|
||||
{
|
||||
title: "Alles auf Zetteln",
|
||||
img: "/images/illustrations/illustration-1-dutzende-tools@4x.webp",
|
||||
alt: "Illustration: Dutzende verschiedener Tools und Zettel auf einem überfüllten Schreibtisch im Handwerksbetrieb",
|
||||
},
|
||||
{
|
||||
title: "Alles im Kopf",
|
||||
img: "/images/illustrations/illustration-2-alles-im-kopf@4x.webp",
|
||||
alt: "Illustration: Handwerker telefoniert, weil Informationen nur im Kopf statt im System sind",
|
||||
},
|
||||
{
|
||||
title: "Alles doppelt",
|
||||
img: "/images/illustrations/illustration-3-kein-wachstum@4x.webp",
|
||||
alt: "Illustration: Gleiche Daten werden mehrfach in unverbundene Systeme eingetragen – kein Wachstum möglich",
|
||||
},
|
||||
].map((item) => (
|
||||
<div key={item.title} className="flex flex-col gap-6" style={{ background: "#F0F1F5", clipPath: CHAMFER }}>
|
||||
<div className="flex items-center justify-center overflow-hidden" style={{ height: 400, background: "#F0F1F5", clipPath: CHAMFER }}>
|
||||
<Image
|
||||
src={item.img}
|
||||
alt={item.alt}
|
||||
width={1707}
|
||||
height={1440}
|
||||
sizes="(max-width: 768px) 100vw, 33vw"
|
||||
className="w-full h-full object-contain"
|
||||
style={{ padding: 8 }}
|
||||
/>
|
||||
</div>
|
||||
<div className="px-6 pb-6">
|
||||
<h3 className="text-[18px] font-semibold" style={{ color: "var(--text-primary)" }}>{item.title}</h3>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Problem Story */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-4 text-center">
|
||||
<span className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>
|
||||
DAS PROBLEM
|
||||
</span>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15] max-w-2xl" style={{ color: "var(--text-primary)" }}>
|
||||
Aufträge, Absprachen, Termine: Das Wichtigste in deinem Betrieb steht nicht in deiner Software, sondern auf Zetteln, in Excel, im Kopf.
|
||||
</h2>
|
||||
<p className="text-[16px] leading-relaxed max-w-xl" style={{ color: "var(--text-secondary)" }}>
|
||||
Das ist nicht dein Fehler. Deine Software macht genau das, wofür sie gekauft wurde: Rechnungen und Aufträge. Nur ist dein Betrieb längst größer als das, wofür sie gedacht war. Den Rest stemmst du selbst.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 w-full">
|
||||
{problems.map(({ icon: Icon, title, desc }) => (
|
||||
<div key={title} className="relative overflow-hidden" style={{ background: "var(--container-bg)", padding: 28, clipPath: CHAMFER }}>
|
||||
<HoneycombCorner />
|
||||
<div className="relative z-10 flex flex-col gap-3">
|
||||
<HexIcon icon={Icon} />
|
||||
<h3 className="text-[16px] font-semibold" style={{ color: "var(--text-primary)" }}>{title}</h3>
|
||||
<p className="text-[14px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{desc}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Arrow divider */}
|
||||
<ArrowDown size={32} style={{ color: "var(--accent-yellow)" }} />
|
||||
|
||||
{/* Solution block */}
|
||||
<div className="flex flex-col items-center gap-8 text-center">
|
||||
<span className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>
|
||||
DIE LÖSUNG
|
||||
</span>
|
||||
<h2 className="text-[28px] md:text-[36px] font-bold leading-[1.15] max-w-xl" style={{ color: "var(--text-primary)" }}>
|
||||
Behalt, was funktioniert. Füg hinzu, was fehlt. Und bring endlich alles zusammen.
|
||||
</h2>
|
||||
<p className="text-[16px] leading-relaxed max-w-xl" style={{ color: "var(--text-secondary)" }}>
|
||||
HiveGrid legt sich über deine bestehende Software, statt sie zu ersetzen. Es schließt die Lücken zwischen deinen Programmen und übernimmt die Handarbeit, die bisher an dir hängen blieb.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 w-full">
|
||||
{solutions.map(({ icon: Icon, title, desc }) => (
|
||||
<div key={title} className="relative overflow-hidden" style={{ background: "var(--container-bg)", padding: 28, clipPath: CHAMFER }}>
|
||||
<HoneycombCorner />
|
||||
<div className="relative z-10 flex flex-col gap-3">
|
||||
<HexIcon icon={Icon} />
|
||||
<h3 className="text-[16px] font-semibold" style={{ color: "var(--text-primary)" }}>{title}</h3>
|
||||
<p className="text-[14px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{desc}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Zielgruppen */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col items-center gap-12 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-4 text-center">
|
||||
<span className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>
|
||||
BRANCHEN
|
||||
</span>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Gebaut für Betriebe, die mehr wollen.
|
||||
</h2>
|
||||
<p className="text-[16px] max-w-lg" style={{ color: "var(--text-secondary)" }}>
|
||||
Ganz gleich, was du baust oder installierst. Wenn deine Software nicht mehr reicht, ist HiveGrid für dich gemacht.
|
||||
</p>
|
||||
</div>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 w-full">
|
||||
{branchen.map((b) => (
|
||||
<div key={b.title} className="relative overflow-hidden" style={{ background: "var(--container-bg)", padding: 32, clipPath: CHAMFER }}>
|
||||
<HoneycombCorner />
|
||||
<div className="relative z-10 flex flex-col gap-4">
|
||||
<HexIcon icon={b.icon} />
|
||||
<h3 className="text-[18px] font-semibold" style={{ color: "var(--text-primary)" }}>{b.title}</h3>
|
||||
<p className="text-[14px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{b.desc}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* CTA */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-6 text-center" style={{ background: "var(--container-bg)", padding: "clamp(40px, 6vw, 56px) clamp(24px, 6vw, 80px)", clipPath: CHAMFER }}>
|
||||
<h2 className="text-[28px] md:text-[36px] font-bold leading-[1.2]" style={{ color: "var(--text-primary)" }}>
|
||||
Bald siehst du deinen ganzen Betrieb auf einen Blick.
|
||||
</h2>
|
||||
<p className="text-[16px] max-w-lg" style={{ color: "var(--text-secondary)" }}>
|
||||
Trag dich unverbindlich in die Warteliste ein. Kein Vertrag, keine Kreditkarte. Wir melden uns, sobald HiveGrid für deinen Betrieb bereit ist.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-4 justify-center">
|
||||
<DemoButton />
|
||||
<Link href="/kontakt" className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[16px] font-semibold hover:bg-[var(--bg-muted)] transition-colors"
|
||||
style={{ color: "var(--text-primary)", padding: "14px 28px", border: "1px solid var(--border-neutral)" }}>
|
||||
Kontakt aufnehmen
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,158 @@
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Manrope } from "next/font/google";
|
||||
import { headers } from "next/headers";
|
||||
import "./globals.css";
|
||||
import Navbar from "@/components/layout/Navbar";
|
||||
import Footer from "@/components/layout/Footer";
|
||||
import AgentationClient from "@/components/dev/AgentationClient";
|
||||
|
||||
// Manrope instead of Inter: it is warmer and more geometric while remaining
|
||||
// highly legible across product screenshots and long-form marketing copy.
|
||||
const manrope = Manrope({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-sans",
|
||||
weight: ["400", "500", "600", "700", "800"],
|
||||
display: "swap",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
default: "HiveGrid: Alles was Ihr Betrieb braucht",
|
||||
template: "%s | HiveGrid",
|
||||
},
|
||||
description:
|
||||
"Von der Auftragsannahme bis zur Rechnungsstellung. HiveGrid vereint alle Werkzeuge für Ihren SHK-Betrieb.",
|
||||
metadataBase: new URL("https://hivegrid.de"),
|
||||
applicationName: "HiveGrid",
|
||||
authors: [{ name: "HiveGrid" }],
|
||||
creator: "HiveGrid",
|
||||
publisher: "HiveGrid",
|
||||
keywords: [
|
||||
"SHK Software",
|
||||
"Handwerker Software",
|
||||
"Handwerk Digitalisierung",
|
||||
"Workflow Engine",
|
||||
"CRM Handwerk",
|
||||
"Projektmanagement SHK",
|
||||
"Sanitär Heizung Klima Software",
|
||||
"DSGVO konform",
|
||||
"Made in Germany",
|
||||
],
|
||||
alternates: { canonical: "/" },
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
"max-snippet": -1,
|
||||
"max-image-preview": "large",
|
||||
"max-video-preview": -1,
|
||||
},
|
||||
},
|
||||
openGraph: {
|
||||
type: "website",
|
||||
locale: "de_DE",
|
||||
siteName: "HiveGrid",
|
||||
url: "https://hivegrid.de",
|
||||
title: "HiveGrid: Alles was Ihr Betrieb braucht",
|
||||
description:
|
||||
"Von der Auftragsannahme bis zur Rechnungsstellung. HiveGrid vereint alle Werkzeuge für Ihren SHK-Betrieb.",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "HiveGrid: Alles was Ihr Betrieb braucht",
|
||||
description:
|
||||
"Von der Auftragsannahme bis zur Rechnungsstellung. HiveGrid vereint alle Werkzeuge für Ihren SHK-Betrieb.",
|
||||
},
|
||||
formatDetection: { telephone: false, email: false, address: false },
|
||||
};
|
||||
|
||||
export const viewport: Viewport = {
|
||||
themeColor: "#F1B729",
|
||||
width: "device-width",
|
||||
initialScale: 1,
|
||||
};
|
||||
|
||||
const organizationJsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Organization",
|
||||
name: "HiveGrid",
|
||||
legalName: "R&D² UG (haftungsbeschränkt)",
|
||||
url: "https://hivegrid.de",
|
||||
logo: "https://hivegrid.de/logo.svg",
|
||||
description:
|
||||
"HiveGrid bündelt die wichtigsten Prozesse rund um Anfrage, Auftragsgewinnung und Projektabwicklung für SHK-Betriebe.",
|
||||
address: {
|
||||
"@type": "PostalAddress",
|
||||
streetAddress: "Orbinstraße 1",
|
||||
postalCode: "76646",
|
||||
addressLocality: "Bruchsal",
|
||||
addressCountry: "DE",
|
||||
},
|
||||
contactPoint: {
|
||||
"@type": "ContactPoint",
|
||||
contactType: "customer support",
|
||||
email: "info@hivegrid.de",
|
||||
availableLanguage: "de",
|
||||
areaServed: "DE",
|
||||
},
|
||||
};
|
||||
|
||||
const websiteJsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebSite",
|
||||
name: "HiveGrid",
|
||||
url: "https://hivegrid.de",
|
||||
inLanguage: "de-DE",
|
||||
publisher: { "@type": "Organization", name: "HiveGrid" },
|
||||
};
|
||||
|
||||
const productionLoginHref = "https://app.hivegrid.de/login";
|
||||
const stagingLoginHref = "https://staging-app.hivegrid.de/login";
|
||||
|
||||
function getHostname(headersList: Headers) {
|
||||
const forwardedHost = headersList.get("x-forwarded-host");
|
||||
const host = forwardedHost ?? headersList.get("host") ?? "";
|
||||
|
||||
return host.split(",")[0]?.trim().toLowerCase().split(":")[0] ?? "";
|
||||
}
|
||||
|
||||
function getLoginHref(hostname: string) {
|
||||
return hostname === "staging.hivegrid.de" ? stagingLoginHref : productionLoginHref;
|
||||
}
|
||||
|
||||
export default async function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
const loginHref = getLoginHref(getHostname(await headers()));
|
||||
|
||||
return (
|
||||
<html lang="de" className={manrope.variable}>
|
||||
<body>
|
||||
<a
|
||||
href="#main"
|
||||
className="sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:z-[100] focus:bg-[var(--accent-yellow)] focus:text-[var(--text-primary)] focus:px-4 focus:py-2 focus:rounded-md focus:font-semibold"
|
||||
>
|
||||
Zum Hauptinhalt springen
|
||||
</a>
|
||||
<Navbar loginHref={loginHref} />
|
||||
<main id="main" style={{ paddingTop: 80 }}>
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
<AgentationClient />
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(organizationJsonLd) }}
|
||||
/>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(websiteJsonLd) }}
|
||||
/>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
function redirectHome() {
|
||||
return new Response(null, {
|
||||
status: 308,
|
||||
headers: {
|
||||
Location: "/",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
export function GET() {
|
||||
return redirectHome();
|
||||
}
|
||||
|
||||
export function HEAD() {
|
||||
return redirectHome();
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function manifest(): MetadataRoute.Manifest {
|
||||
return {
|
||||
name: "HiveGrid – Software für SHK-Betriebe",
|
||||
short_name: "HiveGrid",
|
||||
description:
|
||||
"Von der Auftragsannahme bis zur Rechnungsstellung. HiveGrid vereint alle Werkzeuge für Ihren SHK-Betrieb.",
|
||||
start_url: "/",
|
||||
display: "standalone",
|
||||
background_color: "#FFFFFF",
|
||||
theme_color: "#F1B729",
|
||||
lang: "de",
|
||||
icons: [
|
||||
{ src: "/favicon.ico", sizes: "any", type: "image/x-icon" },
|
||||
{ src: "/apple-icon.png", sizes: "180x180", type: "image/png" },
|
||||
],
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Unsere Mission",
|
||||
description:
|
||||
"Wir glauben daran, dass jeder Handwerksbetrieb die Werkzeuge verdient, die ihn in die digitale Zukunft führen. Einfach, effizient und praxisnah.",
|
||||
alternates: { canonical: "/mission" },
|
||||
};
|
||||
|
||||
export default function MissionPage() {
|
||||
return (
|
||||
<>
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingTop: "var(--hero-top-padding)", paddingBottom: 80 }}>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 900 }}>
|
||||
<span className="text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1" style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>MISSION</span>
|
||||
<h1 className="text-[36px] md:text-[56px] font-bold leading-[1.1]" style={{ color: "var(--text-primary)" }}>Unsere Mission</h1>
|
||||
<p className="text-[18px] leading-relaxed max-w-2xl" style={{ color: "var(--text-secondary)" }}>Wir glauben daran, dass jeder Handwerksbetrieb die Werkzeuge verdient, die ihn in die digitale Zukunft führen. Einfach, effizient und praxisnah.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col gap-10 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<span className="self-start text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1" style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>UNSERE MISSION</span>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>Das Upgrade des Mittelstands.</h2>
|
||||
<p className="text-[18px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Der Mittelstand hat dutzende Tools. CRM hier, Buchhaltung da, Projektplanung irgendwo dazwischen. Aber nichts davon redet miteinander. Daten werden doppelt gepflegt, Informationen gehen verloren, und am Ende des Tages fehlt trotzdem der Überblick.</p>
|
||||
<div className="flex gap-6 rounded-2xl" style={{ padding: "32px 40px" }}>
|
||||
<div className="shrink-0 rounded-sm" style={{ width: 4, background: "var(--accent-yellow)" }} />
|
||||
<div className="flex flex-col gap-4">
|
||||
<p className="text-[22px] font-semibold leading-relaxed" style={{ color: "var(--text-primary)" }}>„Wir ändern das. HiveGrid verbindet deine bestehende Software an einem Ort und automatisiert die Abläufe dazwischen."</p>
|
||||
<p className="text-[14px] font-medium" style={{ color: "var(--text-tertiary)" }}>— Noah, CEO SHK Meisterbetrieb</p>
|
||||
</div>
|
||||
</div>
|
||||
{["80% der Handwerksbetriebe arbeiten noch mit Papier, Excel und Insellösungen. Ein Tool für Angebote, eins für Rechnungen, eins für die Einsatzplanung. Und dazwischen? Lücken und Doppelarbeit.",
|
||||
"Bis 2030 fehlen in Deutschland über 300.000 Fachkräfte im Handwerk. Der Druck wächst. Und ohne digitale Prozesse wird es für viele Betriebe eng.",
|
||||
"Genau hier setzt HiveGrid an. Wir verbinden Ihre bestehende Software an einem Ort und automatisieren die Abläufe dazwischen. Keine weitere Insellösung, sondern eine Plattform, die alles zusammenhält.",
|
||||
"Von der ersten Anfrage bis zur finalen Rechnung, von der Einsatzplanung bis zur Kundenkommunikation: HiveGrid ist auf die Abläufe im Handwerk zugeschnitten."
|
||||
].map((p, i) => <p key={i} className="text-[18px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>{p}</p>)}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-6 text-center" style={{ background: "var(--dark-bg)", padding: "56px 64px", clipPath: CHAMFER }}>
|
||||
<h2 className="text-[28px] md:text-[36px] font-bold leading-[1.2] text-white">Bereit, den nächsten Schritt zu gehen?</h2>
|
||||
<p className="text-[18px] max-w-lg" style={{ color: "var(--text-on-dark)" }}>Erleben Sie, wie HiveGrid Ihren Betrieb effizienter macht.</p>
|
||||
<div className="flex flex-wrap gap-4">
|
||||
<DemoButton />
|
||||
<Link href="/kontakt" className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[16px] font-semibold hover:bg-white/10 transition-colors" style={{ color: "#FFFFFF", padding: "14px 28px", border: "1px solid var(--border-neutral)" }}>Kontakt</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use client";
|
||||
import { useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { MailMinus } from "lucide-react";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
const reasons = ["Zu viele E-Mails", "Inhalte sind nicht relevant", "Ich nutze HiveGrid nicht mehr", "Sonstiges"];
|
||||
|
||||
export default function AbmeldenForm() {
|
||||
const [done, setDone] = useState(false);
|
||||
const [reason, setReason] = useState("");
|
||||
|
||||
if (done) return (
|
||||
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 480 }}>
|
||||
<div className="flex items-center justify-center rounded-full" style={{ width: 80, height: 80, background: "var(--container-bg)" }}>
|
||||
<MailMinus size={36} style={{ color: "var(--text-tertiary)" }} />
|
||||
</div>
|
||||
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Sie wurden abgemeldet.</h1>
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Sie erhalten ab sofort keine weiteren E-Mails von uns. Wir hoffen, Sie bald wiederzusehen.</p>
|
||||
<div className="flex flex-col items-center gap-4" style={{ background: "var(--container-bg)", padding: 32, width: "100%", clipPath: CHAMFER }}>
|
||||
<p className="text-[16px] font-semibold" style={{ color: "var(--text-primary)" }}>Abmeldung rückgängig machen?</p>
|
||||
<p className="text-[14px] text-center" style={{ color: "var(--text-secondary)" }}>Falls Sie es sich anders überlegen, können Sie sich jederzeit erneut anmelden.</p>
|
||||
<button onClick={() => setDone(false)} className="rounded-[var(--radius-button)] text-[14px] font-semibold hover:bg-[var(--accent-yellow-dark)] transition-colors" style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "12px 24px" }}>Erneut anmelden</button>
|
||||
</div>
|
||||
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold" style={{ padding: "14px 28px", border: "1px solid var(--border-neutral)", color: "var(--text-primary)" }}>Zur Startseite</Link>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
return (
|
||||
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 480 }}>
|
||||
<MailMinus size={48} style={{ color: "var(--text-tertiary)" }} />
|
||||
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Newsletter abmelden</h1>
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Schade, dass Sie gehen. Möchten Sie sich wirklich vom HiveGrid Newsletter abmelden?</p>
|
||||
<div className="flex flex-col gap-4 w-full text-left" style={{ background: "var(--container-bg)", padding: 32, clipPath: CHAMFER }}>
|
||||
<p className="text-[14px] font-medium" style={{ color: "var(--text-primary)" }}>Warum möchten Sie sich abmelden?</p>
|
||||
{reasons.map((r) => (
|
||||
<label key={r} className="flex items-center gap-2.5 cursor-pointer">
|
||||
<input type="radio" name="reason" checked={reason === r} onChange={() => setReason(r)} className="accent-[var(--accent-yellow)]" />
|
||||
<span className="text-[14px]" style={{ color: "var(--text-primary)" }}>{r}</span>
|
||||
</label>
|
||||
))}
|
||||
</div>
|
||||
<div className="flex gap-4">
|
||||
<button onClick={() => setDone(true)} className="rounded-[var(--radius-button)] text-[14px] font-semibold transition-colors" style={{ padding: "14px 28px", border: "1.5px solid #E5534B", color: "#E5534B" }}>Abmelden</button>
|
||||
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold hover:bg-[var(--accent-yellow-dark)] transition-colors" style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "14px 28px" }}>Doch lieber bleiben</Link>
|
||||
</div>
|
||||
<p className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>Die Abmeldung wird sofort wirksam.</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import type { Metadata } from "next";
|
||||
import AbmeldenForm from "./AbmeldenForm";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Newsletter abmelden",
|
||||
description: "Vom HiveGrid Newsletter abmelden.",
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
export default function NewsletterAbmeldenPage() {
|
||||
return <AbmeldenForm />;
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Abmeldung bestätigt",
|
||||
description: "Ihre Abmeldung vom HiveGrid Newsletter wurde bestätigt.",
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
export default function AbmeldungBestaetigtPage() {
|
||||
return (
|
||||
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 480 }}>
|
||||
<div className="flex items-center justify-center rounded-full" style={{ width: 80, height: 80, background: "var(--container-bg)" }}>
|
||||
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="var(--text-tertiary)" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8"/><polyline points="22 6 12 13 2 6"/><line x1="17" y1="17" x2="22" y2="22"/><line x1="22" y1="17" x2="17" y2="22"/></svg>
|
||||
</div>
|
||||
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Sie wurden abgemeldet.</h1>
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Sie erhalten ab sofort keine weiteren E-Mails von uns. Wir hoffen, Sie bald wiederzusehen.</p>
|
||||
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold" style={{ padding: "14px 28px", border: "1px solid var(--border-neutral)", color: "var(--text-primary)" }}>Zur Startseite</Link>
|
||||
<p className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>Diese Änderung kann einige Minuten dauern.</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import { MailCheck, Check } from "lucide-react";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Newsletter – Danke",
|
||||
description: "Vielen Dank für Ihre Anmeldung zum HiveGrid Newsletter.",
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
export default function NewsletterDankePage() {
|
||||
return (
|
||||
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 520 }}>
|
||||
<MailCheck size={48} style={{ color: "var(--accent-yellow)" }} />
|
||||
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Willkommen an Bord!</h1>
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Sie haben sich erfolgreich für den HiveGrid Newsletter angemeldet. Ab sofort erhalten Sie Updates zu neuen Features, Tipps und exklusive Einblicke.</p>
|
||||
<div className="flex flex-col gap-3 w-full text-left" style={{ background: "var(--container-bg)", padding: 24, clipPath: CHAMFER }}>
|
||||
<p className="text-[14px] font-semibold" style={{ color: "var(--text-primary)" }}>Was Sie erwartet:</p>
|
||||
{["Lösungs-Updates und neue Features", "Praxis-Tipps für Ihren Betrieb", "Exklusive Einladungen zu Webinaren"].map((t) => (
|
||||
<div key={t} className="flex items-center gap-2"><Check size={16} style={{ color: "var(--accent-yellow)" }} /><span className="text-[14px]" style={{ color: "var(--text-secondary)" }}>{t}</span></div>
|
||||
))}
|
||||
</div>
|
||||
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold hover:bg-[var(--accent-yellow-dark)] transition-colors" style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "14px 28px" }}>Zur Startseite</Link>
|
||||
<p className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>Sie können sich jederzeit abmelden.</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Seite nicht gefunden",
|
||||
description: "Die aufgerufene Seite existiert nicht oder wurde verschoben.",
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<div
|
||||
className="flex flex-col items-center justify-center text-center section-full"
|
||||
style={{ minHeight: "70vh", paddingBlock: "80px" }}
|
||||
>
|
||||
<span
|
||||
className="text-[11px] font-semibold uppercase tracking-widest chamfer-badge px-3 py-1 mb-6"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--text-secondary)" }}
|
||||
>
|
||||
404
|
||||
</span>
|
||||
<h1
|
||||
className="text-[42px] font-bold leading-tight mb-4"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Seite nicht gefunden
|
||||
</h1>
|
||||
<p className="text-[18px] mb-8 max-w-md" style={{ color: "var(--text-secondary)" }}>
|
||||
Diese Seite existiert leider nicht. Vielleicht wurde sie verschoben oder der Link ist
|
||||
falsch.
|
||||
</p>
|
||||
<Link
|
||||
href="/"
|
||||
className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[15px] font-semibold text-[var(--text-primary)] hover:bg-[var(--accent-yellow-dark)] transition-colors"
|
||||
style={{ background: "var(--accent-yellow)", padding: "12px 24px" }}
|
||||
>
|
||||
Zurück zur Startseite
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
import { ImageResponse } from "next/og";
|
||||
|
||||
export const alt = "HiveGrid – Software für SHK-Betriebe";
|
||||
export const size = { width: 1200, height: 630 };
|
||||
export const contentType = "image/png";
|
||||
|
||||
async function loadGoogleFont(family: string, weight: number, text: string) {
|
||||
const url = `https://fonts.googleapis.com/css2?family=${family.replace(/ /g, "+")}:wght@${weight}&text=${encodeURIComponent(text)}`;
|
||||
const css = await fetch(url, {
|
||||
headers: { "User-Agent": "Mozilla/5.0" },
|
||||
}).then((r) => r.text());
|
||||
const match = css.match(/src: url\((.+?)\) format\('(?:opentype|truetype|woff2?)'\)/);
|
||||
if (!match) throw new Error(`Font ${family} ${weight} not found in CSS response`);
|
||||
return fetch(match[1]).then((r) => r.arrayBuffer());
|
||||
}
|
||||
|
||||
export default async function Image() {
|
||||
const headlineText =
|
||||
"Ihr Betrieb läuft organisiert, automatisiert und effizient. HiveGrid SHK-SOFTWARE Von Auftragsannahme bis Rechnungsstellung. Alles in einer Plattform. hivegrid.de";
|
||||
|
||||
const [interBold, interRegular] = await Promise.all([
|
||||
loadGoogleFont("Inter", 700, headlineText),
|
||||
loadGoogleFont("Inter", 400, headlineText),
|
||||
]);
|
||||
|
||||
return new ImageResponse(
|
||||
(
|
||||
<div
|
||||
style={{
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
justifyContent: "space-between",
|
||||
padding: "80px",
|
||||
background:
|
||||
"linear-gradient(135deg, #FFF7E2 0%, #FFFFFF 45%, #E8F4F4 100%)",
|
||||
fontFamily: "Inter",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
gap: "16px",
|
||||
fontSize: 32,
|
||||
fontWeight: 700,
|
||||
color: "#1A1A1A",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
width: 56,
|
||||
height: 56,
|
||||
borderRadius: 12,
|
||||
background: "#F1B729",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
color: "#1A1A1A",
|
||||
fontSize: 36,
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
H
|
||||
</div>
|
||||
HiveGrid
|
||||
</div>
|
||||
|
||||
<div style={{ display: "flex", flexDirection: "column", gap: 24 }}>
|
||||
<div
|
||||
style={{
|
||||
fontSize: 24,
|
||||
fontWeight: 700,
|
||||
color: "#3E2C0A",
|
||||
background: "#FFE082",
|
||||
alignSelf: "flex-start",
|
||||
padding: "8px 20px",
|
||||
borderRadius: 8,
|
||||
letterSpacing: "0.1em",
|
||||
}}
|
||||
>
|
||||
SHK-SOFTWARE
|
||||
</div>
|
||||
<div
|
||||
style={{
|
||||
fontSize: 64,
|
||||
fontWeight: 700,
|
||||
color: "#1A1A1A",
|
||||
lineHeight: 1.1,
|
||||
maxWidth: 980,
|
||||
display: "flex",
|
||||
flexWrap: "wrap",
|
||||
}}
|
||||
>
|
||||
<span>Ihr Betrieb läuft organisiert, </span>
|
||||
<span style={{ color: "#F1B729" }}>automatisiert</span>
|
||||
<span> und effizient.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "flex-end",
|
||||
fontSize: 22,
|
||||
fontWeight: 400,
|
||||
color: "#555555",
|
||||
}}
|
||||
>
|
||||
<div style={{ maxWidth: 720 }}>
|
||||
Von Auftragsannahme bis Rechnungsstellung. Alles in einer Plattform.
|
||||
</div>
|
||||
<div style={{ fontWeight: 700, color: "#0D6E6E" }}>hivegrid.de</div>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
{
|
||||
...size,
|
||||
fonts: [
|
||||
{ name: "Inter", data: interBold, style: "normal", weight: 700 },
|
||||
{ name: "Inter", data: interRegular, style: "normal", weight: 400 },
|
||||
],
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import type { Metadata } from "next";
|
||||
import LandingPageClient from "@/components/landing/LandingPageClient";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "HiveGrid - Alles was Ihr Betrieb braucht",
|
||||
description:
|
||||
"HiveGrid bündelt die wichtigsten Prozesse rund um Anfrage, Auftragsgewinnung und Projektabwicklung. Weniger manuelle Abstimmung, weniger Zettel, mehr Zeit fürs Handwerk.",
|
||||
alternates: { canonical: "/" },
|
||||
};
|
||||
|
||||
export default function HomePage() {
|
||||
return <LandingPageClient />;
|
||||
}
|
||||
@@ -0,0 +1,251 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Rocket, TrendUp, UsersThree, Crown, Check } from "@phosphor-icons/react/ssr";
|
||||
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
|
||||
import { HardHat } from "lucide-react";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Preise",
|
||||
description:
|
||||
"Klare, faire Pakete für deinen SHK-Betrieb — vom Einzelbetrieb bis zum ganzen Team. Fordere ein unverbindliches Angebot an.",
|
||||
alternates: { canonical: "/preise" },
|
||||
};
|
||||
|
||||
// PLACEHOLDER — erfundene Pakete/Inhalte. Preise bewusst nicht ausgewiesen
|
||||
// (Angebots-Modell), Feature-Listen final mit Noah/Haris abstimmen.
|
||||
const HEX = "polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)";
|
||||
const HAZARD_STRIPES = "repeating-linear-gradient(45deg, #F1B729 0 10px, #171106 10px 20px)";
|
||||
|
||||
// Diagonal barrier tape across the blurred pricing grid — same "coming soon"
|
||||
// treatment as the mobile chat teaser.
|
||||
function ComingSoonTape() {
|
||||
return (
|
||||
<div className="absolute inset-0 overflow-hidden" aria-hidden style={{ pointerEvents: "none", borderRadius: 16 }}>
|
||||
<div
|
||||
className="absolute left-1/2 top-1/2 flex items-center justify-center gap-8"
|
||||
style={{
|
||||
width: "128%",
|
||||
transform: "translate(-50%, -50%) rotate(-8deg)",
|
||||
background: "var(--accent-yellow)",
|
||||
borderTop: "2px solid #171106",
|
||||
borderBottom: "2px solid #171106",
|
||||
boxShadow: "0 16px 34px -10px rgba(0,0,0,0.45)",
|
||||
padding: "12px 0",
|
||||
}}
|
||||
>
|
||||
{Array.from({ length: 8 }).map((_, i) => (
|
||||
<span
|
||||
key={i}
|
||||
className="inline-flex items-center gap-2 text-[14px] font-extrabold uppercase tracking-[0.18em] whitespace-nowrap"
|
||||
style={{ color: "#171106" }}
|
||||
>
|
||||
<HardHat size={16} strokeWidth={2.6} /> Bald verfügbar
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
type Tier = {
|
||||
name: string;
|
||||
Icon: PhosphorIcon;
|
||||
desc: string;
|
||||
features: string[];
|
||||
highlighted?: boolean;
|
||||
};
|
||||
|
||||
const tiers: Tier[] = [
|
||||
{
|
||||
name: "Start",
|
||||
Icon: Rocket,
|
||||
desc: "Alles, was dein Betrieb zum Loslegen braucht.",
|
||||
features: [
|
||||
"Unbegrenzte Aufträge & Kunden",
|
||||
"Angebote & Rechnungen",
|
||||
"Online-Terminbuchung",
|
||||
"Hosting in Deutschland (DSGVO)",
|
||||
"E-Mail-Support",
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Wachstum",
|
||||
Icon: TrendUp,
|
||||
desc: "Alles aus Start, plus mehr Automatisierung, wo's zählt.",
|
||||
features: [
|
||||
"Workflow-Engine ohne Code",
|
||||
"kwp- & DATEV-Anbindung",
|
||||
"Kalender-Synchronisation",
|
||||
"Team-Chat mit Projekt-Kanälen",
|
||||
"Aufgaben direkt aus dem Chat",
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Team",
|
||||
Icon: UsersThree,
|
||||
desc: "Alles aus Wachstum, plus Tools fürs ganze Team.",
|
||||
highlighted: true,
|
||||
features: [
|
||||
"Mitarbeitermanagement",
|
||||
"Projekt-Board & Baustellenplanung",
|
||||
"Vertriebspipelines",
|
||||
"E-Mail-Marketing",
|
||||
"Priorisierter Support",
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Enterprise",
|
||||
Icon: Crown,
|
||||
desc: "Alles aus Team, plus individuelle Betreuung.",
|
||||
features: [
|
||||
"Persönlicher Ansprechpartner",
|
||||
"Individuelle Schnittstellen",
|
||||
"Onboarding vor Ort",
|
||||
"SLA & Priority-Support",
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
function TierCard({ tier }: { tier: Tier }) {
|
||||
const dark = tier.highlighted;
|
||||
return (
|
||||
<div
|
||||
className="relative flex flex-col h-full"
|
||||
style={{
|
||||
background: dark ? "var(--dark-bg)" : "#FFFFFF",
|
||||
// Chamfered brand corners (like the product-page cards): clip-path also
|
||||
// clips border + box-shadow, so drop the border and use drop-shadow.
|
||||
clipPath: CHAMFER,
|
||||
filter: dark
|
||||
? "drop-shadow(0 24px 40px rgba(15,23,42,0.42)) drop-shadow(0 6px 14px rgba(15,23,42,0.25))"
|
||||
: "drop-shadow(0 16px 26px rgba(15,23,42,0.12)) drop-shadow(0 3px 8px rgba(15,23,42,0.07))",
|
||||
padding: "26px 24px",
|
||||
}}
|
||||
>
|
||||
{dark && (
|
||||
<span
|
||||
className="absolute right-5 top-6 inline-flex items-center rounded-full text-[12px] font-semibold px-3 py-1"
|
||||
style={{ background: "#FFFFFF", color: "var(--text-primary)", boxShadow: "0 4px 14px rgba(0,0,0,0.25)" }}
|
||||
>
|
||||
Beliebtester
|
||||
</span>
|
||||
)}
|
||||
|
||||
{/* Icon tile (hexagon, on-brand) */}
|
||||
<span
|
||||
className="grid place-items-center shrink-0"
|
||||
style={{
|
||||
width: 40,
|
||||
height: 35, // flat-top hexagon (2:√3)
|
||||
clipPath: HEX,
|
||||
background: dark ? "rgba(241,183,41,0.16)" : "var(--accent-yellow-light)",
|
||||
color: dark ? "var(--accent-yellow)" : "var(--accent-yellow-dark)",
|
||||
}}
|
||||
>
|
||||
<tier.Icon size={21} weight="duotone" />
|
||||
</span>
|
||||
|
||||
{/* Name + desc */}
|
||||
<h3
|
||||
className="text-[26px] font-bold mt-7 mb-2"
|
||||
style={{ color: dark ? "#FFFFFF" : "var(--text-primary)", letterSpacing: "-0.01em" }}
|
||||
>
|
||||
{tier.name}
|
||||
</h3>
|
||||
<p className="text-[14.5px] leading-relaxed" style={{ color: dark ? "rgba(255,255,255,0.72)" : "var(--text-secondary)" }}>
|
||||
{tier.desc}
|
||||
</p>
|
||||
|
||||
{/* Divider */}
|
||||
<span
|
||||
className="block my-6"
|
||||
style={{ height: 1, background: dark ? "rgba(255,255,255,0.14)" : "var(--border-light)" }}
|
||||
/>
|
||||
|
||||
{/* Features */}
|
||||
<ul className="flex flex-col gap-3.5">
|
||||
{tier.features.map((f) => (
|
||||
<li key={f} className="flex items-start gap-2.5">
|
||||
<Check
|
||||
size={17}
|
||||
weight="bold"
|
||||
className="shrink-0 mt-0.5"
|
||||
style={{ color: dark ? "var(--accent-yellow)" : "var(--accent-teal)" }}
|
||||
/>
|
||||
<span className="text-[14.5px] leading-snug" style={{ color: dark ? "rgba(255,255,255,0.9)" : "var(--text-primary)" }}>
|
||||
{f}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
{/* CTA — mt-auto pins it to the card bottom so every card's button lines
|
||||
up in one row regardless of how many features the card has. */}
|
||||
<div className="mt-auto pt-8">
|
||||
<DemoButton href="/waitlist" fullWidth variant={dark ? "amber" : "neutral"}>
|
||||
Angebot anfordern
|
||||
</DemoButton>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function PreisePage() {
|
||||
return (
|
||||
<div>
|
||||
{/* Hero */}
|
||||
<section className="section-full" style={{ background: "var(--bg-primary)", paddingTop: 72, paddingBottom: 28 }}>
|
||||
<div className="mx-auto flex flex-col items-center gap-5 text-center" style={{ maxWidth: 760 }}>
|
||||
<style>{`@keyframes preise-hazard{from{background-position:0 0}to{background-position:28px 0}}@media(prefers-reduced-motion:reduce){.preise-hazard-anim{animation:none!important}}`}</style>
|
||||
<span
|
||||
aria-hidden
|
||||
className="preise-hazard-anim"
|
||||
style={{ width: 120, height: 10, borderRadius: 4, background: HAZARD_STRIPES, backgroundSize: "28px 28px", animation: "preise-hazard 1.1s linear infinite" }}
|
||||
/>
|
||||
<h1
|
||||
className="font-extrabold"
|
||||
style={{ color: "var(--text-primary)", fontSize: "clamp(44px, 7.5vw, 88px)", lineHeight: 1.02, letterSpacing: "-0.03em" }}
|
||||
>
|
||||
Die Preise kommen bald.
|
||||
</h1>
|
||||
<p className="text-[17px] md:text-[19px]" style={{ color: "var(--text-secondary)" }}>
|
||||
Klare, faire Pakete. Die genauen Preise gibt's zum Start. Trag dich in die
|
||||
Warteliste ein und sei von Anfang an dabei.
|
||||
</p>
|
||||
<DemoButton href="/waitlist" className="mt-2">
|
||||
Auf die Warteliste
|
||||
</DemoButton>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Tiers — teased: blurred behind a "Bald verfügbar" barrier tape */}
|
||||
<section className="section-full" style={{ background: "var(--bg-primary)", paddingTop: 40, paddingBottom: 104 }}>
|
||||
<div className="relative mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div
|
||||
className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-5 items-stretch select-none"
|
||||
style={{
|
||||
filter: "blur(3px) saturate(0.94)",
|
||||
pointerEvents: "none",
|
||||
// All three prefixes: React inline `userSelect` only emits the
|
||||
// unprefixed property, but Safari/WebKit needs `-webkit-` or it
|
||||
// still lets you drag-select & copy the (fake) blurred text.
|
||||
userSelect: "none",
|
||||
WebkitUserSelect: "none",
|
||||
MozUserSelect: "none",
|
||||
}}
|
||||
aria-hidden
|
||||
>
|
||||
{tiers.map((tier) => (
|
||||
<TierCard key={tier.name} tier={tier} />
|
||||
))}
|
||||
</div>
|
||||
<ComingSoonTape />
|
||||
</div>
|
||||
<p className="text-center text-[13px] mt-10" style={{ color: "var(--text-tertiary)" }}>
|
||||
Preise folgen zum Start · unverbindlich · keine versteckten Kosten.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Metadata } from "next";
|
||||
import ProductPageTemplate from "@/components/sections/ProductPageTemplate";
|
||||
import ChatDemoSectionClient from "@/components/sections/ChatDemoSectionClient";
|
||||
import WebChatDemo from "@/components/sections/WebChatDemo";
|
||||
import { produktDaten } from "@/lib/produkt-daten";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Chat App",
|
||||
description: produktDaten["chat"].subtext,
|
||||
alternates: { canonical: "/produkt/chat" },
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<ProductPageTemplate
|
||||
slug="chat"
|
||||
data={{
|
||||
...produktDaten["chat"],
|
||||
extraSectionBefore: (
|
||||
<>
|
||||
{/* interactive web chat — the feature works today */}
|
||||
<WebChatDemo />
|
||||
{/* mobile app is still coming — pushed below */}
|
||||
<ChatDemoSectionClient showSideContent={false} comingSoon />
|
||||
</>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import type { Metadata } from "next";
|
||||
import ProductPageTemplate from "@/components/sections/ProductPageTemplate";
|
||||
import { produktDaten } from "@/lib/produkt-daten";
|
||||
import EmailBuilder from "@/components/sections/EmailBuilder";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Email Marketing",
|
||||
description: produktDaten["email-marketing"].subtext,
|
||||
alternates: { canonical: "/produkt/email-marketing" },
|
||||
};
|
||||
|
||||
const data = {
|
||||
...produktDaten["email-marketing"],
|
||||
extraSectionBefore: <EmailBuilder hideHeader />,
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return <ProductPageTemplate data={data} slug="email-marketing" />;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import type { Metadata } from "next";
|
||||
import ProductPageTemplate from "@/components/sections/ProductPageTemplate";
|
||||
import { produktDaten } from "@/lib/produkt-daten";
|
||||
import ApprovalInbox from "@/components/sections/ApprovalInbox";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Mitarbeitermanagement",
|
||||
description: produktDaten["mitarbeitermanagement"].subtext,
|
||||
alternates: { canonical: "/produkt/mitarbeitermanagement" },
|
||||
};
|
||||
|
||||
const data = {
|
||||
...produktDaten["mitarbeitermanagement"],
|
||||
extraSectionBefore: <ApprovalInbox hideHeader />,
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return <ProductPageTemplate data={data} slug="mitarbeitermanagement" />;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import type { Metadata } from "next";
|
||||
import ProductPageTemplate from "@/components/sections/ProductPageTemplate";
|
||||
import { produktDaten } from "@/lib/produkt-daten";
|
||||
import KanbanBoard from "@/components/sections/KanbanBoard";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Projektmanagement",
|
||||
description: produktDaten["projektmanagement"].subtext,
|
||||
alternates: { canonical: "/produkt/projektmanagement" },
|
||||
};
|
||||
|
||||
const data = {
|
||||
...produktDaten["projektmanagement"],
|
||||
extraSectionBefore: <KanbanBoard hideHeader />,
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return <ProductPageTemplate data={data} slug="projektmanagement" />;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import ProductPageTemplate from "@/components/sections/ProductPageTemplate";
|
||||
import { produktDaten } from "@/lib/produkt-daten";
|
||||
import VertriebBentoGrid from "@/components/sections/VertriebBentoGrid";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Vertriebspipelines",
|
||||
description: produktDaten["vertriebspipelines"].subtext,
|
||||
alternates: { canonical: "/produkt/vertriebspipelines" },
|
||||
};
|
||||
|
||||
const data = {
|
||||
...produktDaten["vertriebspipelines"],
|
||||
subtext: "",
|
||||
extraSectionBefore: <VertriebBentoGrid />,
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return <ProductPageTemplate data={data} slug="vertriebspipelines" />;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import ProductPageTemplate from "@/components/sections/ProductPageTemplate";
|
||||
import { produktDaten } from "@/lib/produkt-daten";
|
||||
import WorkflowEditor from "@/components/sections/WorkflowEditor";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Workflow Engine",
|
||||
description: produktDaten["workflow-engine"].subtext,
|
||||
alternates: { canonical: "/produkt/workflow-engine" },
|
||||
};
|
||||
|
||||
const data = {
|
||||
...produktDaten["workflow-engine"],
|
||||
subtext: "",
|
||||
extraSectionBefore: <WorkflowEditor hideHeader />,
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return <ProductPageTemplate data={data} slug="workflow-engine" />;
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
const html = String.raw`<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>HiveGrid wird bereinigt</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
(async () => {
|
||||
try {
|
||||
if ("serviceWorker" in navigator) {
|
||||
const registrations = await navigator.serviceWorker.getRegistrations();
|
||||
await Promise.all(registrations.map((registration) => registration.unregister()));
|
||||
}
|
||||
|
||||
if ("caches" in window) {
|
||||
const keys = await caches.keys();
|
||||
await Promise.all(keys.map((key) => caches.delete(key)));
|
||||
}
|
||||
|
||||
try {
|
||||
localStorage.clear();
|
||||
sessionStorage.clear();
|
||||
} catch {}
|
||||
|
||||
document.cookie.split(";").forEach((cookie) => {
|
||||
const name = cookie.split("=")[0]?.trim();
|
||||
if (name) {
|
||||
document.cookie = name + "=; Max-Age=0; path=/; SameSite=Lax";
|
||||
}
|
||||
});
|
||||
} finally {
|
||||
window.location.replace("/");
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>`;
|
||||
|
||||
export function GET() {
|
||||
return new Response(html, {
|
||||
headers: {
|
||||
"Content-Type": "text/html; charset=utf-8",
|
||||
"Cache-Control": "no-cache, no-store, must-revalidate",
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: [
|
||||
"/api/",
|
||||
"/newsletter/danke",
|
||||
"/newsletter/abmelden",
|
||||
"/newsletter/abmeldung-bestaetigt",
|
||||
],
|
||||
},
|
||||
sitemap: "https://hivegrid.de/sitemap.xml",
|
||||
host: "https://hivegrid.de",
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
import { siteConfig } from "@/lib/site.config";
|
||||
|
||||
const BASE_URL = "https://hivegrid.de";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const lastModified = new Date();
|
||||
|
||||
const pages: MetadataRoute.Sitemap = [
|
||||
{ url: `${BASE_URL}/`, lastModified, changeFrequency: "weekly", priority: 1.0 },
|
||||
{ url: `${BASE_URL}/kunden`, lastModified, changeFrequency: "monthly", priority: 0.9 },
|
||||
{ url: `${BASE_URL}/ueber-uns`, lastModified, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${BASE_URL}/mission`, lastModified, changeFrequency: "yearly", priority: 0.5 },
|
||||
{ url: `${BASE_URL}/ki-anbindung`, lastModified, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${BASE_URL}/preise`, lastModified, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${BASE_URL}/waitlist`, lastModified, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${BASE_URL}/datenschutz`, lastModified, changeFrequency: "yearly", priority: 0.3 },
|
||||
{ url: `${BASE_URL}/impressum`, lastModified, changeFrequency: "yearly", priority: 0.3 },
|
||||
{ url: `${BASE_URL}/agb`, lastModified, changeFrequency: "yearly", priority: 0.3 },
|
||||
];
|
||||
|
||||
const products: MetadataRoute.Sitemap = siteConfig.produkte.map((p) => ({
|
||||
url: `${BASE_URL}${p.href}`,
|
||||
lastModified,
|
||||
changeFrequency: "monthly",
|
||||
priority: 0.9,
|
||||
}));
|
||||
|
||||
return [...pages, ...products];
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export { default, alt, size, contentType } from "./opengraph-image";
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,122 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
import TeamCards, { TeamProfiles } from "./TeamCards";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Über uns",
|
||||
description:
|
||||
"Wir bringen den Mittelstand ins digitale Zeitalter. Lernen Sie das HiveGrid-Team kennen: Praxisnähe, Partnerschaft und Einfachheit für SHK-Betriebe.",
|
||||
alternates: { canonical: "/ueber-uns" },
|
||||
};
|
||||
|
||||
export default function UeberUnsPage() {
|
||||
return (
|
||||
<>
|
||||
{/* Hero */}
|
||||
<section
|
||||
className="section-full"
|
||||
style={{
|
||||
background: "var(--surface)",
|
||||
paddingTop: "clamp(28px, 6vw, 80px)",
|
||||
paddingBottom: 64,
|
||||
}}
|
||||
>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 900 }}>
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
ÜBER UNS
|
||||
</span>
|
||||
<h1
|
||||
className="text-[36px] md:text-[56px] font-bold leading-[1.1]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Das Team hinter HiveGrid.
|
||||
</h1>
|
||||
<p className="text-[18px] leading-relaxed max-w-2xl" style={{ color: "var(--text-secondary)" }}>
|
||||
Wir bauen HiveGrid gemeinsam mit echten Handwerksbetrieben, damit es im Alltag wirklich funktioniert.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Compact team grid — four cards per row on desktop, two on mobile. */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: "8px 96px" }}>
|
||||
<TeamCards />
|
||||
</section>
|
||||
|
||||
{/* Origin Story */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="flex flex-col gap-10 mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<span
|
||||
className="self-start text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
UNSERE GESCHICHTE
|
||||
</span>
|
||||
<h2
|
||||
className="text-[32px] md:text-[42px] font-bold leading-[1.15]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Angefangen hat alles mit einem Handwerker, der die Nase voll hatte.
|
||||
</h2>
|
||||
<div className="flex gap-6 rounded-2xl" style={{ background: "var(--surface)", padding: "32px 40px" }}>
|
||||
<div className="shrink-0 rounded-sm" style={{ width: 4, background: "var(--accent-yellow)" }} />
|
||||
<div className="flex flex-col gap-3">
|
||||
<p className="text-[22px] font-semibold leading-relaxed" style={{ color: "var(--text-primary)" }}>
|
||||
„Ein Handwerker kannte das Problem, wir konnten die Software. Zusammen wurde HiveGrid daraus.“
|
||||
</p>
|
||||
<p className="text-[14px] font-medium" style={{ color: "var(--text-tertiary)" }}>
|
||||
— Das Gründerteam
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col gap-6">
|
||||
{[
|
||||
"Dutzende Einzellösungen, kein Überblick, und keiner, der es zusammenbringt. Genau das kannte unser Partner aus seinem Betrieb: alles verstreut, nichts spricht miteinander.",
|
||||
"Statt weiter nach der perfekten Software zu suchen, haben wir sie gebaut. Kein Whiteboard-Businessplan, sondern jeder Schritt an seinem Betriebsalltag geprüft.",
|
||||
"Das Ergebnis ist HiveGrid. Eine Plattform, die nicht versucht, alles neu zu erfinden, sondern die das verbindet, was schon da ist.",
|
||||
"Heute bauen wir HiveGrid für alle, die wissen, dass es besser geht. Angefangen bei dem Betrieb, der uns überhaupt erst darauf gebracht hat.",
|
||||
].map((paragraph) => (
|
||||
<p key={paragraph} className="text-[18px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
{paragraph}
|
||||
</p>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Individual biographies — animated portrait left, story and personal links right. */}
|
||||
<TeamProfiles />
|
||||
|
||||
{/* CTA */}
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: 80 }}>
|
||||
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div
|
||||
className="flex flex-col items-center gap-6 text-center"
|
||||
style={{ background: "var(--dark-bg)", padding: "56px 64px", clipPath: CHAMFER }}
|
||||
>
|
||||
<h2 className="text-[28px] md:text-[36px] font-bold leading-[1.2] text-white">
|
||||
Bereit, deine Software mitzugestalten?
|
||||
</h2>
|
||||
<p className="text-[18px] max-w-lg" style={{ color: "var(--text-on-dark)" }}>
|
||||
Trag dich in die Warteliste ein: Du lernst HiveGrid kennen und wir deinen Betrieb. Unverbindlich, ohne Vertrag.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-4">
|
||||
<DemoButton />
|
||||
<Link
|
||||
href="/kontakt"
|
||||
className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[16px] font-semibold hover:bg-white/10 transition-colors"
|
||||
style={{ color: "#FFFFFF", padding: "14px 28px", border: "1px solid var(--border-neutral)" }}
|
||||
>
|
||||
Kontakt
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
export type TeamProfileLink = {
|
||||
label: string;
|
||||
href: string;
|
||||
kind: "linkedin" | "website";
|
||||
};
|
||||
|
||||
export type TeamMember = {
|
||||
id: string;
|
||||
name: string;
|
||||
fullName: string;
|
||||
cardRole: string;
|
||||
role: string;
|
||||
bio: string;
|
||||
color: string;
|
||||
objectPosition?: string;
|
||||
profileLinks: TeamProfileLink[];
|
||||
};
|
||||
|
||||
// Team copy, card presentation and optional personal links live together so a
|
||||
// profile can be updated without changing the card or biography components.
|
||||
export const TEAM_MEMBERS: TeamMember[] = [
|
||||
{
|
||||
id: "noah",
|
||||
name: "Noah",
|
||||
fullName: "Noah Geerkens",
|
||||
cardRole: "CEO",
|
||||
role: "CEO & Gründer",
|
||||
bio: "Handwerksmeister in vierter Generation und der Kopf hinter der Idee zu HiveGrid. Noah bringt den echten Betriebsalltag ins Produkt und prüft jede Entscheidung daran, ob sie dem Handwerk wirklich Zeit spart.",
|
||||
color: "#0f1a2e",
|
||||
profileLinks: [
|
||||
{
|
||||
label: "LinkedIn",
|
||||
href: "https://de.linkedin.com/in/noah-geerkens-a4aa6735b",
|
||||
kind: "linkedin",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "david",
|
||||
name: "David",
|
||||
fullName: "David Bertram",
|
||||
cardRole: "Produkt & Design",
|
||||
role: "Produkt & Design",
|
||||
bio: "David verantwortet, wie sich HiveGrid anfühlt und wie aus komplexen Abläufen eine klare Oberfläche wird. Er verbindet Produktstrategie, UX und visuelles Design zu einem Werkzeug, das ohne Umwege funktioniert.",
|
||||
color: "#0f1a2e",
|
||||
profileLinks: [],
|
||||
},
|
||||
{
|
||||
id: "dejan",
|
||||
name: "Dejan",
|
||||
fullName: "Dejan Cosic",
|
||||
cardRole: "Marketing",
|
||||
role: "Marketing & Brand",
|
||||
bio: "Dejan führt den Außenauftritt von HiveGrid. Er übersetzt Produkt, Haltung und Fortschritt in eine Marke, die verständlich bleibt und genau die Menschen erreicht, für die HiveGrid gebaut wird.",
|
||||
color: "#e8f4f4",
|
||||
profileLinks: [
|
||||
{
|
||||
label: "LinkedIn",
|
||||
href: "https://de.linkedin.com/in/dejan-cosic",
|
||||
kind: "linkedin",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "raffael",
|
||||
name: "Raffael",
|
||||
fullName: "Raffael Sheikh",
|
||||
cardRole: "COO",
|
||||
role: "COO & Engineering",
|
||||
bio: "Raffael führt das operative Geschäft und bringt Produkt, Entwicklung und Organisation zusammen. Er sorgt dafür, dass aus guten Ideen belastbare Lösungen werden, die im Alltag stabil funktionieren.",
|
||||
color: "#0d6e6e",
|
||||
profileLinks: [
|
||||
{
|
||||
label: "LinkedIn",
|
||||
href: "https://de.linkedin.com/in/raffael-sheikh",
|
||||
kind: "linkedin",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "aki",
|
||||
name: "Aki",
|
||||
fullName: "Aki",
|
||||
cardRole: "Engineering",
|
||||
role: "Full-Stack Engineering",
|
||||
bio: "Aki entwickelt die Plattform vom Backend bis ins Frontend. Sein Fokus liegt auf sauberer Technik, kurzen Wegen und Funktionen, die auch dann zuverlässig bleiben, wenn HiveGrid weiter wächst.",
|
||||
color: "#f6f8fa",
|
||||
profileLinks: [],
|
||||
},
|
||||
{
|
||||
id: "michelle",
|
||||
name: "Michelle",
|
||||
fullName: "Michelle Spiekermann",
|
||||
cardRole: "Design",
|
||||
role: "Design & Verwaltung",
|
||||
bio: "Michelle kommt selbst aus dem Design-Handwerk und verbindet ein sicheres Auge für Details mit einem klaren Blick für Organisation. Sie hält Gestaltung und Verwaltung nah an den Menschen, die damit arbeiten.",
|
||||
color: "#e8f4f4",
|
||||
objectPosition: "54% 50%",
|
||||
profileLinks: [],
|
||||
},
|
||||
{
|
||||
id: "haris",
|
||||
name: "Haris",
|
||||
fullName: "Haris Sejmen",
|
||||
cardRole: "Vertrieb",
|
||||
role: "Vertrieb",
|
||||
bio: "Haris begleitet Interessierte von der ersten Frage über die persönliche Demo bis zum Abschluss. Er hört genau hin, bringt Rückmeldungen direkt ins Team und sorgt für einen ehrlichen Austausch auf Augenhöhe.",
|
||||
color: "#f1d8cf",
|
||||
objectPosition: "58% 50%",
|
||||
profileLinks: [],
|
||||
},
|
||||
{
|
||||
id: "artur",
|
||||
name: "Arthur",
|
||||
fullName: "Arthur",
|
||||
cardRole: "Infrastruktur",
|
||||
role: "System-Infrastruktur",
|
||||
bio: "Arthur hält die technische Basis sicher, stabil und schnell. Er kümmert sich um die Infrastruktur hinter HiveGrid und darum, dass sensible Daten zuverlässig in Deutschland geschützt bleiben.",
|
||||
color: "#ffe082",
|
||||
profileLinks: [],
|
||||
},
|
||||
];
|
||||
|
||||
export const teamProfileId = (id: string) => `team-profile-${id}`;
|
||||
@@ -0,0 +1,260 @@
|
||||
"use client";
|
||||
import { useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { Check, TrafficCone } from "lucide-react";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
|
||||
/* ─── shared input styles ─── */
|
||||
const inputClass =
|
||||
"w-full rounded-lg px-3 h-11 text-[14px] outline-none focus:ring-2 focus:ring-[var(--accent-yellow)]";
|
||||
const inputStyle = {
|
||||
border: "1px solid var(--border-neutral)",
|
||||
background: "var(--surface)",
|
||||
color: "var(--text-primary)",
|
||||
};
|
||||
|
||||
const HAZARD_STRIPES =
|
||||
"repeating-linear-gradient(45deg, #F1B729 0 10px, #171106 10px 20px)";
|
||||
|
||||
/* ─── Left column: construction "wird gerade gebaut" panel ─── */
|
||||
function ConstructionAside() {
|
||||
return (
|
||||
<div className="flex flex-col gap-5 w-full" style={{ maxWidth: 460 }}>
|
||||
<style>{`@keyframes wl-hazard{from{background-position:0 0}to{background-position:28px 0}}@media(prefers-reduced-motion:reduce){.wl-hazard-anim{animation:none!important}}`}</style>
|
||||
|
||||
{/* Absperrband */}
|
||||
<span
|
||||
className="wl-hazard-anim"
|
||||
style={{ width: 120, height: 10, borderRadius: 4, background: HAZARD_STRIPES, backgroundSize: "28px 28px", animation: "wl-hazard 1.1s linear infinite" }}
|
||||
/>
|
||||
|
||||
<h1 className="text-[34px] md:text-[46px] font-extrabold leading-[1.08]" style={{ color: "var(--text-primary)", letterSpacing: "-0.02em" }}>
|
||||
HiveGrid <span style={{ color: "var(--accent-yellow)" }}>wird gerade gebaut.</span>
|
||||
</h1>
|
||||
|
||||
<p className="text-[16px] md:text-[17px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
Wir legen gerade die letzten Handgriffe an. Trag dich in die Warteliste
|
||||
ein und sei von Anfang an dabei, wenn HiveGrid für deinen Betrieb startet.
|
||||
</p>
|
||||
|
||||
<div className="flex items-center gap-3 text-[13px] font-medium" style={{ color: "var(--text-tertiary)" }}>
|
||||
<TrafficCone size={18} strokeWidth={2} style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
<span>In Arbeit · Start in Kürze. Kein Spam, wir melden uns persönlich.</span>
|
||||
</div>
|
||||
|
||||
{/* heyData DSGVO seal */}
|
||||
<a
|
||||
href="https://heydata.eu"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
title="heyData GDPR seal"
|
||||
className="mt-2 flex flex-col items-start gap-2"
|
||||
>
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img
|
||||
alt="heyData DSGVO-Siegel – DSGVO-konforme Verarbeitung"
|
||||
src="https://api.heydata.eu/privacy-seal/seal/2cdc4714-a706-4790-975c-7c95935905fe?lang=de&design=design1&sealType=GDPR"
|
||||
width={96}
|
||||
height={96}
|
||||
style={{ border: 0 }}
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
/* ─── Honeycomb backdrop — just the pattern (no hub, no cards), faded on all
|
||||
edges AND in the centre so it stays subtle behind the content. ─── */
|
||||
const HEX_FIELD = (() => {
|
||||
const r = 33; // hex radius (centre → vertex)
|
||||
const rr = r - 1.6; // slight inset → thin gaps between combs
|
||||
const dh2 = (Math.sqrt(3) / 2) * rr;
|
||||
const h2 = (Math.sqrt(3) / 2) * r;
|
||||
const colStep = 1.5 * r;
|
||||
const rowStep = 2 * h2;
|
||||
const VW = 1600, VH = 1040;
|
||||
const paths: string[] = [];
|
||||
for (let col = 0; col * colStep < VW + r; col++) {
|
||||
const cx = col * colStep;
|
||||
const yOff = col % 2 ? h2 : 0;
|
||||
for (let cy = -rowStep + yOff; cy < VH + rowStep; cy += rowStep) {
|
||||
const f = (n: number) => n.toFixed(1);
|
||||
paths.push(
|
||||
`M${f(cx + rr)} ${f(cy)}L${f(cx + rr / 2)} ${f(cy - dh2)}L${f(cx - rr / 2)} ${f(cy - dh2)}L${f(cx - rr)} ${f(cy)}L${f(cx - rr / 2)} ${f(cy + dh2)}L${f(cx + rr / 2)} ${f(cy + dh2)}Z`,
|
||||
);
|
||||
}
|
||||
}
|
||||
return { paths, VW, VH };
|
||||
})();
|
||||
|
||||
// Ellipse that clears the centre (behind the content) and fades to nothing well
|
||||
// INSIDE the section box → soft fade on every edge, incl. the bottom seam.
|
||||
const HC_MASK =
|
||||
"radial-gradient(82% 70% at 50% 45%, transparent 0%, rgba(0,0,0,0.08) 20%, #000 40%, #000 52%, transparent 76%)";
|
||||
|
||||
function HoneycombBackdrop() {
|
||||
return (
|
||||
<div
|
||||
aria-hidden
|
||||
className="absolute inset-0 pointer-events-none"
|
||||
style={{ zIndex: 0, WebkitMaskImage: HC_MASK, maskImage: HC_MASK }}
|
||||
>
|
||||
<svg className="w-full h-full" viewBox={`0 0 ${HEX_FIELD.VW} ${HEX_FIELD.VH}`} preserveAspectRatio="xMidYMid slice">
|
||||
{HEX_FIELD.paths.map((d, i) => (
|
||||
<path key={i} d={d} fill="#F1B729" fillOpacity={0.08} />
|
||||
))}
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function WaitlistForm() {
|
||||
const [state, setState] = useState<"idle" | "loading" | "ok" | "err">("idle");
|
||||
const [errMsg, setErrMsg] = useState("");
|
||||
const [form, setForm] = useState({
|
||||
vorname: "",
|
||||
nachname: "",
|
||||
email: "",
|
||||
unternehmen: "",
|
||||
nachricht: "",
|
||||
dsgvo: false,
|
||||
});
|
||||
|
||||
const update = (k: string, v: string | boolean) =>
|
||||
setForm((f) => ({ ...f, [k]: v }));
|
||||
|
||||
const handleSubmit = async (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!form.email || !form.vorname || !form.dsgvo) return;
|
||||
setState("loading");
|
||||
setErrMsg("");
|
||||
try {
|
||||
const res = await fetch("/api/demo-request", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
firstName: form.vorname,
|
||||
lastName: form.nachname,
|
||||
email: form.email,
|
||||
company: form.unternehmen,
|
||||
message: form.nachricht,
|
||||
source: "HiveGrid Warteliste",
|
||||
}),
|
||||
});
|
||||
if (!res.ok) {
|
||||
const data = await res.json().catch(() => null);
|
||||
throw new Error(data?.error || "Fehler beim Senden.");
|
||||
}
|
||||
setState("ok");
|
||||
} catch (err) {
|
||||
setState("err");
|
||||
setErrMsg(err instanceof Error ? err.message : "Fehler beim Senden.");
|
||||
}
|
||||
};
|
||||
|
||||
/* ─── Success state ─── */
|
||||
if (state === "ok") {
|
||||
return (
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ paddingTop: "var(--hero-top-padding)", paddingBottom: 80, minHeight: "70vh" }}
|
||||
>
|
||||
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 560 }}>
|
||||
<div
|
||||
className="flex items-center justify-center rounded-full"
|
||||
style={{ width: 80, height: 80, background: "var(--accent-yellow-light)" }}
|
||||
>
|
||||
<Check size={38} style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
</div>
|
||||
<h1 className="text-[32px] md:text-[42px] font-bold" style={{ color: "var(--text-primary)" }}>
|
||||
Du bist auf der Warteliste!
|
||||
</h1>
|
||||
<p className="text-[16px] md:text-[18px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
Wir melden uns bei dir, sobald HiveGrid für deinen Betrieb bereit
|
||||
ist. Kein Spam, versprochen.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
/* ─── Form ─── */
|
||||
return (
|
||||
<section className="section-full" style={{ position: "relative", overflow: "hidden", background: "var(--surface)", paddingTop: "var(--hero-top-padding)", paddingBottom: 80 }}>
|
||||
<HoneycombBackdrop />
|
||||
<div className="relative mx-auto" style={{ zIndex: 1, maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col lg:flex-row lg:items-center gap-14 lg:gap-20">
|
||||
{/* ── Left: construction panel ── */}
|
||||
<div className="lg:flex-1 flex justify-center lg:justify-start">
|
||||
<ConstructionAside />
|
||||
</div>
|
||||
|
||||
{/* ── Right: form, centered ── */}
|
||||
<div className="lg:flex-1 flex justify-center">
|
||||
<form onSubmit={handleSubmit} className="flex flex-col gap-5 w-full" style={{ maxWidth: 460 }}>
|
||||
{/* Vorname / Nachname */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span className="text-[13px] font-medium" style={{ color: "var(--text-primary)" }}>Vorname *</span>
|
||||
<input suppressHydrationWarning required value={form.vorname} onChange={(e) => update("vorname", e.target.value)} className={inputClass} style={inputStyle} />
|
||||
</label>
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span className="text-[13px] font-medium" style={{ color: "var(--text-primary)" }}>Nachname</span>
|
||||
<input suppressHydrationWarning value={form.nachname} onChange={(e) => update("nachname", e.target.value)} className={inputClass} style={inputStyle} />
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{/* E-Mail */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span className="text-[13px] font-medium" style={{ color: "var(--text-primary)" }}>E-Mail *</span>
|
||||
<input suppressHydrationWarning required type="email" value={form.email} onChange={(e) => update("email", e.target.value)} className={inputClass} style={inputStyle} />
|
||||
</label>
|
||||
|
||||
{/* Unternehmen */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span className="text-[13px] font-medium" style={{ color: "var(--text-primary)" }}>Unternehmen</span>
|
||||
<input suppressHydrationWarning value={form.unternehmen} onChange={(e) => update("unternehmen", e.target.value)} className={inputClass} style={inputStyle} />
|
||||
</label>
|
||||
|
||||
{/* Nachricht (optional) */}
|
||||
<label className="flex flex-col gap-1.5">
|
||||
<span className="text-[13px] font-medium" style={{ color: "var(--text-primary)" }}>
|
||||
Nachricht <span style={{ color: "var(--text-tertiary)" }}>(optional)</span>
|
||||
</span>
|
||||
<textarea
|
||||
suppressHydrationWarning
|
||||
rows={4}
|
||||
placeholder="Eine Frage oder was dir wichtig ist?"
|
||||
value={form.nachricht}
|
||||
onChange={(e) => update("nachricht", e.target.value)}
|
||||
className="w-full rounded-lg px-3 py-2.5 text-[14px] outline-none resize-y focus:ring-2 focus:ring-[var(--accent-yellow)]"
|
||||
style={inputStyle}
|
||||
/>
|
||||
</label>
|
||||
|
||||
{/* DSGVO */}
|
||||
<label className="flex items-start gap-2.5 cursor-pointer">
|
||||
<input type="checkbox" checked={form.dsgvo} onChange={(e) => update("dsgvo", e.target.checked)} className="mt-1 shrink-0 accent-[var(--accent-yellow)]" />
|
||||
<span className="text-[13px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
Ich stimme der Verarbeitung meiner Daten gemäß der{" "}
|
||||
<Link href="/datenschutz" className="underline underline-offset-2 hover:no-underline" style={{ color: "var(--accent-yellow)" }}>
|
||||
Datenschutzerklärung
|
||||
</Link>{" "}
|
||||
zu. *
|
||||
</span>
|
||||
</label>
|
||||
|
||||
{state === "err" && (
|
||||
<p className="text-[13px] font-medium" style={{ color: "#EF4444" }}>{errMsg}</p>
|
||||
)}
|
||||
|
||||
<DemoButton type="submit" disabled={state === "loading"} fullWidth>
|
||||
{state === "loading" ? "Sende …" : "Auf die Warteliste"}
|
||||
</DemoButton>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
"use client";
|
||||
|
||||
import { useCallback, useEffect, useRef, useState, type ReactNode } from "react";
|
||||
import Link from "next/link";
|
||||
import {
|
||||
ChatCircleDots,
|
||||
PaperPlaneTilt,
|
||||
Kanban,
|
||||
FlowArrow,
|
||||
ClipboardText,
|
||||
ArrowRight,
|
||||
CaretLeft,
|
||||
CaretRight,
|
||||
} from "@phosphor-icons/react/ssr";
|
||||
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
import WebChatDemo from "@/components/sections/WebChatDemo";
|
||||
import EmailBuilder from "@/components/sections/EmailBuilder";
|
||||
import KanbanBoard from "@/components/sections/KanbanBoard";
|
||||
import WorkflowEditor from "@/components/sections/WorkflowEditor";
|
||||
import ApprovalInbox from "@/components/sections/ApprovalInbox";
|
||||
|
||||
const HEX = "polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)";
|
||||
|
||||
type Module = { name: string; blurb: string; href: string; Icon: PhosphorIcon; demo: ReactNode };
|
||||
|
||||
// The real interactive product modules — shown here display-only (see the
|
||||
// `inert` embed below) with a CTA to the subpage where they're interactive.
|
||||
// Vertriebspipelines is intentionally excluded.
|
||||
const MODULES: Module[] = [
|
||||
{ name: "Team-Chat", blurb: "Projektkanäle und Aufgaben direkt aus dem Chat.", href: "/produkt/chat", Icon: ChatCircleDots, demo: <WebChatDemo /> },
|
||||
{ name: "E-Mail-Baukasten", blurb: "Kampagnen per Drag-and-drop selbst gebaut.", href: "/produkt/email-marketing", Icon: PaperPlaneTilt, demo: <EmailBuilder hideHeader /> },
|
||||
{ name: "Kanban-Board", blurb: "Projekte und Baustellen im Blick.", href: "/produkt/projektmanagement", Icon: Kanban, demo: <KanbanBoard hideHeader /> },
|
||||
{ name: "Workflow-Editor", blurb: "Abläufe visuell und ohne Code.", href: "/produkt/workflow-engine", Icon: FlowArrow, demo: <WorkflowEditor hideHeader /> },
|
||||
{ name: "Freigaben", blurb: "Anträge freigeben oder ablehnen, in Sekunden.", href: "/produkt/mitarbeitermanagement", Icon: ClipboardText, demo: <ApprovalInbox hideHeader /> },
|
||||
];
|
||||
|
||||
export default function WaitlistModules() {
|
||||
const trackRef = useRef<HTMLDivElement>(null);
|
||||
const [active, setActive] = useState(0);
|
||||
|
||||
const goTo = useCallback((i: number) => {
|
||||
const track = trackRef.current;
|
||||
if (!track) return;
|
||||
const clamped = Math.max(0, Math.min(MODULES.length - 1, i));
|
||||
track.scrollTo({ left: clamped * track.clientWidth, behavior: "smooth" });
|
||||
}, []);
|
||||
|
||||
// Make the embedded demos truly non-interactive: `inert` also drops them out
|
||||
// of the tab order (pointer-events:none only blocks the mouse). Set via DOM
|
||||
// property so it works regardless of React's attribute handling.
|
||||
useEffect(() => {
|
||||
trackRef.current?.querySelectorAll<HTMLElement>(".demo-embed").forEach((el) => {
|
||||
el.inert = true;
|
||||
});
|
||||
}, []);
|
||||
|
||||
// Keep the active dot/arrows in sync with native (swipe) scrolling.
|
||||
useEffect(() => {
|
||||
const track = trackRef.current;
|
||||
if (!track) return;
|
||||
let raf = 0;
|
||||
const onScroll = () => {
|
||||
cancelAnimationFrame(raf);
|
||||
raf = requestAnimationFrame(() => {
|
||||
setActive(Math.round(track.scrollLeft / track.clientWidth));
|
||||
});
|
||||
};
|
||||
track.addEventListener("scroll", onScroll, { passive: true });
|
||||
return () => {
|
||||
track.removeEventListener("scroll", onScroll);
|
||||
cancelAnimationFrame(raf);
|
||||
};
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<section className="section-full wl-modules" style={{ background: "var(--bg-primary)", paddingBlock: 96 }}>
|
||||
<style>{`
|
||||
.wl-modules .demo-embed .section-full{ padding:14px 14px 0 !important; background:transparent !important; width:100% !important; min-height:0 !important; }
|
||||
.wl-modules .no-scrollbar{ scrollbar-width:none; -ms-overflow-style:none; }
|
||||
.wl-modules .no-scrollbar::-webkit-scrollbar{ display:none; }
|
||||
/* the modules' onboarding hint popups make no sense in a display-only preview */
|
||||
.wl-modules [data-canvas-hint]{ display:none !important; }
|
||||
`}</style>
|
||||
|
||||
<div className="mx-auto flex flex-col items-center" style={{ maxWidth: "var(--content-width)" }}>
|
||||
{/* transition from the timeline into "what you actually get" */}
|
||||
<div className="flex flex-col items-center gap-3 text-center mb-20 md:mb-24">
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
DAS BEKOMMST DU
|
||||
</span>
|
||||
<h2 className="text-[28px] md:text-[38px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Ein Blick in deinen künftigen Betrieb.
|
||||
</h2>
|
||||
<p className="text-[16px] md:text-[17px] max-w-[580px]" style={{ color: "var(--text-secondary)" }}>
|
||||
Von Team-Chat bis Rechnungs-Automatik: die Module, mit denen dein Betrieb
|
||||
bald läuft. Wisch dich durch und probier jedes live auf seiner Seite aus.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="relative w-full">
|
||||
{/* arrows (desktop) */}
|
||||
<button
|
||||
type="button"
|
||||
aria-label="Vorheriges Modul"
|
||||
onClick={() => goTo(active - 1)}
|
||||
disabled={active === 0}
|
||||
className="hidden md:grid place-items-center absolute left-0 top-1/2 -translate-y-1/2 -translate-x-1/2 z-20 w-11 h-11 rounded-full transition disabled:opacity-0"
|
||||
style={{ background: "#fff", color: "var(--text-primary)", boxShadow: "0 8px 24px -8px rgba(15,23,42,0.35)" }}
|
||||
>
|
||||
<CaretLeft size={20} weight="bold" />
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
aria-label="Nächstes Modul"
|
||||
onClick={() => goTo(active + 1)}
|
||||
disabled={active === MODULES.length - 1}
|
||||
className="hidden md:grid place-items-center absolute right-0 top-1/2 -translate-y-1/2 translate-x-1/2 z-20 w-11 h-11 rounded-full transition disabled:opacity-0"
|
||||
style={{ background: "#fff", color: "var(--text-primary)", boxShadow: "0 8px 24px -8px rgba(15,23,42,0.35)" }}
|
||||
>
|
||||
<CaretRight size={20} weight="bold" />
|
||||
</button>
|
||||
|
||||
{/* track */}
|
||||
<div
|
||||
ref={trackRef}
|
||||
className="no-scrollbar"
|
||||
style={{ display: "flex", overflowX: "auto", scrollSnapType: "x mandatory", scrollBehavior: "smooth" }}
|
||||
>
|
||||
{MODULES.map((m) => (
|
||||
<div
|
||||
key={m.name}
|
||||
className="px-1 md:px-8"
|
||||
style={{ flex: "0 0 100%", minWidth: 0, scrollSnapAlign: "center" }}
|
||||
>
|
||||
{/* caption */}
|
||||
<div className="flex items-center justify-center gap-3 mb-4">
|
||||
<span className="grid place-items-center shrink-0" style={{ width: 40, height: 35, clipPath: HEX, background: "var(--accent-yellow-light)" }}>
|
||||
<m.Icon size={20} weight="duotone" style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
</span>
|
||||
<div className="text-left">
|
||||
<h3 className="text-[17px] md:text-[19px] font-bold leading-tight" style={{ color: "var(--text-primary)" }}>{m.name}</h3>
|
||||
<p className="text-[13.5px] leading-tight" style={{ color: "var(--text-secondary)" }}>{m.blurb}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* preview frame — display-only module + fade + CTA */}
|
||||
<div
|
||||
className="relative overflow-hidden mx-auto"
|
||||
style={{ background: "#fff", clipPath: CHAMFER, height: "clamp(420px, 60vh, 520px)", filter: "drop-shadow(0 24px 44px rgba(15,23,42,0.14))" }}
|
||||
>
|
||||
<div className="demo-embed absolute inset-0" style={{ pointerEvents: "none" }} aria-hidden>
|
||||
{m.demo}
|
||||
</div>
|
||||
|
||||
{/* bottom fade so the clipped module reads as a peek, not a cut */}
|
||||
<div
|
||||
className="absolute inset-x-0 bottom-0 pointer-events-none"
|
||||
style={{ height: 150, background: "linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 82%)" }}
|
||||
aria-hidden
|
||||
/>
|
||||
|
||||
<Link
|
||||
href={m.href}
|
||||
className="absolute left-1/2 bottom-6 -translate-x-1/2 z-10 inline-flex items-center gap-2 rounded-[var(--radius-button)] font-semibold text-[15px] px-5 py-2.5 transition-transform hover:-translate-y-0.5"
|
||||
style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", boxShadow: "0 10px 24px -6px rgba(241,183,41,0.6)" }}
|
||||
>
|
||||
Live ausprobieren
|
||||
<ArrowRight size={17} weight="bold" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* dots */}
|
||||
<div className="flex items-center justify-center gap-2.5 mt-8">
|
||||
{MODULES.map((m, i) => (
|
||||
<button
|
||||
key={m.name}
|
||||
type="button"
|
||||
aria-label={`Zu ${m.name}`}
|
||||
aria-current={i === active}
|
||||
onClick={() => goTo(i)}
|
||||
className="rounded-full transition-all"
|
||||
style={{
|
||||
width: i === active ? 26 : 9,
|
||||
height: 9,
|
||||
background: i === active ? "var(--accent-yellow)" : "var(--border-light)",
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useRef } from "react";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
|
||||
import { EnvelopeSimple, ChatCircleDots, Confetti } from "@phosphor-icons/react/ssr";
|
||||
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
|
||||
|
||||
// Flat-top hexagon → ties the step nodes into the honeycomb theme.
|
||||
const HEX = "polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)";
|
||||
|
||||
type Step = { n: string; t: string; d: string; Icon: PhosphorIcon };
|
||||
|
||||
const STEPS: Step[] = [
|
||||
{ n: "01", t: "Du trägst dich ein", d: "Eine E-Mail genügt. Kein Vertrag, keine Kreditkarte, komplett unverbindlich.", Icon: EnvelopeSimple },
|
||||
{ n: "02", t: "Wir melden uns", d: "Sobald HiveGrid für deinen Betrieb bereit ist, persönlich und ohne Spam.", Icon: ChatCircleDots },
|
||||
{ n: "03", t: "Du bist von Anfang an dabei", d: "Unter den Ersten, die HiveGrid nutzen und mitgestalten.", Icon: Confetti },
|
||||
];
|
||||
|
||||
// Scroll-linked "how it works" timeline: a fill line grows with scroll progress
|
||||
// and each hex node lights up the moment the fill reaches it.
|
||||
export default function WaitlistNext() {
|
||||
const listRef = useRef<HTMLDivElement>(null);
|
||||
const trackRef = useRef<HTMLSpanElement>(null);
|
||||
const fillRef = useRef<HTMLSpanElement>(null);
|
||||
|
||||
useEffect(() => {
|
||||
const list = listRef.current;
|
||||
const track = trackRef.current;
|
||||
const fill = fillRef.current;
|
||||
if (!list || !track || !fill) return;
|
||||
|
||||
const steps = Array.from(list.querySelectorAll<HTMLElement>("[data-step]"));
|
||||
const hexes = steps.map((s) => s.querySelector<HTMLElement>("[data-node]")!);
|
||||
|
||||
// Reduced motion: skip the scrub, just show the finished state.
|
||||
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
||||
const lr = list.getBoundingClientRect();
|
||||
const first = hexes[0].getBoundingClientRect().top - lr.top + hexes[0].offsetHeight / 2;
|
||||
const last = hexes[hexes.length - 1].getBoundingClientRect().top - lr.top + hexes[hexes.length - 1].offsetHeight / 2;
|
||||
track.style.top = fill.style.top = `${first}px`;
|
||||
track.style.height = fill.style.height = `${last - first}px`;
|
||||
steps.forEach((s) => s.classList.add("is-active"));
|
||||
return;
|
||||
}
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
let centers: number[] = [];
|
||||
let first = 0;
|
||||
let span = 0;
|
||||
|
||||
const measure = () => {
|
||||
const lr = list.getBoundingClientRect();
|
||||
centers = hexes.map((h) => h.getBoundingClientRect().top - lr.top + h.offsetHeight / 2);
|
||||
first = centers[0];
|
||||
span = centers[centers.length - 1] - first;
|
||||
track.style.top = `${first}px`;
|
||||
track.style.height = `${span}px`;
|
||||
fill.style.top = `${first}px`;
|
||||
};
|
||||
|
||||
const ctx = gsap.context(() => {
|
||||
measure();
|
||||
ScrollTrigger.create({
|
||||
trigger: list,
|
||||
start: "top 80%",
|
||||
end: "bottom 62%",
|
||||
scrub: 0.4,
|
||||
onRefresh: measure,
|
||||
onUpdate: (self) => {
|
||||
const filled = self.progress * span;
|
||||
fill.style.height = `${filled}px`;
|
||||
const reach = first + filled;
|
||||
steps.forEach((s, i) => s.classList.toggle("is-active", reach >= centers[i] - 1));
|
||||
},
|
||||
});
|
||||
}, list);
|
||||
|
||||
return () => ctx.revert();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<section className="section-full wl-next" style={{ background: "var(--surface)", paddingBlock: 88 }}>
|
||||
<style>{`
|
||||
.wl-next [data-node]{ background:#E8EAEF; transition:background .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
|
||||
.wl-next [data-node] svg{ color:var(--text-tertiary); transition:color .5s ease; }
|
||||
.wl-next [data-num]{ color:var(--text-tertiary); transition:color .5s ease; }
|
||||
.wl-next [data-title]{ opacity:.82; transition:opacity .5s ease; }
|
||||
.wl-next [data-step] p{ opacity:.66; transition:opacity .5s ease; }
|
||||
.wl-next [data-step].is-active [data-node]{ background:var(--accent-yellow); transform:scale(1.07); filter:drop-shadow(0 8px 18px rgba(241,183,41,.5)); }
|
||||
.wl-next [data-step].is-active [data-node] svg{ color:#171106; }
|
||||
.wl-next [data-step].is-active [data-num]{ color:var(--accent-yellow-dark); }
|
||||
.wl-next [data-step].is-active [data-title]{ opacity:1; }
|
||||
.wl-next [data-step].is-active p{ opacity:1; }
|
||||
.wl-next .rail-head{ position:absolute; left:50%; bottom:-4px; transform:translateX(-50%); width:11px; height:11px; border-radius:50%; background:var(--accent-yellow); box-shadow:0 0 14px 2px rgba(241,183,41,.75); }
|
||||
`}</style>
|
||||
|
||||
<div className="mx-auto flex flex-col items-center gap-12" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div className="flex flex-col items-center gap-3 text-center">
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
SO GEHT'S WEITER
|
||||
</span>
|
||||
<h2 className="text-[28px] md:text-[38px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>
|
||||
Was nach deiner Anmeldung passiert.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div ref={listRef} className="relative w-full" style={{ maxWidth: 560 }}>
|
||||
{/* rail: dim track + animated fill with a glowing head */}
|
||||
<span ref={trackRef} aria-hidden className="absolute rounded-full" style={{ left: 26, width: 2, top: 0, height: 0, background: "var(--border-light)" }} />
|
||||
<span ref={fillRef} aria-hidden className="absolute rounded-full rail-fill" style={{ left: 26, width: 2, top: 0, height: 0, background: "linear-gradient(var(--accent-yellow), var(--accent-yellow-dark))" }}>
|
||||
<span className="rail-head" aria-hidden />
|
||||
</span>
|
||||
|
||||
{STEPS.map((s, i) => (
|
||||
<div
|
||||
key={s.n}
|
||||
data-step
|
||||
className="relative flex items-start gap-5 md:gap-6"
|
||||
style={{ paddingBottom: i === STEPS.length - 1 ? 0 : 56 }}
|
||||
>
|
||||
<span data-node className="relative z-10 grid place-items-center shrink-0" style={{ width: 54, height: 48, clipPath: HEX }}>
|
||||
<s.Icon size={24} weight="duotone" />
|
||||
</span>
|
||||
<div className="pt-1.5">
|
||||
<div className="flex items-baseline gap-2.5">
|
||||
<span data-num className="text-[13px] font-extrabold tracking-[0.14em]">{s.n}</span>
|
||||
<h3 data-title className="text-[18px] md:text-[20px] font-bold" style={{ color: "var(--text-primary)" }}>{s.t}</h3>
|
||||
</div>
|
||||
<p className="text-[14.5px] leading-relaxed mt-1.5 max-w-[420px]" style={{ color: "var(--text-secondary)" }}>{s.d}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import type { Metadata } from "next";
|
||||
import WaitlistForm from "./WaitlistForm";
|
||||
import WaitlistNext from "./WaitlistNext";
|
||||
import WaitlistModules from "./WaitlistModules";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Warteliste",
|
||||
description:
|
||||
"HiveGrid startet bald. Trag dich in die Warteliste ein und gehör zu den Ersten, die loslegen. Kostenlos und unverbindlich.",
|
||||
alternates: { canonical: "/waitlist" },
|
||||
};
|
||||
|
||||
export default function WaitlistPage() {
|
||||
return (
|
||||
<>
|
||||
<WaitlistForm />
|
||||
<WaitlistNext />
|
||||
<WaitlistModules />
|
||||
</>
|
||||
);
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
# Temporäres Landingpage-Archiv
|
||||
|
||||
Dieser Ordner enthält ausschließlich frühere Landingpage-Experimente und wird
|
||||
weder gebaut noch als Route ausgeliefert.
|
||||
|
||||
Enthalten sind:
|
||||
|
||||
- die ehemalige `/playground`-Vorschau inklusive Honeycomb-Grid-Lab,
|
||||
- vier alternative Landingpage-Entwürfe,
|
||||
- das alte Rework-Mapping und die frühere Playground-Rewrite-Logik.
|
||||
|
||||
Die produktive Landingpage liegt jetzt unter `components/landing/` und wird von
|
||||
`app/page.tsx` gerendert. Produktivcode darf nichts aus diesem Archiv importieren.
|
||||
|
||||
**Sobald Landingpage und Honeycomb final abgenommen sind, diesen gesamten
|
||||
Ordner löschen.**
|
||||
+309
@@ -0,0 +1,309 @@
|
||||
# HiveGrid Website — Rework-Mapping
|
||||
|
||||
Arbeitsgrundlage für Team + KI-Agenten während des Landing-Reworks. **Nicht für User.** Lebendes Dokument — bei Bedarf anpassen.
|
||||
|
||||
Zweck: Mapping-Arbeit sichtbar machen — welche Sektion existiert wo, in welchem Zustand, was ist zu tun, welche Referenzen. So können Dejan, Haris, David und die KI parallel und ohne Rückfragen weiterarbeiten.
|
||||
|
||||
---
|
||||
|
||||
## Team & Rollen
|
||||
|
||||
| Person | Rolle |
|
||||
| --- | --- |
|
||||
| **Dejan** | Grundgerüst, Layout, Elemente, Animationen, Infra, Deployment |
|
||||
| **Haris** | Marketing-Texte. Kommt ins Spiel, sobald Dejan das Grundgerüst mit Platzhaltern gebaut hat und die Placeholder gegen finale Texte getauscht werden. |
|
||||
| **David** | Screens/Screenshots (teils animiert) aus der echten HiveGrid-Software. Ersetzen die aktuellen Placeholder-Screens. |
|
||||
| **Noah** | Mitgründer / Handwerksmeister. Ansprechpartner für Content-Entscheidungen (Newsletter, Testimonial-Video, Story). |
|
||||
|
||||
---
|
||||
|
||||
## Environments
|
||||
|
||||
### Live — `hivegrid.de`
|
||||
- Aktuell noch der **v1-Stand** von damals.
|
||||
- Deployed aus Branch `main` via `.gitea/workflows/deploy.yml` → Coolify (App-UUID `d108flfj9rk5hdm6p4b85er7`).
|
||||
|
||||
### Dev — dieser Repo, Branch `dejan`
|
||||
- **Aktueller Arbeits-Branch.**
|
||||
- Route `/playground` = Prototyp der neuen Landing. Wird später zur Startseite (`/`).
|
||||
- Die aktuelle `/` = Ableger von v1, bleibt bis Playground produktionsreif ist.
|
||||
- Playground ist in Production per `notFound()` gesperrt + `noindex` (siehe `app/playground/page.tsx`).
|
||||
|
||||
### Vorlage / Inspiration
|
||||
- `/Users/dejancosic/Downloads/hivegrid-v3.html` — Haris' Vorarbeit, **lokal auf Dejans Rechner** (nicht im Repo).
|
||||
- Nur zur Inspiration. Keine finalen Texte, Reihenfolge nicht bindend.
|
||||
|
||||
---
|
||||
|
||||
## User-Journey (Zielaufbau der neuen Landing)
|
||||
|
||||
Reihenfolge auf `/playground` iterieren, dann in die echte Landing migrieren. Jede Sektion ist unten mit Element-Referenz, Code-Pfad, Status und offenen Punkten gemapped.
|
||||
|
||||
### 1. Hero — Menschlichkeit
|
||||
- **Idee**: echtes Foto oder kurze Video-Aufnahme aus unserem Büro. Kein rendered Dashboard-Screenshot mehr. Transportiert Schlichtheit + „vom Handwerker für den Handwerker", nicht vibe-coded.
|
||||
- **Referenzen (Inspiration)**:
|
||||
- <https://pro.bsport.io> — schlichter Foto-Hero
|
||||
- <https://plancraft.com/de-de> — Handwerker-Fokus mit echten Aufnahmen
|
||||
- **Aktuell auf `/playground`**: Text-Hero „Verknüpfen statt ersetzen" mit Honeycomb rechts — wandert zu Sektion 2.
|
||||
- **TODO**:
|
||||
- Hero neu bauen als Foto/Video-First-Hero
|
||||
- Asset von **David** (Bürofoto/-video)
|
||||
- Kernbotschaft-Copy von **Haris**
|
||||
|
||||
### 2. Pain-Point — „Verknüpfen statt ersetzen"
|
||||
- **Element**: Honeycomb mit Tool-Logos (kwp, DATEV, Google Drive, Teams, Outlook, Google Calendar) + zentralem HiveGrid-Hub, verbunden über glimmende Datenlinien.
|
||||
- **Code**: `app/playground/HoneycombSection.tsx`
|
||||
- **Status**: gebaut ✅ (bare + inline Varianten für lg+ und <lg)
|
||||
- **Details**: Kernbestandteil dieser Sektion. Drum herum: spezifische Probleme + spezifische Zahlen (Copy von Haris).
|
||||
|
||||
### 3. Lösungen — ScreenshotAccordion („Scroller")
|
||||
- **Element**: Interaktiver Modul-Scroller. Links Accordion mit Modul-Namen, rechts Screenshot des aktiven Moduls. Auto-Cycle + Klick.
|
||||
- **Code**: `components/sections/ScreenshotAccordion.tsx`
|
||||
- **Aktuell auf `hivegrid.de`**: Module „Verwaltung, Planung, Baustelle, Services" mit Screenshots pro Modul.
|
||||
- **Status**: existiert ✅ — Content pflegen (Module + Verweise auf `/produkt/*`)
|
||||
- **TODO**:
|
||||
- Placeholder-Screens (`public/images/screenshot-*.webp`) durch echte Software-Screens von **David** ersetzen
|
||||
- ggf. Modul-Liste an neue Produkt-Struktur angleichen
|
||||
|
||||
### 4. Noahs Geschichte
|
||||
- **Element**: Dark Section mit Noah-Foto + Gründer-Story-Text.
|
||||
- **Code**: `app/playground/PlaygroundClient.tsx` (Story-Section, `#0f1a2e` Background, 2-Col-Layout ab lg)
|
||||
- **Status**: existiert auf `/playground` ✅, aber **muss umgebaut und cooler** werden.
|
||||
- **TODO**:
|
||||
- Design-Overhaul (Prototyp auf `/playground` iterieren)
|
||||
- Idee: Video statt/zusätzlich zum Foto — Noah erzählt die Story on-camera
|
||||
- Text-Feinschliff mit **Haris**
|
||||
|
||||
### 5. Vergleich — HiveGrid vs. andere Lösungen
|
||||
- **Element**: Existiert bereits in Haris' Vorlage `/Users/dejancosic/Downloads/hivegrid-v3.html`
|
||||
- **Status**: nach `/playground` portieren
|
||||
- **TODO**: Element aus HTML-Vorlage übernehmen, in HiveGrid-Tokens/Tailwind übersetzen, in Playground einbauen
|
||||
|
||||
### 6. DSGVO-Sicherheit — Pattern Interruption
|
||||
- **Element**: Auch in Haris' HTML-Vorlage
|
||||
- **Details**: „Pattern Interruption" = **bewusster Design-Bruch**. Andere Farbe als Brand Identity (nicht Yellow/Teal), damit das Auge stolpert und die DSGVO-Message hängen bleibt. Ist so gewollt und soll bleiben.
|
||||
- **Status**: nach `/playground` portieren
|
||||
- **TODO**: Übernehmen aus HTML-Vorlage, Farb-/Style-Bruch beibehalten
|
||||
|
||||
### 7. FAQ
|
||||
- **Element**: Accordion-FAQ
|
||||
- **Code**: `components/sections/FAQSection.tsx`, Daten in `lib/faqs.ts`
|
||||
- **Status**: existiert auf live und dev ✅ — passt so
|
||||
- **TODO**: keine (evtl. Content-Refresh mit Haris)
|
||||
|
||||
### 8. CTAs — „Understory"-Style vereint mit HiveGrid-Design
|
||||
- **Referenzen**:
|
||||
- Style-Idee: <https://www.cta.gallery/cta/understory>
|
||||
- Demo-Flow: <https://pro.bsport.io/de/demo>
|
||||
- **Aktuell auf live**: gelbe CTA-Section mit „Demo buchen" + „Kontakt" Buttons (siehe `components/ui/CTABanner.tsx`)
|
||||
- **Plan**: Kombinieren
|
||||
- Understory-Layout (cooles Bild + starke Headline + CTA-Reihe)
|
||||
- HiveGrid-Farben (gelber Section-BG wie aktuell live)
|
||||
- Beide Buttons: „Demo buchen" (primär → Lead-Formular) + „Kontakt" (sekundär)
|
||||
- **TODO**:
|
||||
- `CTABanner.tsx` erweitern um Image-Slot
|
||||
- Bild-Asset von **David**
|
||||
- Layout an Understory anlehnen, Style-Tokens (Yellow) behalten
|
||||
|
||||
### 9. Lead-Formular im Footer
|
||||
- **Referenz**: <https://tool-ctrl.de> — Footer-Formular
|
||||
- **Aktuell auf live**: Lead-Formular nur unter `/demo`. Footer hat nur Newsletter + Links.
|
||||
- **TODO**:
|
||||
- Formular in `components/layout/Footer.tsx` einbauen (analog tool-ctrl.de Footer)
|
||||
- Dasselbe Backend nutzen wie `/demo` → `POST /api/demo-request` (siehe Lead-Flow unten)
|
||||
|
||||
### 10. Newsletter
|
||||
- **Status**: TBD mit Noah — entscheiden ob Newsletter bleibt oder raus.
|
||||
- **Aktuell**: Newsletter-Signup in `components/layout/Footer.tsx` eingebaut (+ Flow-Seiten unter `/newsletter/*`).
|
||||
- **TODO**: Abstimmung Noah → Entscheidung ja/nein → ggf. Newsletter-UI + Routes entfernen
|
||||
|
||||
---
|
||||
|
||||
## Element-Inventar & Cross-Mapping
|
||||
|
||||
Chronologisches Inventar jeder der drei Landingpages, gefolgt von einer Cross-Mapping-Tabelle, die zeigt welche Sektion welchen Zweck auf welchem Stand erfüllt. Basis für die Entscheidungen: übernehmen / umbauen / droppen / verschieben.
|
||||
|
||||
### Inventar — `hivegrid.de` (Live, v1)
|
||||
|
||||
Quelle: `app/page.tsx` auf `main`.
|
||||
|
||||
| # | Element (Code) | Beschreibung | Zweck |
|
||||
|---|---|---|---|
|
||||
| 1 | `HeroSection` | Badge „SHK-SOFTWARE", Headline „Ihr Betrieb läuft organisiert, automatisiert und effizient.", Sub-Copy, 2 CTAs, Dashboard-Screenshot rechts, heyData-DSGVO-Siegel als Overlay | Wertversprechen + Handlungsaufforderung |
|
||||
| 2 | `ScreenshotAccordion` | Badge „LÖSUNG"; „Der effizienteste Planungs- und Vertriebsprozess."; Modul-Accordion (Verwaltung / Planung / Baustelle / Services) mit Auto-Cycle + Screenshot rechts | Module durchklickbar zeigen |
|
||||
| 3 | `FeaturesGrid` | 6 Feature-Cards mit Lucide-Icons (die 6 Produkte) | Produkt-Overview |
|
||||
| 4 | `ChatDemoSectionClient` | Interaktive Phone-Preview mit Rules-basierten Antworten aus `lib/chat-demo/assistant.ts` | „Wie fühlt sich das an"-Demo |
|
||||
| 5 | `HowItWorksSection` | 4 Schritt-Karten (01–04) mit Screens: Workflow erstellen → Trigger → Aktionen → Aktivieren | Prozess erklären |
|
||||
| 6 | `AdvantagesSection` | 4 Vorteil-Kacheln (DSGVO, Mobile, Speed, Support) + heyData-Siegel | Trust / USPs |
|
||||
| 7 | `CTABanner` (1) | „Bereit, Ihren Betrieb zu digitalisieren?" — 1 CTA (Demo) | Mid-Page-CTA |
|
||||
| 8 | `FAQSection` | 6 FAQ (Datenquelle: `lib/faqs.ts`) | Einwände abbauen |
|
||||
| 9 | `CTABanner` (2) | „Starten Sie jetzt mit HiveGrid." — Demo + Kontakt | Final-CTA |
|
||||
|
||||
### Inventar — `/playground` (Dev, Branch `dejan`)
|
||||
|
||||
Quelle: `app/playground/PlaygroundClient.tsx`.
|
||||
|
||||
| # | Element (Code / Ort) | Beschreibung | Zweck |
|
||||
|---|---|---|---|
|
||||
| 0 | Dev-Marker (inline) | Gelber Streifen „DEV PLAYGROUND — nicht live" | Kennzeichnung als Prototyp |
|
||||
| 1 | Hero (inline) + `HoneycombSection` | „Verknüpfen statt ersetzen." mit Yellow-Highlight, 2 CTAs; Honeycomb als Full-Bleed-BG rechts (lg+) bzw. inline unter Text (<lg) | Hook + Kernbotschaft + Tool-Visual |
|
||||
| 2 | Noah-Story (inline) | Dark Section (`#0f1a2e`), Noah-Foto + Story „Die Geschichte fängt auf der Baustelle an." + Autor-Card | Social Proof / Origin |
|
||||
| 3 | Feature-Grid (inline) | 6 Feature-Karten (analog Live, Placeholder-Text) | Produkt-Overview |
|
||||
| 4 | Stats-Section (inline) | 3 GSAP-Count-Up KPIs (1200+ Betriebe, 8 Std/Woche gespart, 99,9 % Verfügbarkeit) | Zahlen-Wirkung |
|
||||
| 5 | How-it-works (inline) | 3 Schritt-Karten mit scrub-Progress-Linie (Einrichten / Verbinden / Automatisieren) | Prozess minimalistisch |
|
||||
| 6 | Dark CTA banner (inline) | „Ein Call-to-Action mit Nachdruck." — Demo + Kontakt | Mid/Final-CTA |
|
||||
| 7 | FAQ (inline, playground-eigene 4 Fragen) | Placeholder-`<details>` | FAQ als UI-Demo, kein Live-Content |
|
||||
|
||||
### Inventar — `hivegrid-v3.html` (Haris' Vorlage)
|
||||
|
||||
Quelle: `/Users/dejancosic/Downloads/hivegrid-v3.html`. Nur Landing (Modul-Page und globaler Footer weggelassen).
|
||||
|
||||
| # | Element (v3) | Beschreibung | Zweck |
|
||||
|---|---|---|---|
|
||||
| 1 | Hero | „Dein ganzer Betrieb. Endlich auf einen Blick." Gründer-Illustration (2 Handwerker Rücken-an-Rücken), 2 CTAs, 3 Trust-Badges, Float-Badge „∞ Eine Plattform statt 7 Insellösungen" | Wertversprechen + Menschlichkeit |
|
||||
| 2 | Proof Strip | Partner-Logo + Stats „7 → 1 Programme" + Zeit-Ersparnis | Instant Social Proof |
|
||||
| 3 | Problem Section | „Das Problem: Wechseln? Lieber nicht." 3 Cards + Chaos-Visual (7 zerstreute Tools) | Pain-Point konkret machen |
|
||||
| 4 | Solution Section | „Die Lösung: Wir bauen auf dem auf, was du schon hast." 3 Bullets + Workflow-Flow-Diagramm | Lösungs-Positioning |
|
||||
| 5 | Story Section | Navy-BG, Noah-Foto, Story + 3 Stats (7 Programme → 1 Plattform → X Std/Woche) | Social Proof + Origin |
|
||||
| 6 | Compare Section | „Andere Lösungen vs. HiveGrid" — 2-Spalten-Vergleich mit X/✓, EMPFOHLEN-Pill | Wettbewerbs-Abgrenzung |
|
||||
| 7 | Trust Band | Teal-BG (**Pattern Interruption**); Deutschland-Flagge + „100 % Made in Germany" + 4 Trust-Items | Vertrauen (DSGVO) mit visuellem Bruch |
|
||||
| 8 | Final CTA | Navy-BG „In 30 Minuten siehst du deinen ganzen Betrieb" + 2 CTAs (Demo + Erstgespräch) + „Kein Vertrag / keine Kreditkarte" | Final-Aktion |
|
||||
| 9 | About Founders | „Über uns: Zwei Welten. Ein Team." 2 Gründer-Kacheln (Handwerk & Technik) | Team-Vorstellung |
|
||||
|
||||
### Cross-Mapping (Zweck × Stand)
|
||||
|
||||
Zeigt für jeden Zweck / jede Journey-Rolle, welche Sektion sie auf welchem Stand erfüllt. Leere Zelle = nicht vorhanden.
|
||||
|
||||
| Zweck / Journey-Punkt | hivegrid.de (Live) | /playground (Dev) | v3.html (Haris) |
|
||||
|---|---|---|---|
|
||||
| **Hook / Wertversprechen (Hero)** | #1 HeroSection (Dashboard-Screenshot) | #1 Text-Hero + Honeycomb | #1 Gründer-Illustration + Float-Badge |
|
||||
| **Instant Social Proof** | — | — | #2 Proof Strip |
|
||||
| **Pain-Point (Journey 2)** | — | #1 Honeycomb (visuell) | #3 Problem + Chaos-Visual |
|
||||
| **Lösungs-Positioning** | — | — | #4 Solution + Flow-Diagramm |
|
||||
| **Modul-Übersicht als Scroller (Journey 3)** | #2 `ScreenshotAccordion` ✅ | — | (auf v3-Modul-Page, nicht Landing) |
|
||||
| **Produkt-Cards (Sekundär-Overview)** | #3 `FeaturesGrid` | #3 Feature-Grid | — |
|
||||
| **Chat-Demo (Live-only)** | #4 `ChatDemoSectionClient` | — | — |
|
||||
| **Wie funktioniert's** | #5 `HowItWorksSection` | #5 How-it-works | (in Solution enthalten) |
|
||||
| **KPI-Zahlen** | — | #4 Stats (GSAP Count-up) | (in Story enthalten) |
|
||||
| **Trust / Vorteile** | #6 `AdvantagesSection` + heyData | — | #7 Trust Band |
|
||||
| **Story / Noah (Journey 4)** | — | #2 Dark Story | #5 Navy Story |
|
||||
| **Vergleich vs. andere (Journey 5)** | — | — | #6 Compare Section ✅ |
|
||||
| **DSGVO + Pattern Interruption (Journey 6)** | (nur als Kachel in Advantages) | — | #7 Teal Trust Band ✅ |
|
||||
| **FAQ (Journey 7)** | #8 `FAQSection` ✅ | #7 (Placeholder-Content) | — |
|
||||
| **CTAs (Journey 8)** | #7 + #9 `CTABanner` | #6 Dark CTA | #8 Navy Final CTA |
|
||||
| **Über uns / Team** | (eigene Page `/ueber-uns`) | — | #9 About Founders |
|
||||
|
||||
**Legende:** ✅ = bevorzugte Quelle für die neue Landing.
|
||||
|
||||
**Beobachtungen zur weiteren Diskussion:**
|
||||
- v3-Elemente **Proof Strip (#2)**, **Problem (#3)**, **Solution (#4)** existieren aktuell weder auf Live noch auf Playground → **komplett neu bauen** oder aus HTML portieren
|
||||
- **Compare (#6, v3)** und **Trust Band mit Pattern Interruption (#7, v3)** existieren **nur** auf v3 → **aus HTML portieren** (siehe Journey-Punkte 5 & 6)
|
||||
- **ChatDemo** existiert nur auf Live → Entscheidung: übernehmen oder droppen? (nicht in Journey enthalten)
|
||||
- **HowItWorksSection** existiert auf Live und Playground → auf Playground stark reduziert (3 statt 4 Schritte, minimalistischer). Entscheidung: welche Version behalten?
|
||||
- **AdvantagesSection** (Live) und **v3 Trust Band** überlappen konzeptionell → nur eine Variante auf der neuen Landing
|
||||
- **Playground-Hero (Text + Honeycomb)** wird laut Journey verschoben: Hero (1) wird echtes Foto/Video, Honeycomb rutscht in Sektion 2 (Pain-Point)
|
||||
|
||||
---
|
||||
|
||||
## Content-Status
|
||||
|
||||
- **Alle Texte auf `/playground`** sind Platzhalter (Lorem / wip-Wording).
|
||||
- **Placeholder-Screens** liegen in `public/images/screenshot-*.webp` und `public/images/step-*.webp`. Werden durch Davids echte Screens ersetzt.
|
||||
- **Finale Texte** kommen von Haris, sobald das Grundgerüst steht.
|
||||
|
||||
**Konvention:** Platzhalter mit `TODO(haris)` oder `// PLACEHOLDER` markieren, damit sie beim Text-Swap gefunden werden. Placeholder-Screens einheitlich in `public/images/` benennen.
|
||||
|
||||
---
|
||||
|
||||
## Lead-Flow
|
||||
|
||||
Details: `app/api/demo-request/route.ts` + `lib/db/demo-requests.ts`
|
||||
|
||||
```
|
||||
Form → POST /api/demo-request
|
||||
↓
|
||||
forwardToInbox() ← primary
|
||||
→ POST {LEAD_INBOX_URL}/v1/leads
|
||||
Authorization: Bearer {LEAD_INBOX_KEY}
|
||||
↓ (ok?)
|
||||
ja → ✅ fertig
|
||||
nein → insertDemoRequest() → /app/data/demo-requests.db (SQLite fallback)
|
||||
```
|
||||
|
||||
- `LEAD_INBOX_URL` + `LEAD_INBOX_KEY` als Env-Vars in Coolify setzen → Leads gehen an die zentrale Inbox.
|
||||
- **⚠️ SQLite-Fallback ist ephemer**: In `infrastructure/docker-compose.production.yml` ist **kein Volume** für `/app/data` gemountet → jedes Deployment löscht die Fallback-DB. TODO: `hivegrid_leads:/app/data` Volume ergänzen, falls Fallback verlässlich sein soll.
|
||||
- **Kein Admin-UI**: Fallback-Leads nur via `docker exec` auslesbar.
|
||||
|
||||
---
|
||||
|
||||
## SEO — Fundament erledigt
|
||||
|
||||
Siehe Commit `d84175e feat(seo): SEO foundation`.
|
||||
|
||||
Geliefert:
|
||||
- `robots.ts`, `sitemap.ts`, `manifest.ts`, `opengraph-image.tsx` (+ twitter re-export)
|
||||
- JSON-LD global: `Organization`, `WebSite`; Home: `FAQPage`; Produktseiten: `SoftwareApplication` + `BreadcrumbList`
|
||||
- Erweiterte Metadata + Canonical + Twitter Cards + Security Headers
|
||||
- Client-only Pages (`/kontakt`, `/demo`, `/newsletter/abmelden`) in Server-Wrapper + `*Form.tsx` gesplittet, damit `metadata` exportierbar
|
||||
- Hero-Screenshot auf `next/image` mit `priority` (LCP-Win)
|
||||
|
||||
Offen:
|
||||
- Google Search Console: Verifizierungs-Token in `app/layout.tsx` → `metadata.verification.google` eintragen.
|
||||
- Optional: statisches `og-default.png` (aktuell wird OG-Bild programmatisch generiert).
|
||||
- **Rechtlich klären**: `/agb`-Body nennt „HiveGrid GmbH" + „Gerichtsstand Hamburg", `/impressum` sagt „R&D² UG (haftungsbeschränkt)" in Bruchsal. Ausrichten.
|
||||
|
||||
---
|
||||
|
||||
## Konventionen
|
||||
|
||||
- **Sprache**: UI = Deutsch. Code-Kommentare = Englisch.
|
||||
- **Next.js 16**: **breaking changes zu älteren Versionen** — vor Code-Änderungen Docs in `node_modules/next/dist/docs/` prüfen (siehe `AGENTS.md`).
|
||||
- **Prototyping**: neue Sektionen/Animationen zuerst auf `/playground` bauen, dann in die echte Landing übernehmen.
|
||||
- **Tailwind v4** (`@tailwindcss/postcss`), Design-Tokens in `app/globals.css` als CSS-Variablen.
|
||||
- **Animationen**: GSAP + `useGSAP` in Client Components, alles hinter `prefers-reduced-motion` gaten.
|
||||
|
||||
---
|
||||
|
||||
## Roadmap
|
||||
|
||||
**Build (Dejan / KI):**
|
||||
- [x] SEO Foundation
|
||||
- [x] Playground scaffolding (Hero mit Honeycomb, Noah-Story, Feature-Grid, Stats, How-it-works, CTA, FAQ)
|
||||
- [ ] Hero (1) neu bauen als Foto/Video-First-Hero
|
||||
- [ ] Pain-Point-Sektion (2) um Honeycomb herum bauen (Text + Zahlen)
|
||||
- [ ] ScreenshotAccordion (3) auf Playground einbauen, an neue Produkt-Struktur angleichen
|
||||
- [ ] Noah-Story (4) redesignen (Prototyp-Iterationen)
|
||||
- [ ] Vergleichs-Sektion (5) aus Haris' HTML portieren
|
||||
- [ ] DSGVO-Sektion (6) mit Pattern Interruption aus Haris' HTML portieren
|
||||
- [ ] CTA-Sektion (8) im „understory"-Stil bauen (Image-Slot in `CTABanner.tsx`)
|
||||
- [ ] Lead-Formular in Footer (9) integrieren
|
||||
- [ ] Playground → echte Landing migrieren (`/playground` Content wird zu `/`)
|
||||
|
||||
**Content / Assets:**
|
||||
- [ ] Haris: Platzhalter-Texte durch finalen Content ersetzen (`TODO(haris)` Marker suchen)
|
||||
- [ ] David: Bürofoto/-video für Hero (1)
|
||||
- [ ] David: echte Software-Screens für ScreenshotAccordion (3) → ersetzen `public/images/screenshot-*.webp`
|
||||
- [ ] David: Bild für neue CTA-Sektion (8)
|
||||
- [ ] Noah: Entscheidung Newsletter ja/nein (10)
|
||||
- [ ] Noah: ggf. Testimonial-Video für Story-Sektion (4)
|
||||
|
||||
**Infra / Legal:**
|
||||
- [ ] Lead-Inbox Volume-Mount in production docker-compose (falls SQLite-Fallback zählen soll)
|
||||
- [ ] Rechtliche Entity-Klärung (GmbH vs. UG) → AGB-Body + Footer-Copyright angleichen
|
||||
- [ ] Google Search Console verifizieren + Token in `metadata.verification.google` eintragen
|
||||
|
||||
**Release:**
|
||||
- [ ] Merge `dejan` → `main` → Deploy → hivegrid.de auf neue Version
|
||||
|
||||
---
|
||||
|
||||
## Nützliche Referenzen
|
||||
|
||||
- Repo: <https://git.tool-ctrl.de/toolctrl-labs/HiveGrid-Website>
|
||||
- Live: <https://hivegrid.de>
|
||||
- Coolify (Deploy): App-UUID `d108flfj9rk5hdm6p4b85er7`
|
||||
- Deploy-Workflow: `.gitea/workflows/deploy.yml`
|
||||
- Design-Tokens: `app/globals.css`
|
||||
- Produkt-Daten: `lib/produkt-daten.ts`
|
||||
- FAQ-Daten: `lib/faqs.ts`
|
||||
- Site-Config (Nav, Footer, Produkte): `lib/site.config.ts`
|
||||
+390
@@ -0,0 +1,390 @@
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import {
|
||||
ArrowRight,
|
||||
ArrowUpRight,
|
||||
Check,
|
||||
ChevronDown,
|
||||
Headphones,
|
||||
MapPin,
|
||||
Server,
|
||||
ShieldCheck,
|
||||
X,
|
||||
} from "lucide-react";
|
||||
import {
|
||||
comparisonRows,
|
||||
faqItems,
|
||||
labVersions,
|
||||
landingCopy,
|
||||
solutionModules,
|
||||
tools,
|
||||
trustItems,
|
||||
type LabVariant,
|
||||
} from "./content";
|
||||
import styles from "./lab.module.css";
|
||||
|
||||
export function cx(...classes: Array<string | false | null | undefined>) {
|
||||
return classes.filter(Boolean).join(" ");
|
||||
}
|
||||
|
||||
export function LabBar({ active }: { active?: LabVariant }) {
|
||||
return (
|
||||
<aside className={styles.labBar} aria-label="Temporäre Landingpage-Versionen">
|
||||
<Link href="/landingpage-lab-muss-geloescht-werden" className={styles.labWarning}>
|
||||
<span className={styles.warningDot} aria-hidden />
|
||||
TEMP · MUSS GELÖSCHT WERDEN
|
||||
</Link>
|
||||
<nav className={styles.labNav} aria-label="Version wechseln">
|
||||
{labVersions.map((version) => (
|
||||
<Link
|
||||
key={version.slug}
|
||||
href={`/landingpage-lab-muss-geloescht-werden/${version.slug}`}
|
||||
className={cx(styles.labNavLink, active === version.slug && styles.labNavLinkActive)}
|
||||
aria-current={active === version.slug ? "page" : undefined}
|
||||
>
|
||||
<span>{version.index}</span>
|
||||
{version.name}
|
||||
</Link>
|
||||
))}
|
||||
</nav>
|
||||
</aside>
|
||||
);
|
||||
}
|
||||
|
||||
export function HeroCopy({
|
||||
kicker,
|
||||
compact = false,
|
||||
}: {
|
||||
kicker?: string;
|
||||
compact?: boolean;
|
||||
}) {
|
||||
return (
|
||||
<div className={cx(styles.heroCopy, compact && styles.heroCopyCompact)} data-hero-copy>
|
||||
<div className={styles.heroEyebrow} data-hero-item>
|
||||
<span className={styles.eyebrowSignal} aria-hidden />
|
||||
{kicker ?? landingCopy.hero.eyebrow}
|
||||
</div>
|
||||
<h1 className={styles.heroTitle} data-hero-item>
|
||||
Neue Software? Brauchst du nicht.
|
||||
<br />
|
||||
HiveGrid <span>verbindet</span>, was du schon hast.
|
||||
</h1>
|
||||
<p className={styles.heroBody} data-hero-item>
|
||||
{landingCopy.hero.body}
|
||||
</p>
|
||||
<div className={styles.heroActions} data-hero-item>
|
||||
<Link href="/waitlist" className={styles.primaryButton}>
|
||||
Auf die Warteliste
|
||||
<ArrowRight size={17} aria-hidden />
|
||||
</Link>
|
||||
<Link href="/kunden" className={styles.secondaryButtonDark}>
|
||||
Für wen ist HiveGrid?
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function SectionHeading({
|
||||
eyebrow,
|
||||
children,
|
||||
body,
|
||||
dark = false,
|
||||
align = "left",
|
||||
}: {
|
||||
eyebrow: string;
|
||||
children: React.ReactNode;
|
||||
body?: string;
|
||||
dark?: boolean;
|
||||
align?: "left" | "center";
|
||||
}) {
|
||||
return (
|
||||
<header
|
||||
className={cx(
|
||||
styles.sectionHeading,
|
||||
dark && styles.sectionHeadingDark,
|
||||
align === "center" && styles.sectionHeadingCenter
|
||||
)}
|
||||
data-reveal="up"
|
||||
>
|
||||
<span className={styles.sectionEyebrow}>{eyebrow}</span>
|
||||
<h2>{children}</h2>
|
||||
{body ? <p>{body}</p> : null}
|
||||
</header>
|
||||
);
|
||||
}
|
||||
|
||||
export function IntegrationsTitle({ dark = false, align = "left" }: { dark?: boolean; align?: "left" | "center" }) {
|
||||
return (
|
||||
<SectionHeading
|
||||
eyebrow={landingCopy.integrations.eyebrow}
|
||||
body={landingCopy.integrations.body}
|
||||
dark={dark}
|
||||
align={align}
|
||||
>
|
||||
{landingCopy.integrations.titleBeforeAccent} <span>{landingCopy.integrations.titleAccent}</span>
|
||||
</SectionHeading>
|
||||
);
|
||||
}
|
||||
|
||||
export function SolutionsTitle({ dark = false, align = "left" }: { dark?: boolean; align?: "left" | "center" }) {
|
||||
return (
|
||||
<SectionHeading
|
||||
eyebrow={landingCopy.solutions.eyebrow}
|
||||
body={landingCopy.solutions.body}
|
||||
dark={dark}
|
||||
align={align}
|
||||
>
|
||||
{landingCopy.solutions.title}
|
||||
</SectionHeading>
|
||||
);
|
||||
}
|
||||
|
||||
export function ToolChip({ index, small = false }: { index: number; small?: boolean }) {
|
||||
const tool = tools[index % tools.length];
|
||||
return (
|
||||
<div className={cx(styles.toolChip, small && styles.toolChipSmall)} data-tool-chip>
|
||||
<span className={styles.toolIcon}>
|
||||
<Image src={tool.asset} alt="" width={32} height={32} sizes="32px" />
|
||||
</span>
|
||||
<span>{tool.name}</span>
|
||||
<span className={styles.toolStatus} aria-label="Verbunden" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function ProductScreenshot({
|
||||
moduleIndex,
|
||||
priority = false,
|
||||
}: {
|
||||
moduleIndex: number;
|
||||
priority?: boolean;
|
||||
}) {
|
||||
const solution = solutionModules[moduleIndex];
|
||||
return (
|
||||
<div className={styles.productScreenshot}>
|
||||
<div className={styles.productTopbar}>
|
||||
<span className={styles.productDots} aria-hidden>
|
||||
<i />
|
||||
<i />
|
||||
<i />
|
||||
</span>
|
||||
<span>{solution.title}</span>
|
||||
<span className={styles.productLive}>{priority ? "LIVE" : "VORSCHAU"}</span>
|
||||
</div>
|
||||
<div className={styles.productImage}>
|
||||
<Image
|
||||
src={solution.screenshot}
|
||||
alt={`${solution.title} in HiveGrid`}
|
||||
fill
|
||||
sizes="(max-width: 800px) 92vw, 720px"
|
||||
priority={priority}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function SolutionCard({
|
||||
index,
|
||||
visual = true,
|
||||
}: {
|
||||
index: number;
|
||||
visual?: boolean;
|
||||
}) {
|
||||
const solution = solutionModules[index];
|
||||
return (
|
||||
<article className={styles.solutionCard} data-reveal={index % 2 === 0 ? "left" : "right"}>
|
||||
<div className={styles.solutionMeta}>
|
||||
<span>0{index + 1}</span>
|
||||
<span>{solution.metric}</span>
|
||||
</div>
|
||||
<div className={styles.solutionCopy}>
|
||||
<h3>{solution.title}</h3>
|
||||
<p>{solution.body}</p>
|
||||
{solution.href ? (
|
||||
<Link href={solution.href} className={styles.textLink}>
|
||||
Bereich ansehen <ArrowUpRight size={16} aria-hidden />
|
||||
</Link>
|
||||
) : null}
|
||||
</div>
|
||||
{visual ? <ProductScreenshot moduleIndex={index} /> : null}
|
||||
</article>
|
||||
);
|
||||
}
|
||||
|
||||
export function CustomerHeading() {
|
||||
return (
|
||||
<h2 className={styles.customerTitle}>
|
||||
{landingCopy.customer.titleBeforeAccent} <span>{landingCopy.customer.titleAccent}</span>{" "}
|
||||
{landingCopy.customer.titleAfterAccent}
|
||||
</h2>
|
||||
);
|
||||
}
|
||||
|
||||
export function StoryText({ compact = false }: { compact?: boolean }) {
|
||||
return (
|
||||
<div className={cx(styles.storyText, compact && styles.storyTextCompact)} data-reveal="up">
|
||||
<span className={styles.storyEyebrow}>{landingCopy.story.eyebrow}</span>
|
||||
<h2>{landingCopy.story.title}</h2>
|
||||
<div className={styles.storyParagraphs}>
|
||||
{landingCopy.story.paragraphs.map((paragraph, index) => (
|
||||
<p key={paragraph}>
|
||||
{index === 0 ? <strong>Ich bin Noah Geerkens.</strong> : null}
|
||||
{index === 0 ? paragraph.replace("Ich bin Noah Geerkens.", "") : paragraph}
|
||||
</p>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function NoahPortrait({ wide = false }: { wide?: boolean }) {
|
||||
return (
|
||||
<figure className={cx(styles.noahPortrait, wide && styles.noahPortraitWide)} data-reveal="scale">
|
||||
<Image
|
||||
src="/images/team/noah.webp"
|
||||
alt="Noah Geerkens, Mitgründer und Handwerksmeister"
|
||||
fill
|
||||
sizes={wide ? "(max-width: 800px) 92vw, 960px" : "(max-width: 800px) 92vw, 520px"}
|
||||
/>
|
||||
<figcaption>
|
||||
<strong>Noah Geerkens</strong>
|
||||
<span>Mitgründer & Handwerksmeister</span>
|
||||
</figcaption>
|
||||
</figure>
|
||||
);
|
||||
}
|
||||
|
||||
export function ComparisonTitle({ dark = false, align = "center" }: { dark?: boolean; align?: "left" | "center" }) {
|
||||
return (
|
||||
<SectionHeading eyebrow={landingCopy.comparison.eyebrow} dark={dark} align={align}>
|
||||
{landingCopy.comparison.titleBefore} <em>{landingCopy.comparison.versus}</em>{" "}
|
||||
{landingCopy.comparison.titleAfter}
|
||||
</SectionHeading>
|
||||
);
|
||||
}
|
||||
|
||||
export function ComparisonGrid() {
|
||||
return (
|
||||
<div className={styles.comparisonGrid} data-stagger>
|
||||
<article className={styles.comparisonBad}>
|
||||
<div className={styles.comparisonColumnTitle}>Andere Lösungen</div>
|
||||
<ul>
|
||||
{comparisonRows.map(([bad]) => (
|
||||
<li key={bad}>
|
||||
<X size={18} aria-hidden />
|
||||
<span>{bad}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</article>
|
||||
<article className={styles.comparisonGood}>
|
||||
<div className={styles.comparisonColumnTitle}>HiveGrid</div>
|
||||
<ul>
|
||||
{comparisonRows.map(([, good]) => (
|
||||
<li key={good}>
|
||||
<Check size={18} aria-hidden />
|
||||
<span>{good}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</article>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const trustIcons = [Server, ShieldCheck, MapPin, Headphones] as const;
|
||||
|
||||
export function TrustBand() {
|
||||
return (
|
||||
<section className={styles.trustBand}>
|
||||
<div className={styles.trustIntro} data-reveal="left">
|
||||
<span className={styles.germanyFlag} aria-hidden>
|
||||
<i />
|
||||
<i />
|
||||
<i />
|
||||
</span>
|
||||
<div>
|
||||
<h2>{landingCopy.trust.title}</h2>
|
||||
<p>{landingCopy.trust.body}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.trustList} data-stagger>
|
||||
{trustItems.map((item, index) => {
|
||||
const Icon = trustIcons[index];
|
||||
return (
|
||||
<div key={item}>
|
||||
<Icon size={18} aria-hidden />
|
||||
<span>{item}</span>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
export function FaqSection({ dark = false }: { dark?: boolean }) {
|
||||
return (
|
||||
<section className={cx(styles.faqSection, dark && styles.faqSectionDark)}>
|
||||
<SectionHeading
|
||||
eyebrow={landingCopy.faq.eyebrow}
|
||||
body={landingCopy.faq.body}
|
||||
dark={dark}
|
||||
align="center"
|
||||
>
|
||||
{landingCopy.faq.title}
|
||||
</SectionHeading>
|
||||
<div className={styles.faqList} data-stagger>
|
||||
{faqItems.map((item, index) => (
|
||||
<details key={item.q} className={styles.faqItem} open={index === 0}>
|
||||
<summary>
|
||||
<span>{item.q}</span>
|
||||
<ChevronDown size={19} aria-hidden />
|
||||
</summary>
|
||||
<p>{item.a}</p>
|
||||
</details>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
export function DifferenceCta() {
|
||||
return (
|
||||
<section className={styles.differenceCta} data-reveal="scale">
|
||||
<div>
|
||||
<span>30 MINUTEN · UNVERBINDLICH</span>
|
||||
<h2>{landingCopy.differenceCta.title}</h2>
|
||||
<p>{landingCopy.differenceCta.body}</p>
|
||||
</div>
|
||||
<Link href="/waitlist" className={styles.primaryButton}>
|
||||
Auf die Warteliste <ArrowRight size={17} aria-hidden />
|
||||
</Link>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
export function FinalCta({ index }: { index: string }) {
|
||||
return (
|
||||
<section className={styles.finalCta} data-reveal="up">
|
||||
<div className={styles.finalCtaIndex} aria-hidden>
|
||||
{index}
|
||||
</div>
|
||||
<div className={styles.finalCtaCopy}>
|
||||
<span>NÄCHSTER SCHRITT</span>
|
||||
<h2>{landingCopy.finalCta.title}</h2>
|
||||
<p>{landingCopy.finalCta.body}</p>
|
||||
</div>
|
||||
<div className={styles.finalCtaActions}>
|
||||
<Link href="/waitlist" className={styles.primaryButton}>
|
||||
Auf die Warteliste <ArrowRight size={17} aria-hidden />
|
||||
</Link>
|
||||
<Link href="/kontakt" className={styles.secondaryButtonDark}>
|
||||
Kontakt
|
||||
</Link>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
# MUSS GELÖSCHT WERDEN
|
||||
|
||||
Dieser komplette Ordner ist ein historisches Landingpage-Lab im gemeinsamen
|
||||
Archiv. Maßgeblich ist die `README.md` eine Ebene über diesem Bereich.
|
||||
|
||||
- Nicht für Produktion gedacht.
|
||||
- Nicht in Navigation oder Sitemap verlinken.
|
||||
- Der Ordner wird nicht gebaut und stellt keine Route mehr bereit.
|
||||
- Die bestehende Landingpage unter `/` wird von diesem Lab nicht verändert.
|
||||
- Nach finaler Abnahme das gesamte gemeinsame Landingpage-Archiv löschen.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import Cockpit from "../variants/Cockpit";
|
||||
|
||||
export default function CockpitPage() {
|
||||
return <Cockpit />;
|
||||
}
|
||||
+207
@@ -0,0 +1,207 @@
|
||||
export type LabVariant = "systemkarte" | "werkstatt" | "cockpit" | "prozessfluss";
|
||||
|
||||
export const labVersions: Array<{
|
||||
slug: LabVariant;
|
||||
index: string;
|
||||
name: string;
|
||||
summary: string;
|
||||
motion: string;
|
||||
}> = [
|
||||
{
|
||||
slug: "systemkarte",
|
||||
index: "01",
|
||||
name: "Systemkarte",
|
||||
summary: "HiveGrid als verbindende Ebene: Werkzeuge, Daten und Aufträge werden räumlich lesbar.",
|
||||
motion: "Knotenaufbau, Leitungsfluss und scrollgebundene Produktbahnen",
|
||||
},
|
||||
{
|
||||
slug: "werkstatt",
|
||||
index: "02",
|
||||
name: "Werkstatt Editorial",
|
||||
summary: "Eine großzügige, menschliche Geschichte mit Produktansichten wie auf einem Werkplan.",
|
||||
motion: "Aufgefächerte UI-Blätter, horizontale Kapitel und ruhige Bildtiefe",
|
||||
},
|
||||
{
|
||||
slug: "cockpit",
|
||||
index: "03",
|
||||
name: "Betriebs-Cockpit",
|
||||
summary: "Produkt zuerst: ein responsives Operations-Dashboard zeigt den ganzen Betrieb auf einmal.",
|
||||
motion: "Dashboard-Aufbau, Statussignale und geführte Datenbewegung",
|
||||
},
|
||||
{
|
||||
slug: "prozessfluss",
|
||||
index: "04",
|
||||
name: "Geführter Prozessfluss",
|
||||
summary: "Eine Anfrage wandert sichtbar vom ersten Kontakt bis zur bezahlten Rechnung.",
|
||||
motion: "Pfadzeichnung, Etappenwechsel und subtile Scroll-Choreografie",
|
||||
},
|
||||
];
|
||||
|
||||
export const landingCopy = {
|
||||
hero: {
|
||||
eyebrow: "Vom Handwerker für den Handwerker",
|
||||
beforeAccent: "Neue Software? Brauchst du nicht. HiveGrid",
|
||||
accent: "verbindet",
|
||||
afterAccent: ", was du schon hast.",
|
||||
body:
|
||||
"kwp, DATEV, Kalender, Postfach, WhatsApp. HiveGrid legt sich über das, was schon läuft, und macht daraus einen Fluss. Nichts wird ersetzt, nichts migriert. Du gewinnst den Überblick, ohne irgendwas zu verlieren.",
|
||||
},
|
||||
integrations: {
|
||||
eyebrow: "INTEGRATIONEN",
|
||||
titleBeforeAccent: "Deine Werkzeuge.",
|
||||
titleAccent: "Eine Wabe.",
|
||||
body:
|
||||
"HiveGrid verbindet die Software, mit der dein Betrieb schon arbeitet — alles fließt in einem System zusammen.",
|
||||
},
|
||||
solutions: {
|
||||
eyebrow: "Die Lösung",
|
||||
title: "Jeder Bereich deines Betriebs. Ein Überblick.",
|
||||
body:
|
||||
"Klick dich durch die wichtigsten Bereiche und sieh, wie viel ruhiger dein Betrieb läuft, wenn alles ineinandergreift.",
|
||||
},
|
||||
customer: {
|
||||
titleBeforeAccent: "So arbeitet die",
|
||||
titleAccent: "Geerkens GmbH",
|
||||
titleAfterAccent: "heute mit HiveGrid.",
|
||||
body:
|
||||
"Angebote, Baustellen und Wartung an einem Ort. In 30 Minuten zeigen wir dir deinen eigenen Betrieb. Unverbindlich.",
|
||||
},
|
||||
story: {
|
||||
eyebrow: "Warum es HiveGrid gibt",
|
||||
title: "Die Geschichte fängt auf der Baustelle an.",
|
||||
paragraphs: [
|
||||
"Ich bin Noah Geerkens. Zusammen mit meiner Schwester führe ich unseren SHK-Betrieb in vierter Generation.",
|
||||
"Was kaum einer sagt: Ein Betrieb, den es so lange gibt, hat nicht nur Erfahrung. Er hat auch Prozesse, die seit Jahren so laufen, weil die Software es so vorgibt. Nicht, weil es sinnvoll ist.",
|
||||
"Und wechseln? Kannst du vergessen. Da hängen Jahre an Stammdaten, Aufträgen und Buchhaltung drin. Und Leute, die das System kennen. Kein Chef fährt seinen Betrieb für ein halbes Jahr an die Wand, nur um am Ende dasselbe zu haben. Nur woanders.",
|
||||
"Wir wollten auch gar nicht wechseln. Wir wollten mehr. KI-Lösungen. Ein CRM. Automatisierungen. Dass die Tools endlich miteinander reden.",
|
||||
"Genau dafür haben wir HiveGrid gebaut: kein Ersatz für dein Branchenprogramm, sondern der Aufbau drumherum. Dein ERP bleibt, wo es ist. HiveGrid holt raus, was bisher gefehlt hat.",
|
||||
"Kein Startup-Projekt. Entstanden im Handwerksalltag. Gebaut für den Handwerksalltag.",
|
||||
],
|
||||
},
|
||||
comparison: {
|
||||
eyebrow: "Der Unterschied",
|
||||
titleBefore: "Andere Lösungen",
|
||||
versus: "vs.",
|
||||
titleAfter: "HiveGrid",
|
||||
},
|
||||
differenceCta: {
|
||||
title: "Der Unterschied wird sichtbar. Probier ihn aus.",
|
||||
body:
|
||||
"Bald verfügbar. Trag dich in die Warteliste ein und sieh deinen Betrieb auf einen Blick.",
|
||||
},
|
||||
trust: {
|
||||
title: "100 % Made in Germany",
|
||||
body: "Deine Daten bleiben in Deutschland. Punkt.",
|
||||
},
|
||||
faq: {
|
||||
eyebrow: "FAQ",
|
||||
title: "Häufig gestellte Fragen.",
|
||||
body: "Die häufigsten Fragen, ehrlich und ohne Kleingedrucktes beantwortet.",
|
||||
},
|
||||
finalCta: {
|
||||
title: "Bald siehst du deinen ganzen Betrieb auf einen Blick.",
|
||||
body:
|
||||
"Trag dich unverbindlich in die Warteliste ein. Kein Vertrag, keine Kreditkarte. Wir melden uns, sobald HiveGrid für deinen Betrieb bereit ist.",
|
||||
},
|
||||
} as const;
|
||||
|
||||
export const solutionModules = [
|
||||
{
|
||||
id: "projekt",
|
||||
title: "Projektmanagement",
|
||||
body:
|
||||
"Projekte, Kunden, Angebote, Förderanträge: Du siehst auf einen Blick, wo jeder Auftrag steht. Kein Suchen, kein Nachfragen, kein Zettelchaos.",
|
||||
screenshot: "/images/screenshot-projektmanagement-pipeline.png",
|
||||
href: "/produkt/projektmanagement",
|
||||
metric: "12 aktive Aufträge",
|
||||
},
|
||||
{
|
||||
id: "workflow",
|
||||
title: "Workflow-Engine",
|
||||
body:
|
||||
"Wenn-dann statt Handarbeit: Auslöser wählen, Aktionen dranhängen, fertig. Anfrage rein, Aufgabe raus, Bestätigung an den Kunden, alles automatisch und ohne eine Zeile Code.",
|
||||
screenshot: "/images/screenshot-workflow.png",
|
||||
href: "/produkt/workflow-engine",
|
||||
metric: "38 Schritte automatisiert",
|
||||
},
|
||||
{
|
||||
id: "chat",
|
||||
title: "Chat",
|
||||
body:
|
||||
"Jedes Projekt bekommt automatisch seinen Kanal. Foto von der Baustelle rein, alle sehen’s sofort und es landet direkt in den Projektdateien. Aus jeder Nachricht wird mit einem Klick eine Aufgabe.",
|
||||
screenshot: "/images/screenshot-chat.png",
|
||||
href: "/produkt/chat",
|
||||
metric: "Alles am Auftrag",
|
||||
},
|
||||
{
|
||||
id: "form",
|
||||
title: "Form Builder",
|
||||
body:
|
||||
"Formulare per Drag-and-drop selbst bauen, von der Kontaktanfrage bis zum Aufmaß mit Unterschrift vor Ort. Teil sie per Link, QR-Code oder direkt auf deiner Website, jede Einsendung wird automatisch zu Lead, Kontakt oder Auftrag.",
|
||||
screenshot: "/images/screenshot-formbuilder.png",
|
||||
href: undefined,
|
||||
metric: "0 doppelte Eingaben",
|
||||
},
|
||||
] as const;
|
||||
|
||||
export const comparisonRows = [
|
||||
["Bindung an einen einzelnen Anbieter", "Verbindet bestehende Software statt sie zu ersetzen"],
|
||||
["Migrationsaufwand + Datenverlust-Risiko", "Kein Wechsel, kein Risiko"],
|
||||
["Feste Prozesse, keine Automatisierung", "Automatisierungen selbst zusammenklicken"],
|
||||
["Support-Ticket im Ausland", "Deutscher Support, direkter Draht"],
|
||||
["Server irgendwo auf der Welt", "100 % gehostet in Deutschland"],
|
||||
] as const;
|
||||
|
||||
export const trustItems = [
|
||||
"Hosting in Deutschland",
|
||||
"DSGVO-konform",
|
||||
"Kein US Cloud Act",
|
||||
"Deutscher Support",
|
||||
] as const;
|
||||
|
||||
export const faqItems = [
|
||||
{
|
||||
q: "Für wen ist HiveGrid geeignet?",
|
||||
a: "HiveGrid ist gebaut für SHK-Betriebe: Heizungsbauer, Sanitär, Klima und Energietechnik. Egal ob du allein arbeitest oder 50 Leute im Betrieb hast: HiveGrid wächst mit dir.",
|
||||
},
|
||||
{
|
||||
q: "Muss ich meine bestehende Software aufgeben?",
|
||||
a: "Nein, genau das ist der Punkt. HiveGrid verbindet, was du schon nutzt (kwp, DATEV, Kalender, Postfach), statt es zu ersetzen. Nichts wird migriert, nichts weggeworfen. Du gewinnst den Überblick, ohne den Umstieg.",
|
||||
},
|
||||
{
|
||||
q: "Wie lange dauert die Einrichtung?",
|
||||
a: "Rechne mit ein bis zwei Wochen, dann läuft alles. Weil HiveGrid an deine bestehenden Tools andockt statt sie zu ersetzen, sparst du dir die monatelangen Migrationsprojekte. Die Verbindungen richten wir gemeinsam mit dir ein.",
|
||||
},
|
||||
{
|
||||
q: "Sind meine Daten sicher?",
|
||||
a: "Ja. Deine Daten liegen zu 100 % auf Servern in Deutschland und der EU, DSGVO-konform und komplett ohne US-Beteiligung. Kein US Cloud Act, kein Datenabfluss in die USA.",
|
||||
},
|
||||
{
|
||||
q: "Gibt es eine kostenlose Testphase?",
|
||||
a: "Eine klassische Testphase gibt es aktuell nicht, aber ein Risiko gehst du trotzdem nicht ein: Du startest mit einer kostenlosen 30-Minuten-Demo an deinem eigenen Betrieb. Kein Vertrag, keine Kreditkarte. Du entscheidest danach, ob es passt.",
|
||||
},
|
||||
{
|
||||
q: "Kann ich HiveGrid auf dem Smartphone nutzen?",
|
||||
a: "Ja. HiveGrid läuft direkt im Browser, ob am Rechner, auf dem Tablet oder dem Smartphone. So sieht dein Team auch auf der Baustelle, was ansteht. Eine eigene App ist in Arbeit.",
|
||||
},
|
||||
{
|
||||
q: "Wie erreiche ich den Support?",
|
||||
a: "Direkt und auf Deutsch. Kein Ticket-System im Ausland, sondern echte Menschen, die dein Handwerk verstehen. Du erreichst uns telefonisch und per E-Mail.",
|
||||
},
|
||||
] as const;
|
||||
|
||||
export const tools = [
|
||||
{ name: "kwp", asset: "/kwp.png" },
|
||||
{ name: "DATEV", asset: "/datev.png" },
|
||||
{ name: "Google Drive", asset: "/google-drive.svg" },
|
||||
{ name: "Teams", asset: "/ms-teams.svg" },
|
||||
{ name: "Outlook", asset: "/ms-outlook.svg" },
|
||||
{ name: "Google Calendar", asset: "/google-calendar.svg" },
|
||||
{ name: "Claude", asset: "/claude.svg" },
|
||||
{ name: "Bauhow", asset: "/bauhow.png" },
|
||||
{ name: "Codex", asset: "/codex.png" },
|
||||
{ name: "PandaDoc", asset: "/pandadoc.png" },
|
||||
{ name: "Aircall", asset: "/aircall.svg" },
|
||||
{ name: "Onepage", asset: "/onepage.png" },
|
||||
{ name: "Hallo Petra", asset: "/hallopetra.png" },
|
||||
] as const;
|
||||
+3940
File diff suppressed because it is too large.
Load diff
+22
@@ -0,0 +1,22 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "TEMP Landingpage-Lab — MUSS GELÖSCHT WERDEN",
|
||||
description: "Temporäre, nicht für Produktion bestimmte Landingpage-Varianten.",
|
||||
robots: {
|
||||
index: false,
|
||||
follow: false,
|
||||
noarchive: true,
|
||||
googleBot: {
|
||||
index: false,
|
||||
follow: false,
|
||||
noimageindex: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default function TemporaryLandingLabLayout({
|
||||
children,
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return children;
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
import Link from "next/link";
|
||||
import { ArrowRight, Network, PanelsTopLeft, Route, ScrollText, Trash2 } from "lucide-react";
|
||||
import { LabBar } from "./LabShared";
|
||||
import { labVersions } from "./content";
|
||||
import styles from "./lab.module.css";
|
||||
|
||||
const versionIcons = [Network, ScrollText, PanelsTopLeft, Route] as const;
|
||||
|
||||
export default function LandingpageLabIndex() {
|
||||
return (
|
||||
<div className={`${styles.page} ${styles.labIndexPage}`}>
|
||||
<LabBar />
|
||||
<section className={styles.labIndexHero}>
|
||||
<div className={styles.labIndexWarning}>
|
||||
<Trash2 size={19} aria-hidden />
|
||||
Dieser komplette Bereich ist temporär und muss später als ganzer Ordner gelöscht werden.
|
||||
</div>
|
||||
<span className={styles.sectionEyebrow}>LANDINGPAGE-LAB · VIER RICHTUNGEN</span>
|
||||
<h1>Vier neue Blickwinkel.<br />Eine unveränderte Originalseite.</h1>
|
||||
<p>
|
||||
Alle Varianten verwenden dieselben Inhalte, Überschriften und HiveGrid-Farben.
|
||||
Hero-Grafik, UI-System, Layout und GSAP-Choreografie wurden jeweils neu gedacht.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section className={styles.labVersionGrid} aria-label="Landingpage-Versionen">
|
||||
{labVersions.map((version, index) => {
|
||||
const Icon = versionIcons[index];
|
||||
return (
|
||||
<Link
|
||||
href={`/landingpage-lab-muss-geloescht-werden/${version.slug}`}
|
||||
key={version.slug}
|
||||
className={styles.labVersionCard}
|
||||
>
|
||||
<div className={styles.labVersionCardTop}>
|
||||
<span>{version.index}</span>
|
||||
<Icon size={25} aria-hidden />
|
||||
</div>
|
||||
<h2>{version.name}</h2>
|
||||
<p>{version.summary}</p>
|
||||
<small>{version.motion}</small>
|
||||
<strong>Version öffnen <ArrowRight size={17} /></strong>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import Prozessfluss from "../variants/Prozessfluss";
|
||||
|
||||
export default function ProzessflussPage() {
|
||||
return <Prozessfluss />;
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import Systemkarte from "../variants/Systemkarte";
|
||||
|
||||
export default function SystemkartePage() {
|
||||
return <Systemkarte />;
|
||||
}
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
"use client";
|
||||
|
||||
import type { RefObject } from "react";
|
||||
import { useGSAP } from "@gsap/react";
|
||||
import { gsap } from "gsap";
|
||||
import { MotionPathPlugin } from "gsap/dist/MotionPathPlugin";
|
||||
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
|
||||
import type { LabVariant } from "./content";
|
||||
|
||||
gsap.registerPlugin(useGSAP, ScrollTrigger, MotionPathPlugin);
|
||||
|
||||
function revealOffset(direction: string | null) {
|
||||
if (direction === "left") return { x: -56, y: 0 };
|
||||
if (direction === "right") return { x: 56, y: 0 };
|
||||
if (direction === "scale") return { x: 0, y: 18, scale: 0.94 };
|
||||
return { x: 0, y: 42 };
|
||||
}
|
||||
|
||||
export function useLabMotion(root: RefObject<HTMLDivElement | null>, variant: LabVariant) {
|
||||
useGSAP(
|
||||
() => {
|
||||
const select = gsap.utils.selector(root);
|
||||
const media = gsap.matchMedia();
|
||||
|
||||
media.add("(prefers-reduced-motion: no-preference)", () => {
|
||||
const heroTimeline = gsap.timeline({ defaults: { ease: "power3.out" } });
|
||||
heroTimeline
|
||||
.from(select("[data-hero-item]"), {
|
||||
autoAlpha: 0,
|
||||
y: 34,
|
||||
duration: 0.72,
|
||||
stagger: 0.09,
|
||||
})
|
||||
.from(
|
||||
select("[data-hero-visual]"),
|
||||
{ autoAlpha: 0, y: 28, scale: 0.96, duration: 0.9 },
|
||||
"-=0.5"
|
||||
);
|
||||
|
||||
select("[data-reveal]").forEach((element) => {
|
||||
const htmlElement = element as HTMLElement;
|
||||
const offset = revealOffset(htmlElement.getAttribute("data-reveal"));
|
||||
gsap.from(htmlElement, {
|
||||
autoAlpha: 0,
|
||||
...offset,
|
||||
duration: 0.85,
|
||||
ease: "power3.out",
|
||||
clearProps: "transform,opacity,visibility",
|
||||
scrollTrigger: {
|
||||
trigger: htmlElement,
|
||||
start: "clamp(top 86%)",
|
||||
toggleActions: "play none none reverse",
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
select("[data-stagger]").forEach((container) => {
|
||||
const children = Array.from(container.children);
|
||||
gsap.from(children, {
|
||||
autoAlpha: 0,
|
||||
y: 28,
|
||||
duration: 0.65,
|
||||
ease: "power3.out",
|
||||
stagger: { each: 0.07, from: "start" },
|
||||
clearProps: "transform,opacity,visibility",
|
||||
scrollTrigger: {
|
||||
trigger: container,
|
||||
start: "clamp(top 84%)",
|
||||
toggleActions: "play none none reverse",
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
select("[data-route-line]").forEach((line) => {
|
||||
const path = line as unknown as SVGPathElement;
|
||||
const length = path.getTotalLength();
|
||||
gsap.set(path, { strokeDasharray: length, strokeDashoffset: length });
|
||||
heroTimeline.to(
|
||||
path,
|
||||
{ strokeDashoffset: 0, duration: 0.9, ease: "power2.inOut" },
|
||||
"-=0.75"
|
||||
);
|
||||
});
|
||||
|
||||
if (variant === "systemkarte") {
|
||||
heroTimeline.from(
|
||||
select("[data-map-node]"),
|
||||
{
|
||||
autoAlpha: 0,
|
||||
x: (index) => (index % 2 === 0 ? -36 : 36),
|
||||
y: (index) => (index % 3 === 0 ? -24 : 24),
|
||||
scale: 0.86,
|
||||
duration: 0.62,
|
||||
stagger: 0.055,
|
||||
},
|
||||
"-=0.82"
|
||||
);
|
||||
gsap.to(select("[data-signal-pulse]"), {
|
||||
scale: 1.5,
|
||||
autoAlpha: 0,
|
||||
duration: 2.4,
|
||||
ease: "sine.out",
|
||||
repeat: -1,
|
||||
stagger: 0.8,
|
||||
});
|
||||
select("[data-system-lane]").forEach((lane, index) => {
|
||||
gsap.fromTo(
|
||||
lane,
|
||||
{ xPercent: index % 2 === 0 ? -7 : 7 },
|
||||
{
|
||||
xPercent: index % 2 === 0 ? 3 : -3,
|
||||
ease: "none",
|
||||
scrollTrigger: {
|
||||
trigger: lane,
|
||||
start: "top bottom",
|
||||
end: "bottom top",
|
||||
scrub: 1,
|
||||
},
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
if (variant === "werkstatt") {
|
||||
heroTimeline.from(
|
||||
select("[data-sheet]"),
|
||||
{
|
||||
autoAlpha: 0,
|
||||
x: (index) => (index % 2 === 0 ? -70 : 70),
|
||||
y: (index) => 36 + index * 8,
|
||||
rotation: (index) => (index - 1) * 5,
|
||||
duration: 0.82,
|
||||
stagger: 0.1,
|
||||
ease: "power3.out",
|
||||
},
|
||||
"-=0.75"
|
||||
);
|
||||
select("[data-editorial-track]").forEach((track, index) => {
|
||||
gsap.fromTo(
|
||||
track,
|
||||
{ xPercent: index % 2 === 0 ? -5 : 5 },
|
||||
{
|
||||
xPercent: index % 2 === 0 ? 5 : -5,
|
||||
ease: "none",
|
||||
scrollTrigger: {
|
||||
trigger: track,
|
||||
start: "top bottom",
|
||||
end: "bottom top",
|
||||
scrub: 1.1,
|
||||
},
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
if (variant === "cockpit") {
|
||||
heroTimeline.from(
|
||||
select("[data-cockpit-panel]"),
|
||||
{
|
||||
autoAlpha: 0,
|
||||
y: (index) => (index % 2 === 0 ? 34 : -26),
|
||||
x: (index) => (index % 3 === 0 ? -24 : 24),
|
||||
scale: 0.95,
|
||||
duration: 0.68,
|
||||
stagger: { each: 0.06, from: "center" },
|
||||
},
|
||||
"-=0.8"
|
||||
);
|
||||
gsap.to(select("[data-live-dot]"), {
|
||||
autoAlpha: 0.25,
|
||||
scale: 1.65,
|
||||
duration: 1.25,
|
||||
ease: "sine.inOut",
|
||||
repeat: -1,
|
||||
yoyo: true,
|
||||
});
|
||||
gsap.to(select("[data-timeline-marker]"), {
|
||||
xPercent: 620,
|
||||
ease: "none",
|
||||
scrollTrigger: {
|
||||
trigger: select("[data-cockpit-scroll]")[0],
|
||||
start: "top 80%",
|
||||
end: "bottom 30%",
|
||||
scrub: 0.8,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (variant === "prozessfluss") {
|
||||
heroTimeline.from(
|
||||
select("[data-process-node]"),
|
||||
{
|
||||
autoAlpha: 0,
|
||||
scale: 0.72,
|
||||
y: 22,
|
||||
duration: 0.58,
|
||||
stagger: 0.1,
|
||||
},
|
||||
"-=0.78"
|
||||
);
|
||||
const heroPath = select("[data-journey-path]")[0] as unknown as SVGPathElement | undefined;
|
||||
const journeyDot = select("[data-journey-dot]")[0] as unknown as SVGElement | undefined;
|
||||
if (heroPath && journeyDot) {
|
||||
gsap.to(journeyDot, {
|
||||
motionPath: {
|
||||
path: heroPath,
|
||||
align: heroPath,
|
||||
alignOrigin: [0.5, 0.5],
|
||||
},
|
||||
duration: 8,
|
||||
ease: "none",
|
||||
repeat: -1,
|
||||
});
|
||||
}
|
||||
|
||||
select("[data-flow-line]").forEach((line) => {
|
||||
const path = line as unknown as SVGPathElement;
|
||||
const length = path.getTotalLength();
|
||||
gsap.set(path, { strokeDasharray: length, strokeDashoffset: length });
|
||||
gsap.to(path, {
|
||||
strokeDashoffset: 0,
|
||||
ease: "none",
|
||||
scrollTrigger: {
|
||||
trigger: path.closest("section") ?? path,
|
||||
start: "top 72%",
|
||||
end: "bottom 58%",
|
||||
scrub: 0.8,
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return () => media.revert();
|
||||
},
|
||||
{ scope: root, dependencies: [variant], revertOnUpdate: true }
|
||||
);
|
||||
}
|
||||
+231
@@ -0,0 +1,231 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import Link from "next/link";
|
||||
import {
|
||||
ArrowRight,
|
||||
Bell,
|
||||
CalendarDays,
|
||||
Check,
|
||||
CheckCircle2,
|
||||
ChevronRight,
|
||||
CircleUserRound,
|
||||
Clock3,
|
||||
Euro,
|
||||
FileText,
|
||||
LayoutDashboard,
|
||||
MessageSquare,
|
||||
MoreHorizontal,
|
||||
Plus,
|
||||
Search,
|
||||
Sparkles,
|
||||
Users,
|
||||
Workflow,
|
||||
} from "lucide-react";
|
||||
import {
|
||||
ComparisonGrid,
|
||||
ComparisonTitle,
|
||||
CustomerHeading,
|
||||
DifferenceCta,
|
||||
FaqSection,
|
||||
FinalCta,
|
||||
HeroCopy,
|
||||
IntegrationsTitle,
|
||||
LabBar,
|
||||
NoahPortrait,
|
||||
ProductScreenshot,
|
||||
SolutionsTitle,
|
||||
StoryText,
|
||||
ToolChip,
|
||||
TrustBand,
|
||||
cx,
|
||||
} from "../LabShared";
|
||||
import { landingCopy, solutionModules } from "../content";
|
||||
import { useLabMotion } from "../useLabMotion";
|
||||
import styles from "../lab.module.css";
|
||||
|
||||
const pipelineColumns = [
|
||||
{ label: "Anfragen", count: 8, color: "#7aa7ff" },
|
||||
{ label: "Angebote", count: 5, color: "#f1b729" },
|
||||
{ label: "Beauftragt", count: 12, color: "#3fc59d" },
|
||||
{ label: "Abnahme", count: 3, color: "#cf8dff" },
|
||||
] as const;
|
||||
|
||||
export default function Cockpit() {
|
||||
const root = useRef<HTMLDivElement>(null);
|
||||
useLabMotion(root, "cockpit");
|
||||
|
||||
return (
|
||||
<div ref={root} className={cx(styles.page, styles.cockpitPage)}>
|
||||
<LabBar active="cockpit" />
|
||||
|
||||
<section className={cx(styles.heroSection, styles.cockpitHero)}>
|
||||
<div className={styles.cockpitHeroCopy}>
|
||||
<HeroCopy />
|
||||
</div>
|
||||
|
||||
<div className={styles.cockpitWindow} data-hero-visual data-cockpit-scroll>
|
||||
<div className={styles.cockpitTopbar}>
|
||||
<div className={styles.cockpitBrand}>
|
||||
<span>HG</span>
|
||||
<strong>Geerkens GmbH</strong>
|
||||
</div>
|
||||
<div className={styles.cockpitSearch}><Search size={15} /><span>Auftrag, Kunde, Nachricht …</span></div>
|
||||
<div className={styles.cockpitTopActions}>
|
||||
<span className={styles.cockpitOnline}><i data-live-dot /> Alle Systeme online</span>
|
||||
<button aria-label="Benachrichtigungen"><Bell size={17} /></button>
|
||||
<span className={styles.avatar}>NG</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.cockpitBody}>
|
||||
<aside className={styles.cockpitSidebar}>
|
||||
<span className={styles.sidebarActive}><LayoutDashboard size={17} /> Übersicht</span>
|
||||
<span><Workflow size={17} /> Workflows</span>
|
||||
<span><MessageSquare size={17} /> Chat <b>3</b></span>
|
||||
<span><Users size={17} /> Team</span>
|
||||
<span><FileText size={17} /> Dokumente</span>
|
||||
<div className={styles.sidebarBottom}>
|
||||
<Sparkles size={15} /> 38 Schritte heute automatisiert
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<div className={styles.cockpitContent}>
|
||||
<div className={styles.cockpitHeading} data-cockpit-panel>
|
||||
<div><span>DONNERSTAG, 06. AUGUST</span><h2>Guten Morgen, Noah.</h2></div>
|
||||
<button><Plus size={16} /> Neuer Auftrag</button>
|
||||
</div>
|
||||
|
||||
<div className={styles.metricGrid} data-stagger>
|
||||
<div data-cockpit-panel><span>Offene Angebote</span><strong>€ 184.600</strong><small>+12 % diese Woche</small></div>
|
||||
<div data-cockpit-panel><span>Aktive Baustellen</span><strong>18</strong><small>15 im Zeitplan</small></div>
|
||||
<div data-cockpit-panel><span>Automatisiert</span><strong>38</strong><small>Schritte heute</small></div>
|
||||
<div data-cockpit-panel><span>Neue Anfragen</span><strong>8</strong><small>alle beantwortet</small></div>
|
||||
</div>
|
||||
|
||||
<div className={styles.cockpitMainGrid}>
|
||||
<section className={styles.pipelinePanel} data-cockpit-panel>
|
||||
<div className={styles.panelTitle}><div><span>VERTRIEB</span><h3>Aufträge im Fluss</h3></div><MoreHorizontal size={18} /></div>
|
||||
<div className={styles.pipelineTrack}>
|
||||
{pipelineColumns.map((column) => (
|
||||
<div key={column.label}>
|
||||
<span><i style={{ background: column.color }} />{column.label}</span>
|
||||
<strong>{column.count}</strong>
|
||||
<div className={styles.pipelineBar}><i style={{ width: `${28 + column.count * 5}%`, background: column.color }} /></div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div className={styles.activeDeal}>
|
||||
<div><span>HG-284</span><strong>Badmodernisierung Weber</strong></div>
|
||||
<b>€ 24.300</b>
|
||||
<span className={styles.dealStatus}>Aufmaß Freitag</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.dayPanel} data-cockpit-panel>
|
||||
<div className={styles.panelTitle}><div><span>HEUTE</span><h3>Dein Betriebstag</h3></div><CalendarDays size={18} /></div>
|
||||
<div className={styles.dayTimeline}>
|
||||
<i className={styles.timelineRail} aria-hidden />
|
||||
<i className={styles.timelineMarker} data-timeline-marker aria-hidden />
|
||||
<div><time>08:00</time><span><b>Team verteilt</b><small>12 Monteure · 6 Baustellen</small></span></div>
|
||||
<div><time>10:30</time><span><b>Aufmaß Weber</b><small>Lena & Tom · Bruchsal</small></span></div>
|
||||
<div><time>14:00</time><span><b>Abnahme Fischer</b><small>Dokumente vorbereitet</small></span></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.approvalPanel} data-cockpit-panel>
|
||||
<div className={styles.panelTitle}><div><span>TEAM</span><h3>2 Freigaben</h3></div><ChevronRight size={18} /></div>
|
||||
<div className={styles.approvalRow}><span className={styles.avatarTeal}>LK</span><div><b>Lena Krause</b><small>Urlaub · 12.–19. Aug.</small></div><button><Check size={15} /></button></div>
|
||||
<div className={styles.approvalRow}><span className={styles.avatarBlue}>TB</span><div><b>Tom Berger</b><small>Spesen · € 84,50</small></div><button><Check size={15} /></button></div>
|
||||
</section>
|
||||
|
||||
<section className={styles.activityPanel} data-cockpit-panel>
|
||||
<div className={styles.panelTitle}><div><span>LIVE</span><h3>Gerade passiert</h3></div><i data-live-dot /></div>
|
||||
<div><MessageSquare size={15} /><span><b>Foto hochgeladen</b><small>Auftrag HG-284 · vor 2 Min.</small></span></div>
|
||||
<div><Workflow size={15} /><span><b>Workflow abgeschlossen</b><small>Angebot versendet · vor 8 Min.</small></span></div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.cockpitIntegrations)}>
|
||||
<IntegrationsTitle dark />
|
||||
<div className={styles.statusWall} data-stagger>
|
||||
{Array.from({ length: 13 }, (_, index) => (
|
||||
<div key={index} className={styles.statusCard}>
|
||||
<ToolChip index={index} small />
|
||||
<div className={styles.statusCardMeta}>
|
||||
<span><i data-live-dot /> Synchron</span>
|
||||
<b>{index % 4 === 0 ? "gerade eben" : `${index + 1} Min.`}</b>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.cockpitSolutions)}>
|
||||
<SolutionsTitle />
|
||||
<div className={styles.solutionBento}>
|
||||
<article className={cx(styles.bentoCard, styles.bentoFeatured)} data-reveal="left">
|
||||
<div className={styles.bentoCopy}>
|
||||
<span>01 · {solutionModules[0].metric}</span>
|
||||
<h3>{solutionModules[0].title}</h3>
|
||||
<p>{solutionModules[0].body}</p>
|
||||
<Link href={solutionModules[0].href}>Bereich ansehen <ArrowRight size={16} /></Link>
|
||||
</div>
|
||||
<ProductScreenshot moduleIndex={0} />
|
||||
</article>
|
||||
{solutionModules.slice(1).map((solution, offset) => {
|
||||
const index = offset + 1;
|
||||
return (
|
||||
<article key={solution.id} className={styles.bentoCard} data-reveal="up">
|
||||
<span className={styles.bentoIcon}>
|
||||
{index === 1 ? <Workflow size={21} /> : index === 2 ? <MessageSquare size={21} /> : <FileText size={21} />}
|
||||
</span>
|
||||
<div className={styles.bentoCopy}>
|
||||
<span>0{index + 1} · {solution.metric}</span>
|
||||
<h3>{solution.title}</h3>
|
||||
<p>{solution.body}</p>
|
||||
</div>
|
||||
<div className={styles.bentoMiniUi} aria-hidden>
|
||||
<i /><i /><i /><i />
|
||||
</div>
|
||||
</article>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.cockpitCustomer}>
|
||||
<div className={styles.cockpitCustomerHeader} data-reveal="up">
|
||||
<span>AUS DEM ECHTEN BETRIEB</span>
|
||||
<CustomerHeading />
|
||||
<p>{landingCopy.customer.body}</p>
|
||||
</div>
|
||||
<div className={styles.customerScoreboard} data-stagger>
|
||||
<div><Clock3 size={19} /><strong>6,4 h</strong><span>pro Woche weniger Abstimmung</span></div>
|
||||
<div><CheckCircle2 size={19} /><strong>94 %</strong><span>Aufgaben im Plan</span></div>
|
||||
<div><Euro size={19} /><strong>€ 184k</strong><span>offene Angebote sichtbar</span></div>
|
||||
<div><CircleUserRound size={19} /><strong>12</strong><span>Mitarbeitende im selben Stand</span></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.cockpitStory}>
|
||||
<div className={styles.cockpitStoryPhoto}><NoahPortrait /></div>
|
||||
<StoryText compact />
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.comparisonSection, styles.cockpitComparison)}>
|
||||
<ComparisonTitle />
|
||||
<ComparisonGrid />
|
||||
</section>
|
||||
|
||||
<div className={styles.sectionNarrow}><DifferenceCta /></div>
|
||||
<TrustBand />
|
||||
<FaqSection />
|
||||
<div className={styles.sectionNarrow}><FinalCta index="03" /></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+189
@@ -0,0 +1,189 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import {
|
||||
ArrowRight,
|
||||
BadgeEuro,
|
||||
CalendarCheck,
|
||||
Check,
|
||||
ClipboardCheck,
|
||||
FileSignature,
|
||||
Hammer,
|
||||
MailCheck,
|
||||
MessageSquareText,
|
||||
Route,
|
||||
Sparkles,
|
||||
} from "lucide-react";
|
||||
import {
|
||||
ComparisonGrid,
|
||||
ComparisonTitle,
|
||||
CustomerHeading,
|
||||
DifferenceCta,
|
||||
FaqSection,
|
||||
FinalCta,
|
||||
HeroCopy,
|
||||
IntegrationsTitle,
|
||||
LabBar,
|
||||
NoahPortrait,
|
||||
ProductScreenshot,
|
||||
SolutionsTitle,
|
||||
StoryText,
|
||||
ToolChip,
|
||||
TrustBand,
|
||||
cx,
|
||||
} from "../LabShared";
|
||||
import { landingCopy, solutionModules } from "../content";
|
||||
import { useLabMotion } from "../useLabMotion";
|
||||
import styles from "../lab.module.css";
|
||||
|
||||
const stages = [
|
||||
{ title: "Anfrage", detail: "automatisch erfasst", time: "09:42", icon: MessageSquareText },
|
||||
{ title: "Planung", detail: "Aufmaß terminiert", time: "09:43", icon: CalendarCheck },
|
||||
{ title: "Baustelle", detail: "Team & Material bereit", time: "Freitag", icon: Hammer },
|
||||
{ title: "Abnahme", detail: "digital unterschrieben", time: "14:30", icon: FileSignature },
|
||||
{ title: "Rechnung", detail: "versendet & geprüft", time: "14:31", icon: BadgeEuro },
|
||||
] as const;
|
||||
|
||||
export default function Prozessfluss() {
|
||||
const root = useRef<HTMLDivElement>(null);
|
||||
useLabMotion(root, "prozessfluss");
|
||||
|
||||
return (
|
||||
<div ref={root} className={cx(styles.page, styles.flowPage)}>
|
||||
<LabBar active="prozessfluss" />
|
||||
|
||||
<section className={cx(styles.heroSection, styles.flowHero)}>
|
||||
<div className={styles.flowHeroGrid}>
|
||||
<HeroCopy />
|
||||
|
||||
<div className={styles.journeyCanvas} data-hero-visual>
|
||||
<div className={styles.journeyLabel}>AUFTRAG HG-284 · LIVE</div>
|
||||
<svg className={styles.journeySvg} viewBox="0 0 760 610" aria-hidden>
|
||||
<defs>
|
||||
<filter id="journey-dot-glow" x="-200%" y="-200%" width="400%" height="400%">
|
||||
<feGaussianBlur stdDeviation="7" result="blur" />
|
||||
<feMerge><feMergeNode in="blur" /><feMergeNode in="SourceGraphic" /></feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
<path className={styles.journeyGhost} d="M84 92 C310 70 545 80 628 178 C718 283 538 312 338 300 C132 288 72 386 177 477 C285 570 529 522 678 474" />
|
||||
<path data-route-line data-journey-path className={styles.journeyPath} d="M84 92 C310 70 545 80 628 178 C718 283 538 312 338 300 C132 288 72 386 177 477 C285 570 529 522 678 474" />
|
||||
<circle data-journey-dot cx="0" cy="0" r="8" fill="#F1B729" filter="url(#journey-dot-glow)" />
|
||||
</svg>
|
||||
|
||||
{stages.map((stage, index) => {
|
||||
const Icon = stage.icon;
|
||||
return (
|
||||
<div key={stage.title} className={cx(styles.journeyNode, styles[`journeyNode${index + 1}`])} data-process-node>
|
||||
<span className={styles.journeyNodeIndex}>0{index + 1}</span>
|
||||
<span className={styles.journeyNodeIcon}><Icon size={19} /></span>
|
||||
<div><strong>{stage.title}</strong><small>{stage.detail}</small></div>
|
||||
<time>{stage.time}</time>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
<div className={styles.journeySummary} data-process-node>
|
||||
<Sparkles size={17} />
|
||||
<span><b>7 Übergaben gespart</b> · alles bleibt am Auftrag</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.flowIntegrations)}>
|
||||
<IntegrationsTitle />
|
||||
<div className={styles.flowToolStages}>
|
||||
{[0, 1, 2, 3].map((stage) => (
|
||||
<article key={stage} className={styles.flowToolStage} data-reveal="up">
|
||||
<div className={styles.flowStageHeader}>
|
||||
<span>0{stage + 1}</span>
|
||||
<h3>{stage === 0 ? "Anfrage" : stage === 1 ? "Planung" : stage === 2 ? "Ausführung" : "Abschluss"}</h3>
|
||||
</div>
|
||||
<div className={styles.flowStageTools} data-stagger>
|
||||
{[stage * 3, stage * 3 + 1, stage * 3 + 2].map((index) => <ToolChip key={index} index={index} small />)}
|
||||
</div>
|
||||
<div className={styles.flowStageResult}>
|
||||
<Check size={15} />
|
||||
<span>{stage === 0 ? "Lead angelegt" : stage === 1 ? "Termin verteilt" : stage === 2 ? "Team synchron" : "Rechnung ausgelöst"}</span>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
<svg className={styles.flowStageLine} viewBox="0 0 1200 80" preserveAspectRatio="none" aria-hidden>
|
||||
<path data-flow-line d="M20 40 C240 10 290 70 420 40 C580 4 660 74 780 40 C920 5 1050 68 1180 40" />
|
||||
</svg>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.flowSolutions)}>
|
||||
<div className={styles.flowSolutionsIntro}>
|
||||
<SolutionsTitle />
|
||||
<div className={styles.flowProgressLegend} data-reveal="up">
|
||||
<span><i /> Anfrage</span><span><i /> Auftrag</span><span><i /> Abschluss</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.flowChapters}>
|
||||
{solutionModules.map((solution, index) => (
|
||||
<article key={solution.id} className={styles.flowChapter} data-reveal="up">
|
||||
<div className={styles.flowChapterRail}>
|
||||
<span>0{index + 1}</span>
|
||||
<i />
|
||||
</div>
|
||||
<div className={styles.flowChapterCopy}>
|
||||
<span>{solution.metric}</span>
|
||||
<h3>{solution.title}</h3>
|
||||
<p>{solution.body}</p>
|
||||
{solution.href ? <Link href={solution.href}>Bereich ansehen <ArrowRight size={16} /></Link> : null}
|
||||
</div>
|
||||
<div className={styles.flowChapterVisual}>
|
||||
<ProductScreenshot moduleIndex={index} />
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.flowCustomer}>
|
||||
<div className={styles.flowCustomerCopy} data-reveal="left">
|
||||
<span className={styles.darkEyebrow}>EIN TAG · EIN DURCHGÄNGIGER STAND</span>
|
||||
<CustomerHeading />
|
||||
<p>{landingCopy.customer.body}</p>
|
||||
<Link href="/waitlist" className={styles.primaryButton}>Eigenen Ablauf ansehen <ArrowRight size={17} /></Link>
|
||||
</div>
|
||||
<div className={styles.customerJourney} data-reveal="right">
|
||||
<div className={styles.customerJourneyRail} aria-hidden><i /></div>
|
||||
<div><time>07:15</time><span><Route size={16} /><b>Teams eingeplant</b><small>Kalender + Mitarbeitermanagement</small></span></div>
|
||||
<div><time>09:42</time><span><MailCheck size={16} /><b>Anfrage übernommen</b><small>Outlook → Projektmanagement</small></span></div>
|
||||
<div><time>11:08</time><span><ClipboardCheck size={16} /><b>Angebot freigegeben</b><small>kwp + PandaDoc</small></span></div>
|
||||
<div><time>14:30</time><span><FileSignature size={16} /><b>Abnahme dokumentiert</b><small>Baustelle → DATEV</small></span></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.flowStory}>
|
||||
<div className={styles.flowStoryVisual}>
|
||||
<NoahPortrait />
|
||||
<div className={styles.flowStoryStamp}>
|
||||
<Image src="/images/hivegrid-icon-yellow.svg" alt="" width={36} height={36} />
|
||||
<span>Entstanden im<br />Handwerksalltag</span>
|
||||
</div>
|
||||
</div>
|
||||
<StoryText compact />
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.flowComparison)}>
|
||||
<ComparisonTitle />
|
||||
<div className={styles.flowComparisonTrack} aria-hidden>
|
||||
<span>WECHSELN</span><i /><span>VERBINDEN</span>
|
||||
</div>
|
||||
<ComparisonGrid />
|
||||
</section>
|
||||
|
||||
<div className={styles.sectionNarrow}><DifferenceCta /></div>
|
||||
<TrustBand />
|
||||
<FaqSection />
|
||||
<div className={styles.sectionNarrow}><FinalCta index="04" /></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+187
@@ -0,0 +1,187 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import Image from "next/image";
|
||||
import { ArrowDownRight, CalendarDays, Check, FileText, MessageSquare, Zap } from "lucide-react";
|
||||
import {
|
||||
ComparisonGrid,
|
||||
ComparisonTitle,
|
||||
CustomerHeading,
|
||||
DifferenceCta,
|
||||
FaqSection,
|
||||
FinalCta,
|
||||
HeroCopy,
|
||||
IntegrationsTitle,
|
||||
LabBar,
|
||||
NoahPortrait,
|
||||
SectionHeading,
|
||||
SolutionCard,
|
||||
SolutionsTitle,
|
||||
StoryText,
|
||||
ToolChip,
|
||||
TrustBand,
|
||||
cx,
|
||||
} from "../LabShared";
|
||||
import { landingCopy } from "../content";
|
||||
import { useLabMotion } from "../useLabMotion";
|
||||
import styles from "../lab.module.css";
|
||||
|
||||
const mapNodes = [
|
||||
{ tool: 0, className: styles.mapNodeA },
|
||||
{ tool: 1, className: styles.mapNodeB },
|
||||
{ tool: 3, className: styles.mapNodeC },
|
||||
{ tool: 4, className: styles.mapNodeD },
|
||||
{ tool: 5, className: styles.mapNodeE },
|
||||
{ tool: 2, className: styles.mapNodeF },
|
||||
] as const;
|
||||
|
||||
export default function Systemkarte() {
|
||||
const root = useRef<HTMLDivElement>(null);
|
||||
useLabMotion(root, "systemkarte");
|
||||
|
||||
return (
|
||||
<div ref={root} className={cx(styles.page, styles.systemPage)}>
|
||||
<LabBar active="systemkarte" />
|
||||
|
||||
<section className={cx(styles.heroSection, styles.systemHero)}>
|
||||
<div className={styles.systemHeroGrid}>
|
||||
<HeroCopy />
|
||||
|
||||
<div className={styles.systemMap} data-hero-visual aria-label="HiveGrid verbindet vorhandene Werkzeuge mit dem Auftragsfluss">
|
||||
<div className={styles.mapGrid} aria-hidden />
|
||||
<svg className={styles.mapRoutes} viewBox="0 0 800 620" aria-hidden>
|
||||
<path data-route-line d="M400 310 C290 310 248 168 146 130" />
|
||||
<path data-route-line d="M400 310 C520 306 586 155 684 142" />
|
||||
<path data-route-line d="M400 310 C244 328 220 460 104 482" />
|
||||
<path data-route-line d="M400 310 C568 326 604 456 722 470" />
|
||||
<path data-route-line d="M400 310 C338 226 302 102 328 52" />
|
||||
<path data-route-line d="M400 310 C454 214 500 114 484 58" />
|
||||
<path className={styles.routeAccent} data-route-line d="M400 310 C442 382 476 498 444 576" />
|
||||
</svg>
|
||||
|
||||
<div className={styles.mapHub} data-map-node>
|
||||
<span className={styles.signalPulse} data-signal-pulse aria-hidden />
|
||||
<span className={styles.signalPulse} data-signal-pulse aria-hidden />
|
||||
<Image src="/images/hivegrid-icon-yellow.svg" alt="HiveGrid" width={54} height={54} />
|
||||
<div>
|
||||
<strong>HiveGrid</strong>
|
||||
<span>Verbindung aktiv</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{mapNodes.map((node) => (
|
||||
<div key={node.tool} className={cx(styles.mapNode, node.className)} data-map-node>
|
||||
<ToolChip index={node.tool} small />
|
||||
</div>
|
||||
))}
|
||||
|
||||
<div className={cx(styles.mapEvent, styles.mapEventRequest)} data-map-node>
|
||||
<span className={styles.mapEventIcon}><FileText size={16} /></span>
|
||||
<div><strong>Neue Anfrage</strong><span>Badmodernisierung · Weber</span></div>
|
||||
<b>09:42</b>
|
||||
</div>
|
||||
<div className={cx(styles.mapEvent, styles.mapEventTask)} data-map-node>
|
||||
<span className={styles.mapEventIcon}><Check size={16} /></span>
|
||||
<div><strong>Aufgabe erstellt</strong><span>Aufmaß für Freitag</span></div>
|
||||
<b>AUTO</b>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.heroProofStrip} data-stagger>
|
||||
<span>Ein Betrieb</span>
|
||||
<span>13 verbundene Werkzeuge</span>
|
||||
<span>Ein durchgängiger Auftragsfluss</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.systemIntegrations)}>
|
||||
<div className={styles.stickyHeading}>
|
||||
<IntegrationsTitle />
|
||||
<div className={styles.connectionLegend} data-reveal="up">
|
||||
<span><i className={styles.legendLive} /> Echtzeit</span>
|
||||
<span><i className={styles.legendSync} /> Synchronisiert</span>
|
||||
<span><i className={styles.legendAuto} /> Automatisiert</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.connectionLedger} data-stagger>
|
||||
{Array.from({ length: 13 }, (_, index) => (
|
||||
<div key={index} className={styles.connectionRow} data-system-lane>
|
||||
<ToolChip index={index} />
|
||||
<span className={styles.connectionLine} aria-hidden><i /></span>
|
||||
<span className={styles.connectionTarget}>
|
||||
{index % 3 === 0 ? "Aufträge" : index % 3 === 1 ? "Kundendaten" : "Kommunikation"}
|
||||
</span>
|
||||
<span className={styles.connectionState}>verbunden</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.systemSolutions)}>
|
||||
<SolutionsTitle align="center" />
|
||||
<div className={styles.systemSolutionLanes}>
|
||||
{[0, 1, 2, 3].map((index) => (
|
||||
<div key={index} data-system-lane>
|
||||
<SolutionCard index={index} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.systemCustomer)}>
|
||||
<div className={styles.systemCustomerCopy} data-reveal="left">
|
||||
<span className={styles.darkEyebrow}>AUS DEM ECHTEN BETRIEB</span>
|
||||
<CustomerHeading />
|
||||
<p>{landingCopy.customer.body}</p>
|
||||
<div className={styles.customerMetrics} data-stagger>
|
||||
<div><strong>18</strong><span>laufende Baustellen</span></div>
|
||||
<div><strong>94 %</strong><span>Aufgaben im Plan</span></div>
|
||||
<div><strong>1</strong><span>gemeinsamer Überblick</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.customerCommand} data-reveal="right">
|
||||
<div className={styles.commandHeader}>
|
||||
<span><i data-live-dot /> Geerkens GmbH · Heute</span>
|
||||
<CalendarDays size={17} />
|
||||
</div>
|
||||
<div className={styles.commandTimeline}>
|
||||
<div><time>07:15</time><span><Zap size={15} /> Einsatzplan automatisch verteilt</span><b>12 MA</b></div>
|
||||
<div><time>09:42</time><span><MessageSquare size={15} /> Foto zu Auftrag HG-284</span><b>3 neu</b></div>
|
||||
<div><time>11:08</time><span><FileText size={15} /> Angebot freigegeben</span><b>€ 24.300</b></div>
|
||||
<div><time>14:30</time><span><Check size={15} /> Abnahme dokumentiert</span><b>fertig</b></div>
|
||||
</div>
|
||||
<div className={styles.commandFooter}>
|
||||
<span>Alle Systeme synchron</span>
|
||||
<ArrowDownRight size={17} />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.systemStory)}>
|
||||
<StoryText />
|
||||
<NoahPortrait />
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.comparisonSection)}>
|
||||
<ComparisonTitle />
|
||||
<ComparisonGrid />
|
||||
</section>
|
||||
|
||||
<div className={styles.sectionNarrow}><DifferenceCta /></div>
|
||||
|
||||
<TrustBand />
|
||||
|
||||
<FaqSection />
|
||||
|
||||
<div className={styles.sectionNarrow}><FinalCta index="01" /></div>
|
||||
|
||||
<section className={styles.variantOutro}>
|
||||
<SectionHeading eyebrow="VERSION 01" align="center">
|
||||
Systemkarte
|
||||
</SectionHeading>
|
||||
<p>Die verbindende Ebene ist in jeder Ansicht sichtbar — nicht als Versprechen, sondern als System.</p>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+175
@@ -0,0 +1,175 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { ArrowRight, Check, FileCheck2, MessageCircle, PenTool, Route, Wrench } from "lucide-react";
|
||||
import {
|
||||
ComparisonGrid,
|
||||
ComparisonTitle,
|
||||
CustomerHeading,
|
||||
DifferenceCta,
|
||||
FaqSection,
|
||||
FinalCta,
|
||||
HeroCopy,
|
||||
IntegrationsTitle,
|
||||
LabBar,
|
||||
NoahPortrait,
|
||||
ProductScreenshot,
|
||||
SolutionsTitle,
|
||||
StoryText,
|
||||
ToolChip,
|
||||
TrustBand,
|
||||
cx,
|
||||
} from "../LabShared";
|
||||
import { landingCopy, solutionModules } from "../content";
|
||||
import { useLabMotion } from "../useLabMotion";
|
||||
import styles from "../lab.module.css";
|
||||
|
||||
export default function Werkstatt() {
|
||||
const root = useRef<HTMLDivElement>(null);
|
||||
useLabMotion(root, "werkstatt");
|
||||
|
||||
return (
|
||||
<div ref={root} className={cx(styles.page, styles.editorialPage)}>
|
||||
<LabBar active="werkstatt" />
|
||||
|
||||
<section className={cx(styles.heroSection, styles.editorialHero)}>
|
||||
<div className={styles.editorialHeroCopy}>
|
||||
<div className={styles.editorialIssue} aria-hidden>
|
||||
AUSGABE 02 · BETRIEB IM FLUSS
|
||||
</div>
|
||||
<HeroCopy compact />
|
||||
</div>
|
||||
|
||||
<div className={styles.blueprintStage} data-hero-visual>
|
||||
<div className={styles.blueprintGrid} aria-hidden />
|
||||
<div className={cx(styles.blueprintSheet, styles.blueprintBefore)} data-sheet>
|
||||
<div className={styles.sheetLabel}>VORHER · 08:12</div>
|
||||
<h3>Wo steckt der Auftrag?</h3>
|
||||
<div className={styles.looseTools}>
|
||||
<ToolChip index={0} small />
|
||||
<ToolChip index={4} small />
|
||||
<ToolChip index={1} small />
|
||||
<ToolChip index={3} small />
|
||||
</div>
|
||||
<div className={styles.paperNote}>
|
||||
<span>Rückruf Herr Weber!</span>
|
||||
<small>Liegt das Angebot schon in DATEV?</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={cx(styles.blueprintSheet, styles.blueprintAfter)} data-sheet>
|
||||
<div className={styles.sheetLabel}>MIT HIVEGRID · 08:12</div>
|
||||
<div className={styles.jobSheetHeader}>
|
||||
<span>HG-284</span>
|
||||
<b>BADMODERNISIERUNG WEBER</b>
|
||||
<em>IM PLAN</em>
|
||||
</div>
|
||||
<div className={styles.jobFlow}>
|
||||
<div><FileCheck2 size={17} /><span>Anfrage</span><b>erfasst</b></div>
|
||||
<i />
|
||||
<div><Route size={17} /><span>Aufmaß</span><b>Freitag</b></div>
|
||||
<i />
|
||||
<div><MessageCircle size={17} /><span>Kunde</span><b>informiert</b></div>
|
||||
</div>
|
||||
<div className={styles.jobSheetFooter}>
|
||||
<span><Check size={15} /> Alles am Auftrag</span>
|
||||
<strong>€ 24.300</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.blueprintMark} data-sheet aria-hidden>
|
||||
<PenTool size={18} />
|
||||
<span>Bestehende Werkzeuge.<br />Neu zusammengedacht.</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.editorialIntegrations)}>
|
||||
<IntegrationsTitle align="center" />
|
||||
<div className={styles.toolMarquee} data-editorial-track>
|
||||
{[0, 1, 2, 3, 4, 5, 6].map((index) => <ToolChip key={index} index={index} />)}
|
||||
</div>
|
||||
<div className={cx(styles.toolMarquee, styles.toolMarqueeReverse)} data-editorial-track>
|
||||
{[7, 8, 9, 10, 11, 12].map((index) => <ToolChip key={index} index={index} />)}
|
||||
</div>
|
||||
<div className={styles.editorialConnector} data-reveal="up">
|
||||
<span>Kein Austausch</span>
|
||||
<i aria-hidden />
|
||||
<Image src="/images/hivegrid-icon-yellow.svg" alt="HiveGrid" width={42} height={42} />
|
||||
<i aria-hidden />
|
||||
<span>Ein gemeinsamer Fluss</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.editorialSolutions)}>
|
||||
<SolutionsTitle />
|
||||
<div className={styles.editorialChapters}>
|
||||
{solutionModules.map((solution, index) => (
|
||||
<article key={solution.id} className={styles.editorialChapter} data-reveal={index % 2 ? "right" : "left"}>
|
||||
<div className={styles.chapterNumber} aria-hidden>0{index + 1}</div>
|
||||
<div className={styles.chapterCopy}>
|
||||
<span>{solution.metric}</span>
|
||||
<h3>{solution.title}</h3>
|
||||
<p>{solution.body}</p>
|
||||
{solution.href ? (
|
||||
<Link href={solution.href} className={styles.editorialLink}>
|
||||
Bereich ansehen <ArrowRight size={16} />
|
||||
</Link>
|
||||
) : null}
|
||||
</div>
|
||||
<div className={styles.chapterVisual}>
|
||||
<ProductScreenshot moduleIndex={index} />
|
||||
<span className={styles.annotationLine} aria-hidden />
|
||||
<span className={styles.annotationText}>{index % 2 ? "läuft automatisch" : "direkt am Auftrag"}</span>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.editorialCustomer}>
|
||||
<div className={styles.customerQuoteMark} aria-hidden>“</div>
|
||||
<div className={styles.editorialCustomerCopy} data-reveal="up">
|
||||
<CustomerHeading />
|
||||
<p>{landingCopy.customer.body}</p>
|
||||
<Link href="/waitlist" className={styles.primaryButton}>
|
||||
Eigenen Betrieb ansehen <ArrowRight size={17} />
|
||||
</Link>
|
||||
</div>
|
||||
<div className={styles.customerProofBoard} data-reveal="right">
|
||||
<div className={styles.proofBoardTop}>
|
||||
<span>GEERKENS GMBH</span>
|
||||
<span>DONNERSTAG · 14:32</span>
|
||||
</div>
|
||||
<div className={styles.proofBoardRows}>
|
||||
<div><Wrench size={16} /><span>Solarcarport Linnich</span><b>Planung</b></div>
|
||||
<div><Route size={16} /><span>Bad Weber</span><b>Aufmaß</b></div>
|
||||
<div><MessageCircle size={16} /><span>Wartung Müller</span><b>Kunde informiert</b></div>
|
||||
</div>
|
||||
<div className={styles.proofSignature}>Aus dem Handwerk. Für das Handwerk.</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.editorialStory}>
|
||||
<div className={styles.storyPhotoWrap} data-editorial-track>
|
||||
<NoahPortrait wide />
|
||||
<div className={styles.storyPhotoLabel}>VIERTE GENERATION · SHK</div>
|
||||
</div>
|
||||
<StoryText compact />
|
||||
</section>
|
||||
|
||||
<section className={cx(styles.section, styles.editorialComparison)}>
|
||||
<ComparisonTitle align="left" />
|
||||
<div className={styles.editorialRule} aria-hidden />
|
||||
<ComparisonGrid />
|
||||
</section>
|
||||
|
||||
<div className={styles.sectionNarrow}><DifferenceCta /></div>
|
||||
<TrustBand />
|
||||
<FaqSection />
|
||||
<div className={styles.sectionNarrow}><FinalCta index="02" /></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import Werkstatt from "../variants/Werkstatt";
|
||||
|
||||
export default function WerkstattPage() {
|
||||
return <Werkstatt />;
|
||||
}
|
||||
+291
@@ -0,0 +1,291 @@
|
||||
"use client";
|
||||
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { useEffect, useState } from "react";
|
||||
import {
|
||||
ArrowLeft,
|
||||
Check,
|
||||
CircleOff,
|
||||
Eraser,
|
||||
Hexagon,
|
||||
RotateCcw,
|
||||
Sparkles,
|
||||
} from "lucide-react";
|
||||
import HoneycombSection, {
|
||||
HONEYCOMB_DEFAULT_LAYERS,
|
||||
HONEYCOMB_LOGOS,
|
||||
PHYSICS_PRESETS,
|
||||
type HoneycombLayers,
|
||||
type HoneycombLogoPlacements,
|
||||
type HoneycombPlacementTool,
|
||||
} from "@/components/landing/HoneycombSection";
|
||||
import styles from "./grid-lab.module.css";
|
||||
|
||||
const STORAGE_KEY = "hivegrid:playground:honeycomb-grid-lab:original:v2";
|
||||
const LEGACY_STORAGE_KEY = "hivegrid:playground:honeycomb-grid-lab:v1";
|
||||
|
||||
type GridState = {
|
||||
version: 2;
|
||||
placements: HoneycombLogoPlacements;
|
||||
activeCellIds: number[];
|
||||
layers: HoneycombLayers;
|
||||
};
|
||||
|
||||
const LAYER_OPTIONS: ReadonlyArray<{ key: keyof HoneycombLayers; label: string }> = [
|
||||
{ key: "innerRing", label: "Innerer Ring" },
|
||||
{ key: "outerRing", label: "Äußerer Ring" },
|
||||
{ key: "field", label: "Wabenfeld" },
|
||||
{ key: "strands", label: "Verbindungen" },
|
||||
{ key: "packets", label: "Datenpunkte" },
|
||||
{ key: "glow", label: "Glow" },
|
||||
];
|
||||
|
||||
function createEmptyGridState(): GridState {
|
||||
return {
|
||||
version: 2,
|
||||
placements: {},
|
||||
activeCellIds: [],
|
||||
layers: { ...HONEYCOMB_DEFAULT_LAYERS, hub: true },
|
||||
};
|
||||
}
|
||||
|
||||
function normalizeStoredState(value: unknown): GridState {
|
||||
const fallback = createEmptyGridState();
|
||||
if (!value || typeof value !== "object") return fallback;
|
||||
|
||||
const candidate = value as Partial<GridState>;
|
||||
const placements = candidate.placements && typeof candidate.placements === "object"
|
||||
? Object.fromEntries(
|
||||
Object.entries(candidate.placements).filter(
|
||||
([cellId, label]) =>
|
||||
Number.isInteger(Number(cellId)) &&
|
||||
Number(cellId) > 1 &&
|
||||
typeof label === "string" &&
|
||||
Boolean(HONEYCOMB_LOGOS[label])
|
||||
)
|
||||
)
|
||||
: {};
|
||||
|
||||
const activeCellIds = Array.isArray(candidate.activeCellIds)
|
||||
? candidate.activeCellIds.filter(
|
||||
(cellId): cellId is number => Number.isInteger(cellId) && cellId > 1
|
||||
)
|
||||
: [];
|
||||
|
||||
const storedLayers: Partial<HoneycombLayers> =
|
||||
candidate.layers && typeof candidate.layers === "object" ? candidate.layers : {};
|
||||
|
||||
return {
|
||||
version: 2,
|
||||
placements,
|
||||
activeCellIds: [...new Set(activeCellIds)].sort((a, b) => a - b),
|
||||
layers: {
|
||||
...HONEYCOMB_DEFAULT_LAYERS,
|
||||
...Object.fromEntries(
|
||||
LAYER_OPTIONS.map(({ key }) => [
|
||||
key,
|
||||
typeof storedLayers[key] === "boolean"
|
||||
? storedLayers[key]
|
||||
: HONEYCOMB_DEFAULT_LAYERS[key],
|
||||
])
|
||||
),
|
||||
hub: true,
|
||||
} as HoneycombLayers,
|
||||
};
|
||||
}
|
||||
|
||||
export default function GridLabClient() {
|
||||
const [gridState, setGridState] = useState<GridState>(createEmptyGridState);
|
||||
const [placementTool, setPlacementTool] = useState<HoneycombPlacementTool>(null);
|
||||
const [hydrated, setHydrated] = useState(false);
|
||||
const [storageAvailable, setStorageAvailable] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
try {
|
||||
const stored = window.localStorage.getItem(STORAGE_KEY);
|
||||
if (stored) setGridState(normalizeStoredState(JSON.parse(stored)));
|
||||
window.localStorage.removeItem(LEGACY_STORAGE_KEY);
|
||||
} catch {
|
||||
setStorageAvailable(false);
|
||||
} finally {
|
||||
setHydrated(true);
|
||||
}
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (!hydrated || !storageAvailable) return;
|
||||
try {
|
||||
window.localStorage.setItem(STORAGE_KEY, JSON.stringify(gridState));
|
||||
} catch {
|
||||
setStorageAvailable(false);
|
||||
}
|
||||
}, [gridState, hydrated, storageAvailable]);
|
||||
|
||||
const updateGrid = (update: (current: GridState) => GridState) => {
|
||||
setGridState(update);
|
||||
};
|
||||
|
||||
const resetGrid = () => {
|
||||
if (!window.confirm("Das Grid leeren und auf das mittlere G zurücksetzen?")) return;
|
||||
setGridState(createEmptyGridState());
|
||||
setPlacementTool(null);
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<header className={styles.hero}>
|
||||
<Link href="/playground" className={styles.backLink}>
|
||||
<ArrowLeft aria-hidden="true" size={16} />
|
||||
Playground
|
||||
</Link>
|
||||
<div className={styles.eyebrow}>
|
||||
<Hexagon aria-hidden="true" size={15} />
|
||||
Playground / Grid Lab
|
||||
</div>
|
||||
<div className={styles.heroCopy}>
|
||||
<div>
|
||||
<h1>Honeycomb Grid-Lab</h1>
|
||||
<p>
|
||||
Eine stabile Originalversion zum freien Bestücken. Wähle oben ein Logo aus und klicke
|
||||
danach auf die gewünschte Wabe. Das Grid startet leer – nur das HiveGrid-G bleibt stehen.
|
||||
</p>
|
||||
</div>
|
||||
<div className={`${styles.saveState} ${!storageAvailable ? styles.saveError : ""}`}>
|
||||
{storageAvailable ? <Check aria-hidden="true" size={15} /> : <CircleOff aria-hidden="true" size={15} />}
|
||||
{storageAvailable ? "Automatisch lokal gespeichert" : "Lokaler Speicher nicht verfügbar"}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<aside className={styles.toolDock} aria-label="Grid-Werkzeuge">
|
||||
<div className={styles.dockSection}>
|
||||
<span className={styles.dockLabel}>Alle Logos – auswählen und danach im Grid platzieren</span>
|
||||
<div className={styles.logoRail}>
|
||||
{Object.entries(HONEYCOMB_LOGOS).map(([label, logo]) => {
|
||||
const selected = placementTool === label;
|
||||
return (
|
||||
<button
|
||||
key={label}
|
||||
type="button"
|
||||
className={`${styles.logoButton} ${selected ? styles.logoButtonActive : ""}`}
|
||||
aria-label={`${label} platzieren`}
|
||||
aria-pressed={selected}
|
||||
title={`${label} platzieren`}
|
||||
onClick={() => setPlacementTool(selected ? null : label)}
|
||||
>
|
||||
<Image
|
||||
src={logo.src}
|
||||
alt=""
|
||||
width={76}
|
||||
height={30}
|
||||
sizes="76px"
|
||||
style={{ borderRadius: logo.cornerRadius }}
|
||||
/>
|
||||
<span>{label}</span>
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.dockFooter}>
|
||||
<div className={styles.controlStack}>
|
||||
<span className={styles.dockLabel}>Bearbeiten</span>
|
||||
<div className={styles.modeButtons}>
|
||||
<button
|
||||
type="button"
|
||||
className={placementTool === null ? styles.toolActive : ""}
|
||||
onClick={() => setPlacementTool(null)}
|
||||
aria-pressed={placementTool === null}
|
||||
>
|
||||
<Sparkles aria-hidden="true" size={15} />
|
||||
Wabe an / aus
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
className={placementTool === "__erase__" ? styles.toolActive : ""}
|
||||
onClick={() => setPlacementTool("__erase__")}
|
||||
aria-pressed={placementTool === "__erase__"}
|
||||
>
|
||||
<Eraser aria-hidden="true" size={15} />
|
||||
Logo entfernen
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.controlStack}>
|
||||
<span className={styles.dockLabel}>Sichtbare Ebenen</span>
|
||||
<div className={styles.layerControls} aria-label="Grid-Ebenen">
|
||||
{LAYER_OPTIONS.map(({ key, label }) => {
|
||||
const enabled = gridState.layers[key];
|
||||
return (
|
||||
<button
|
||||
key={key}
|
||||
type="button"
|
||||
aria-pressed={enabled}
|
||||
className={enabled ? styles.layerEnabled : ""}
|
||||
onClick={() => updateGrid((current) => ({
|
||||
...current,
|
||||
layers: { ...current.layers, [key]: !current.layers[key], hub: true },
|
||||
}))}
|
||||
>
|
||||
<span aria-hidden="true" />
|
||||
{label}
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="button" className={styles.resetButton} onClick={resetGrid}>
|
||||
<RotateCcw aria-hidden="true" size={15} />
|
||||
Grid leeren
|
||||
</button>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<section className={`${styles.previewShell} ${styles.solid}`} aria-labelledby="active-grid-title">
|
||||
<div className={styles.previewAtmosphere} aria-hidden="true">
|
||||
<span />
|
||||
<span />
|
||||
<span />
|
||||
</div>
|
||||
<div className={styles.previewMeta}>
|
||||
<div>
|
||||
<span>Originalversion</span>
|
||||
<h2 id="active-grid-title">Original Solid</h2>
|
||||
</div>
|
||||
<p>
|
||||
{placementTool === null
|
||||
? "Waben anklicken, um sie ein- oder auszuschalten. Bereits gesetzte Logos können verschoben werden."
|
||||
: placementTool === "__erase__"
|
||||
? "Auf eine belegte Wabe klicken, um das Logo zu entfernen."
|
||||
: `${placementTool} ist ausgewählt – jetzt die gewünschte Wabe anklicken.`}
|
||||
</p>
|
||||
</div>
|
||||
<div className={styles.gridStage}>
|
||||
<HoneycombSection
|
||||
inline
|
||||
theme="light"
|
||||
physics={PHYSICS_PRESETS.soft}
|
||||
appearance="solid"
|
||||
layers={gridState.layers}
|
||||
showCellNumbers={false}
|
||||
showInlineFade={false}
|
||||
logoPlacements={gridState.placements}
|
||||
onLogoPlacementsChange={(placements) => updateGrid((current) => ({ ...current, placements }))}
|
||||
activeCellIds={gridState.activeCellIds}
|
||||
onActiveCellIdsChange={(activeCellIds) => updateGrid((current) => ({ ...current, activeCellIds }))}
|
||||
editorMode
|
||||
placementTool={placementTool}
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer className={styles.labNote}>
|
||||
<strong>Nur Playground.</strong> Der Zustand dieses Grids wird ausschließlich lokal in deinem Browser gespeichert.
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+467
@@ -0,0 +1,467 @@
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
padding: 44px clamp(18px, 4vw, 64px) 72px;
|
||||
background:
|
||||
radial-gradient(circle at 12% 2%, rgba(241, 183, 41, 0.13), transparent 28rem),
|
||||
linear-gradient(180deg, #fffdf8 0%, #f5f1e8 100%);
|
||||
color: #221b0f;
|
||||
}
|
||||
|
||||
.hero,
|
||||
.toolDock,
|
||||
.previewShell,
|
||||
.labNote {
|
||||
width: min(100%, 1480px);
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: grid;
|
||||
gap: 22px;
|
||||
padding-bottom: 28px;
|
||||
}
|
||||
|
||||
.backLink {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
width: max-content;
|
||||
color: #6a5b3e;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
transition: color 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
.backLink:hover {
|
||||
color: #2f2514;
|
||||
transform: translateX(-2px);
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: max-content;
|
||||
padding: 7px 10px;
|
||||
border: 1px solid rgba(126, 89, 13, 0.13);
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
color: #76540d;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.11em;
|
||||
text-transform: uppercase;
|
||||
box-shadow: 0 8px 30px rgba(62, 44, 10, 0.06);
|
||||
}
|
||||
|
||||
.heroCopy {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.heroCopy h1 {
|
||||
margin: 0;
|
||||
max-width: 820px;
|
||||
font-size: clamp(38px, 5.2vw, 76px);
|
||||
font-weight: 750;
|
||||
letter-spacing: -0.055em;
|
||||
line-height: 0.98;
|
||||
}
|
||||
|
||||
.heroCopy p {
|
||||
max-width: 760px;
|
||||
margin: 18px 0 0;
|
||||
color: #6e624c;
|
||||
font-size: clamp(14px, 1.4vw, 17px);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.saveState {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
margin-bottom: 4px;
|
||||
padding: 8px 11px;
|
||||
border: 1px solid rgba(33, 105, 70, 0.14);
|
||||
border-radius: 999px;
|
||||
background: rgba(235, 249, 240, 0.82);
|
||||
color: #286744;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.025em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.saveError {
|
||||
border-color: rgba(159, 69, 46, 0.18);
|
||||
background: rgba(255, 239, 233, 0.88);
|
||||
color: #98482e;
|
||||
}
|
||||
|
||||
.toolDock {
|
||||
position: relative;
|
||||
z-index: 70;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin-bottom: 18px;
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(82, 58, 12, 0.13);
|
||||
border-radius: 22px;
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
box-shadow: 0 20px 60px rgba(65, 46, 11, 0.12);
|
||||
backdrop-filter: blur(22px) saturate(1.25);
|
||||
}
|
||||
|
||||
.dockSection {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dockLabel {
|
||||
color: #74664d;
|
||||
font-size: 9px;
|
||||
font-weight: 850;
|
||||
letter-spacing: 0.11em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.modeButtons,
|
||||
.layerControls {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.modeButtons button,
|
||||
.layerControls button,
|
||||
.resetButton {
|
||||
appearance: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 7px;
|
||||
min-height: 32px;
|
||||
padding: 7px 10px;
|
||||
border: 1px solid rgba(78, 59, 22, 0.12);
|
||||
border-radius: 9px;
|
||||
background: #f8f6f1;
|
||||
color: #62553e;
|
||||
font: inherit;
|
||||
font-size: 10px;
|
||||
font-weight: 760;
|
||||
cursor: pointer;
|
||||
transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
|
||||
}
|
||||
|
||||
.modeButtons button:hover,
|
||||
.layerControls button:hover,
|
||||
.resetButton:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(172, 117, 1, 0.38);
|
||||
}
|
||||
|
||||
.modeButtons .toolActive {
|
||||
border-color: rgba(188, 126, 0, 0.48);
|
||||
background: #f1b729;
|
||||
color: #372605;
|
||||
box-shadow: 0 5px 16px rgba(144, 94, 0, 0.16);
|
||||
}
|
||||
|
||||
.logoRail {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
|
||||
gap: 7px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.logoButton {
|
||||
appearance: none;
|
||||
display: grid;
|
||||
grid-template-rows: 30px 1fr;
|
||||
place-items: center;
|
||||
gap: 4px;
|
||||
min-height: 60px;
|
||||
padding: 7px 6px 5px;
|
||||
border: 1px solid rgba(85, 63, 20, 0.1);
|
||||
border-radius: 11px;
|
||||
background: #fbfaf7;
|
||||
color: #6b5e47;
|
||||
cursor: copy;
|
||||
transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
|
||||
}
|
||||
|
||||
.logoButton:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(183, 123, 0, 0.38);
|
||||
background: #fff9e9;
|
||||
}
|
||||
|
||||
.logoButton img {
|
||||
width: auto;
|
||||
max-width: 70px;
|
||||
height: 27px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.logoButton span {
|
||||
overflow: hidden;
|
||||
max-width: 76px;
|
||||
font-size: 8px;
|
||||
font-weight: 750;
|
||||
line-height: 1.1;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.logoButtonActive {
|
||||
border-color: rgba(151, 99, 0, 0.6);
|
||||
background: #f1b729;
|
||||
color: #342302;
|
||||
box-shadow: 0 0 0 2px rgba(241, 183, 41, 0.18), 0 7px 18px rgba(98, 62, 0, 0.14);
|
||||
}
|
||||
|
||||
.dockFooter {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: flex-start;
|
||||
gap: 14px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid rgba(77, 56, 14, 0.09);
|
||||
}
|
||||
|
||||
.controlStack {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.layerControls button > span {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 999px;
|
||||
background: #bcb5a8;
|
||||
box-shadow: 0 0 0 2px rgba(106, 93, 69, 0.08);
|
||||
}
|
||||
|
||||
.layerControls .layerEnabled {
|
||||
border-color: rgba(183, 123, 0, 0.22);
|
||||
background: #fff8e4;
|
||||
color: #4c380f;
|
||||
}
|
||||
|
||||
.layerControls .layerEnabled > span {
|
||||
background: #e1a714;
|
||||
box-shadow: 0 0 0 2px rgba(241, 183, 41, 0.2), 0 0 8px rgba(241, 183, 41, 0.45);
|
||||
}
|
||||
|
||||
.resetButton {
|
||||
flex: 0 0 auto;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.previewShell {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 680px;
|
||||
border: 1px solid rgba(83, 59, 12, 0.16);
|
||||
border-radius: clamp(20px, 3vw, 34px);
|
||||
isolation: isolate;
|
||||
box-shadow: 0 34px 100px rgba(48, 31, 2, 0.16);
|
||||
}
|
||||
|
||||
.previewShell::after {
|
||||
position: absolute;
|
||||
z-index: 30;
|
||||
inset: 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.44);
|
||||
border-radius: inherit;
|
||||
content: "";
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.solid {
|
||||
background:
|
||||
linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
|
||||
radial-gradient(circle at 50% 45%, #fff0be 0%, #fffaf0 54%, #f6f1e7 100%);
|
||||
}
|
||||
|
||||
.previewAtmosphere {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.previewAtmosphere span {
|
||||
position: absolute;
|
||||
width: 34vw;
|
||||
max-width: 500px;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 999px;
|
||||
filter: blur(70px);
|
||||
opacity: 0.32;
|
||||
}
|
||||
|
||||
.previewAtmosphere span:nth-child(1) {
|
||||
top: 8%;
|
||||
left: 8%;
|
||||
background: #f1b729;
|
||||
}
|
||||
|
||||
.previewAtmosphere span:nth-child(2) {
|
||||
right: 4%;
|
||||
bottom: 6%;
|
||||
background: #fff1bc;
|
||||
}
|
||||
|
||||
.previewAtmosphere span:nth-child(3) {
|
||||
top: 38%;
|
||||
left: 48%;
|
||||
width: 18vw;
|
||||
background: #c28100;
|
||||
opacity: 0.18;
|
||||
}
|
||||
|
||||
.previewMeta {
|
||||
position: absolute;
|
||||
z-index: 20;
|
||||
top: clamp(18px, 3vw, 34px);
|
||||
left: clamp(18px, 3vw, 38px);
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
width: calc(100% - clamp(36px, 6vw, 76px));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.previewMeta span {
|
||||
color: #997020;
|
||||
font-size: 9px;
|
||||
font-weight: 850;
|
||||
letter-spacing: 0.13em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.previewMeta h2 {
|
||||
margin: 1px 0 0;
|
||||
font-size: clamp(21px, 2.7vw, 34px);
|
||||
letter-spacing: -0.035em;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.previewMeta p {
|
||||
max-width: 430px;
|
||||
margin: 3px 0 0;
|
||||
color: #79694b;
|
||||
font-size: 11px;
|
||||
line-height: 1.5;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.gridStage {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
padding-top: 34px;
|
||||
}
|
||||
|
||||
.labNote {
|
||||
margin-top: 16px;
|
||||
color: #7c705b;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.labNote strong {
|
||||
color: #493a1e;
|
||||
}
|
||||
|
||||
@media (max-width: 1120px) {
|
||||
.dockFooter {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.resetButton {
|
||||
width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.page {
|
||||
padding: 28px 14px 52px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.heroCopy {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.saveState {
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.toolDock {
|
||||
padding: 13px;
|
||||
border-radius: 17px;
|
||||
}
|
||||
|
||||
.modeButtons {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.modeButtons button {
|
||||
padding-inline: 7px;
|
||||
}
|
||||
|
||||
.layerControls {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.layerControls button {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.previewShell {
|
||||
min-height: 590px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.previewMeta {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.previewMeta p {
|
||||
max-width: 290px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.gridStage {
|
||||
padding-top: 72px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.backLink,
|
||||
.modeButtons button,
|
||||
.layerControls button,
|
||||
.resetButton,
|
||||
.logoButton {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
import type { Metadata } from "next";
|
||||
import { headers } from "next/headers";
|
||||
import { notFound } from "next/navigation";
|
||||
import GridLabClient from "./GridLabClient";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Honeycomb Grid Lab (dev)",
|
||||
description: "Lokaler Varianten-Editor für das HiveGrid-Honeycomb.",
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export default async function GridLabPage() {
|
||||
const requestHeaders = await headers();
|
||||
const host = (
|
||||
requestHeaders.get("x-forwarded-host") ||
|
||||
requestHeaders.get("host") ||
|
||||
""
|
||||
).toLowerCase();
|
||||
|
||||
const enabled =
|
||||
process.env.NODE_ENV !== "production" ||
|
||||
process.env.SHOW_PLAYGROUND === "1" ||
|
||||
host.startsWith("staging.") ||
|
||||
host.includes("localhost") ||
|
||||
host.startsWith("127.0.0.1") ||
|
||||
host.startsWith("[::1]");
|
||||
|
||||
if (!enabled) notFound();
|
||||
|
||||
return <GridLabClient />;
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import type { NextRequest } from "next/server";
|
||||
|
||||
/**
|
||||
* Root "/" → staging preview wrapper, host-gated.
|
||||
*
|
||||
* The current landing is rendered directly by app/page.tsx in production.
|
||||
* Local development and staging are rewritten through /playground so the same
|
||||
* screen keeps its noindex preview metadata there. The visual content is shared
|
||||
* between both routes; only the environment-specific metadata and login target
|
||||
* differ.
|
||||
*
|
||||
* Matcher is "/" only, so no other route pays any middleware cost.
|
||||
*/
|
||||
export function middleware(req: NextRequest) {
|
||||
const host = (
|
||||
req.headers.get("x-forwarded-host") ||
|
||||
req.headers.get("host") ||
|
||||
""
|
||||
).toLowerCase();
|
||||
|
||||
const showPlayground =
|
||||
process.env.NODE_ENV !== "production" || // local dev
|
||||
process.env.SHOW_PLAYGROUND === "1" || // manual override
|
||||
host.startsWith("staging.") || // staging.hivegrid.de → on
|
||||
host.includes("localhost") ||
|
||||
host.startsWith("127.0.0.1");
|
||||
|
||||
if (showPlayground) {
|
||||
const url = req.nextUrl.clone();
|
||||
url.pathname = "/playground";
|
||||
return NextResponse.rewrite(url);
|
||||
}
|
||||
|
||||
return NextResponse.next();
|
||||
}
|
||||
|
||||
export const config = {
|
||||
matcher: "/",
|
||||
};
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
import type { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
import { headers } from "next/headers";
|
||||
import { Manrope } from "next/font/google";
|
||||
import LandingPageClient from "@/components/landing/LandingPageClient";
|
||||
|
||||
// Local/staging preview wrapper for the landing page rendered by app/page.tsx.
|
||||
// It remains host-gated and noindex so staging can be reviewed without creating
|
||||
// a second indexable URL on hivegrid.de.
|
||||
export const metadata: Metadata = {
|
||||
title: "Playground (dev)",
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
// Render at request time so the gate below reads the live request host + runtime
|
||||
// env — the same built image is enabled on staging and disabled on prod.
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
// Playground-only font test: Manrope is a bit warmer + more geometric than
|
||||
// Inter — grounded without feeling SF-style. Scoped to /playground only so we
|
||||
// can A/B it without touching the live font.
|
||||
const manrope = Manrope({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-playground",
|
||||
weight: ["400", "500", "600", "700", "800"],
|
||||
display: "swap",
|
||||
});
|
||||
|
||||
export default async function PlaygroundPage() {
|
||||
const hdrs = await headers();
|
||||
const host = (hdrs.get("x-forwarded-host") || hdrs.get("host") || "").toLowerCase();
|
||||
|
||||
const enabled =
|
||||
process.env.NODE_ENV !== "production" || // local dev
|
||||
process.env.SHOW_PLAYGROUND === "1" || // manual override
|
||||
host.startsWith("staging.") || // staging.hivegrid.de → auto-on
|
||||
host.includes("localhost") ||
|
||||
host.startsWith("127.0.0.1");
|
||||
|
||||
if (!enabled) {
|
||||
notFound();
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
className={manrope.variable}
|
||||
style={{ fontFamily: "var(--font-playground), system-ui, sans-serif" }}
|
||||
>
|
||||
<LandingPageClient />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
"use client";
|
||||
|
||||
import dynamic from "next/dynamic";
|
||||
|
||||
const Agentation = dynamic(
|
||||
() => import("agentation").then((module) => module.Agentation),
|
||||
{ ssr: false }
|
||||
);
|
||||
|
||||
export default function AgentationClient() {
|
||||
if (process.env.NODE_ENV !== "development") {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Opt-in only: the agentation overlay monkey-patches global timers
|
||||
// (setInterval / setTimeout / requestAnimationFrame) and runs on every page.
|
||||
// Combined with the site's GSAP + ResizeObserver/rAF loops this can spin the
|
||||
// dev tab into a CPU/RAM runaway that swap-storms the whole machine.
|
||||
// Enable explicitly with NEXT_PUBLIC_AGENTATION=1 only when the agent
|
||||
// backend on localhost:4747 is actually running.
|
||||
if (process.env.NEXT_PUBLIC_AGENTATION !== "1") {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <Agentation endpoint="http://localhost:4747" className="z-[9999]" />;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Agentation } from "agentation";
|
||||
|
||||
export default function AgentationDev() {
|
||||
return <Agentation />;
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,796 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import { useGSAP } from "@gsap/react";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
|
||||
import {
|
||||
ArrowRight,
|
||||
Check,
|
||||
X,
|
||||
ShieldCheck,
|
||||
MapPin,
|
||||
Server,
|
||||
Headphones,
|
||||
} from "lucide-react";
|
||||
import HoneycombSection from "./HoneycombSection";
|
||||
import DesktopSystemCards from "@/components/sections/DesktopSystemCards";
|
||||
import ScreenshotAccordion from "@/components/sections/ScreenshotAccordion";
|
||||
import FAQSection from "@/components/sections/FAQSection";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
import CtaBanner from "@/components/ui/CtaShowcase";
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger, useGSAP);
|
||||
|
||||
/* ──────────────────────────────────────────────────────────────────────────
|
||||
* Production landing page along the complete user journey.
|
||||
* ────────────────────────────────────────────────────────────────────────── */
|
||||
|
||||
// ── Placeholder data ─────────────────────────────────────────────────────
|
||||
|
||||
// TODO(haris): finalisieren
|
||||
|
||||
// Landing-page FAQ in the direct "du" voice; intentionally kept separate from
|
||||
// the formal reusable FAQ copy in lib/faqs.ts.
|
||||
const landingPageFaqs = [
|
||||
{ q: "Für wen ist HiveGrid geeignet?", a: "HiveGrid ist gebaut für SHK-Betriebe: Heizungsbauer, Sanitär, Klima und Energietechnik. Egal ob du allein arbeitest oder 50 Leute im Betrieb hast: HiveGrid wächst mit dir." },
|
||||
{ q: "Muss ich meine bestehende Software aufgeben?", a: "Nein, genau das ist der Punkt. HiveGrid verbindet, was du schon nutzt (kwp, DATEV, Kalender, Postfach), statt es zu ersetzen. Nichts wird migriert, nichts weggeworfen. Du gewinnst den Überblick, ohne den Umstieg." },
|
||||
{ q: "Wie lange dauert die Einrichtung?", a: "Rechne mit ein bis zwei Wochen, dann läuft alles. Weil HiveGrid an deine bestehenden Tools andockt statt sie zu ersetzen, sparst du dir die monatelangen Migrationsprojekte. Die Verbindungen richten wir gemeinsam mit dir ein." },
|
||||
{ q: "Sind meine Daten sicher?", a: "Ja. Deine Daten liegen zu 100 % auf Servern in Deutschland und der EU, DSGVO-konform und komplett ohne US-Beteiligung. Kein US Cloud Act, kein Datenabfluss in die USA." },
|
||||
{ q: "Gibt es eine kostenlose Testphase?", a: "Eine klassische Testphase gibt es aktuell nicht, aber ein Risiko gehst du trotzdem nicht ein: Du startest mit einer kostenlosen 30-Minuten-Demo an deinem eigenen Betrieb. Kein Vertrag, keine Kreditkarte. Du entscheidest danach, ob es passt." },
|
||||
{ q: "Kann ich HiveGrid auf dem Smartphone nutzen?", a: "Ja. HiveGrid läuft direkt im Browser, ob am Rechner, auf dem Tablet oder dem Smartphone. So sieht dein Team auch auf der Baustelle, was ansteht. Eine eigene App ist in Arbeit." },
|
||||
{ q: "Wie erreiche ich den Support?", a: "Direkt und auf Deutsch. Kein Ticket-System im Ausland, sondern echte Menschen, die dein Handwerk verstehen. Du erreichst uns telefonisch und per E-Mail." },
|
||||
];
|
||||
|
||||
// TODO(david): Screens gegen echte Software-Aufnahmen tauschen.
|
||||
// TODO(haris): Modulnamen + Copy final abstimmen.
|
||||
// TODO(dejan): Modul→Produkt-Zuordnung final abgleichen, sobald die neue
|
||||
// Produkt-Struktur steht. Aktuell Best-Guess-Mapping auf /produkt/* aus
|
||||
// site.config.ts — "Baustelle" und "Services" haben keine exakte Entsprechung.
|
||||
const solutionModules = [
|
||||
{
|
||||
title: "Projektmanagement",
|
||||
body: "Projekte, Kunden, Angebote, Förderanträge: Du siehst auf einen Blick, wo jeder Auftrag steht. Kein Suchen, kein Nachfragen, kein Zettelchaos.",
|
||||
screenshot: "/images/screenshot-projektmanagement-pipeline.png",
|
||||
screenshotWidth: 2940,
|
||||
screenshotHeight: 1660,
|
||||
href: "/produkt/projektmanagement",
|
||||
},
|
||||
{
|
||||
title: "Workflow-Engine",
|
||||
body: "Wenn-dann statt Handarbeit: Auslöser wählen, Aktionen dranhängen, fertig. Anfrage rein, Aufgabe raus, Bestätigung an den Kunden, alles automatisch und ohne eine Zeile Code.",
|
||||
screenshot: "/images/screenshot-workflow.png",
|
||||
screenshotWidth: 2000,
|
||||
screenshotHeight: 1330,
|
||||
href: "/produkt/workflow-engine",
|
||||
},
|
||||
{
|
||||
title: "Chat",
|
||||
body: "Jedes Projekt bekommt automatisch seinen Kanal. Foto von der Baustelle rein, alle sehen's sofort und es landet direkt in den Projektdateien. Aus jeder Nachricht wird mit einem Klick eine Aufgabe.",
|
||||
screenshot: "/images/screenshot-chat.png",
|
||||
screenshotWidth: 2000,
|
||||
screenshotHeight: 1357,
|
||||
href: "/produkt/chat",
|
||||
},
|
||||
{
|
||||
title: "Form Builder",
|
||||
body: "Formulare per Drag-and-drop selbst bauen, von der Kontaktanfrage bis zum Aufmaß mit Unterschrift vor Ort. Teil sie per Link, QR-Code oder direkt auf deiner Website, jede Einsendung wird automatisch zu Lead, Kontakt oder Auftrag.",
|
||||
screenshot: "/images/screenshot-formbuilder.png",
|
||||
screenshotWidth: 2000,
|
||||
screenshotHeight: 1095,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
// TODO(haris): Vergleichszeilen final schreiben.
|
||||
const comparisonRows: Array<[string, string]> = [
|
||||
["Bindung an einen einzelnen Anbieter", "Verbindet bestehende Software statt sie zu ersetzen"],
|
||||
["Migrationsaufwand + Datenverlust-Risiko", "Kein Wechsel, kein Risiko"],
|
||||
["Feste Prozesse, keine Automatisierung", "Automatisierungen selbst zusammenklicken"],
|
||||
["Support-Ticket im Ausland", "Deutscher Support, direkter Draht"],
|
||||
["Server irgendwo auf der Welt", "100 % gehostet in Deutschland"],
|
||||
];
|
||||
|
||||
const trustItems = [
|
||||
{ icon: Server, label: "Hosting in Deutschland" },
|
||||
{ icon: ShieldCheck, label: "DSGVO-konform" },
|
||||
{ icon: MapPin, label: "Kein US Cloud Act" },
|
||||
{ icon: Headphones, label: "Deutscher Support" },
|
||||
];
|
||||
|
||||
// ── Component ────────────────────────────────────────────────────────────
|
||||
|
||||
export default function LandingPageClient() {
|
||||
const root = useRef<HTMLDivElement>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const q = gsap.utils.selector(root);
|
||||
const mm = gsap.matchMedia();
|
||||
|
||||
mm.add("(prefers-reduced-motion: no-preference)", () => {
|
||||
// Hero entrance
|
||||
const tl = gsap.timeline({ defaults: { ease: "power3.out" } });
|
||||
tl.from("[data-hero='label']", { y: 20, opacity: 0, duration: 0.5 })
|
||||
.from("[data-hero='headline']", { y: 30, opacity: 0, duration: 0.7 }, "-=0.25")
|
||||
.from("[data-hero='sub']", { y: 20, opacity: 0, duration: 0.5 }, "-=0.4")
|
||||
.from("[data-hero='cta']", { y: 20, opacity: 0, duration: 0.5 }, "-=0.3");
|
||||
|
||||
// Generic reveal
|
||||
q("[data-reveal]").forEach((el) => {
|
||||
gsap.from(el, {
|
||||
opacity: 0,
|
||||
y: 24,
|
||||
duration: 0.7,
|
||||
ease: "power3.out",
|
||||
scrollTrigger: { trigger: el, start: "top 85%" },
|
||||
});
|
||||
});
|
||||
|
||||
// Werkstatt-Choreografie aus Testpage 2, für die neue Links-/Rechts-
|
||||
// Anordnung gespiegelt. Foto, Text und Badge haben getrennte Ebenen,
|
||||
// damit kein Tween gegen einen statischen Tilt arbeitet.
|
||||
const noahStory = q("[data-noah-story]")[0];
|
||||
const noahPhoto = q("[data-noah-photo]")[0];
|
||||
const noahCopy = q("[data-noah-copy]")[0];
|
||||
const noahBadge = q("[data-noah-badge]")[0];
|
||||
|
||||
if (noahStory && noahPhoto && noahCopy && noahBadge) {
|
||||
const storyTimeline = gsap.timeline({
|
||||
defaults: { ease: "power3.out" },
|
||||
scrollTrigger: {
|
||||
trigger: noahStory,
|
||||
start: "clamp(top 74%)",
|
||||
once: true,
|
||||
},
|
||||
});
|
||||
|
||||
storyTimeline
|
||||
.fromTo(
|
||||
noahPhoto,
|
||||
{ autoAlpha: 0, x: 92, y: 22, scale: 0.95 },
|
||||
{
|
||||
autoAlpha: 1,
|
||||
x: 0,
|
||||
y: 0,
|
||||
scale: 1,
|
||||
duration: 1,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
)
|
||||
.fromTo(
|
||||
Array.from(noahCopy.children),
|
||||
{ autoAlpha: 0, x: -54, y: 12 },
|
||||
{
|
||||
autoAlpha: 1,
|
||||
x: 0,
|
||||
y: 0,
|
||||
duration: 0.66,
|
||||
stagger: 0.055,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
0.16,
|
||||
)
|
||||
.fromTo(
|
||||
noahBadge,
|
||||
{ autoAlpha: 0, x: 36, y: -8, scale: 0.9 },
|
||||
{
|
||||
autoAlpha: 1,
|
||||
x: 0,
|
||||
y: 0,
|
||||
scale: 1,
|
||||
duration: 0.54,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
0.58,
|
||||
);
|
||||
}
|
||||
|
||||
const trustBand = q("[data-trust-band]")[0];
|
||||
const trustCopy = q("[data-trust-copy]")[0];
|
||||
const trustStripe = q("[data-trust-stripes]")[0];
|
||||
const trustCards = q("[data-trust-item]");
|
||||
|
||||
if (trustBand && trustCopy && trustStripe && trustCards.length) {
|
||||
const trustTimeline = gsap.timeline({
|
||||
defaults: { ease: "power3.out" },
|
||||
scrollTrigger: {
|
||||
trigger: trustBand,
|
||||
start: "clamp(top 86%)",
|
||||
once: true,
|
||||
},
|
||||
});
|
||||
|
||||
trustTimeline
|
||||
.fromTo(
|
||||
trustStripe,
|
||||
{ scaleX: 0 },
|
||||
{
|
||||
scaleX: 1,
|
||||
duration: 0.72,
|
||||
clearProps: "transform",
|
||||
},
|
||||
)
|
||||
.fromTo(
|
||||
trustCopy,
|
||||
{ autoAlpha: 0, x: -24, y: 8 },
|
||||
{
|
||||
autoAlpha: 1,
|
||||
x: 0,
|
||||
y: 0,
|
||||
duration: 0.58,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
0.08,
|
||||
)
|
||||
.fromTo(
|
||||
trustCards,
|
||||
{ autoAlpha: 0, y: 16, scale: 0.98 },
|
||||
{
|
||||
autoAlpha: 1,
|
||||
y: 0,
|
||||
scale: 1,
|
||||
duration: 0.46,
|
||||
stagger: 0.055,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
0.18,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
return () => mm.revert();
|
||||
},
|
||||
{ scope: root }
|
||||
);
|
||||
|
||||
return (
|
||||
<div ref={root}>
|
||||
{/* ── 1. Hero — Text links, freier Videoausschnitt rechts ───────── */}
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ background: "var(--bg-primary)", paddingBlock: 24 }}
|
||||
>
|
||||
{/* Rounded, inset "video embed" (bsport-style): the dark hero sits in a
|
||||
rounded card with light margins around it instead of being full-bleed.
|
||||
The video/placeholder + text overlay live inside and get clipped to
|
||||
the rounded corners. Fills the viewport minus navbar and the margins. */}
|
||||
<div
|
||||
className="relative overflow-hidden flex items-center lg:max-h-[calc(100svh_-_144px)]"
|
||||
style={{
|
||||
// svh (small viewport height) instead of dvh: dvh changes as the
|
||||
// mobile address bar hides on scroll, resizing the hero and making
|
||||
// everything below (incl. the honeycomb) jump. svh stays constant.
|
||||
minHeight: "calc(100svh - 80px - 64px)",
|
||||
background: "#0b1220",
|
||||
color: "#fff",
|
||||
clipPath: CHAMFER,
|
||||
paddingBlock: 56,
|
||||
paddingInline: "clamp(28px, 5vw, 72px)",
|
||||
}}
|
||||
>
|
||||
{/* Background video (Test-Asset — TODO(david): echtes Bürovideo).
|
||||
Sits at the very back; the scrim below keeps the text readable. */}
|
||||
<video
|
||||
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
|
||||
src="/videos/hero-test.mp4"
|
||||
poster="/videos/hero-poster.jpg"
|
||||
preload="auto"
|
||||
autoPlay
|
||||
muted
|
||||
loop
|
||||
playsInline
|
||||
aria-hidden
|
||||
/>
|
||||
{/* Scrim — same amber/teal mood as the old placeholder gradient, but
|
||||
translucent so the video shows through while text stays readable */}
|
||||
<div
|
||||
className="absolute inset-0 pointer-events-none"
|
||||
aria-hidden
|
||||
style={{
|
||||
background: [
|
||||
"radial-gradient(80% 60% at 12% 20%, rgba(241,183,41,0.12) 0%, transparent 55%)",
|
||||
"radial-gradient(60% 50% at 90% 90%, rgba(13,110,110,0.20) 0%, transparent 60%)",
|
||||
"radial-gradient(100% 100% at 50% 50%, rgba(11,18,32,0.25) 0%, rgba(11,18,32,0.78) 95%)",
|
||||
"linear-gradient(135deg, rgba(15,26,46,0.55) 0%, rgba(11,18,32,0.55) 100%)",
|
||||
].join(", "),
|
||||
}}
|
||||
/>
|
||||
{/* Grain / noise via SVG for cinematic feel */}
|
||||
<svg
|
||||
className="absolute inset-0 pointer-events-none"
|
||||
width="100%"
|
||||
height="100%"
|
||||
aria-hidden
|
||||
style={{ opacity: 0.35, mixBlendMode: "overlay" }}
|
||||
>
|
||||
<filter id="hero-noise">
|
||||
<feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch" />
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0" />
|
||||
</filter>
|
||||
<rect width="100%" height="100%" filter="url(#hero-noise)" />
|
||||
</svg>
|
||||
{/* Linksbündiger Inhalt; die rechte Videohälfte bleibt bewusst frei. */}
|
||||
<div
|
||||
className="relative z-10 w-full mx-auto lg:max-w-[1360px] 2xl:max-w-[1420px]"
|
||||
>
|
||||
{/* Text (left) */}
|
||||
<div className="flex flex-col items-start max-w-[600px] lg:max-w-[1080px]">
|
||||
<div
|
||||
data-hero="label"
|
||||
className="relative mb-7 ml-1 -rotate-2"
|
||||
style={{ filter: "drop-shadow(0 12px 20px rgba(0,0,0,0.2))" }}
|
||||
>
|
||||
<span
|
||||
aria-hidden
|
||||
className="absolute left-1/2 top-0 z-10 h-4 w-20 -translate-x-1/2 -translate-y-1/2 rotate-[4deg]"
|
||||
style={{
|
||||
background: "rgba(255,248,218,0.78)",
|
||||
border: "1px solid rgba(255,255,255,0.32)",
|
||||
boxShadow: "0 2px 8px rgba(0,0,0,0.12)",
|
||||
}}
|
||||
/>
|
||||
<span
|
||||
className="relative inline-flex px-5 py-3 text-[13px] sm:text-[14px] font-extrabold tracking-[0.015em]"
|
||||
style={{
|
||||
background: "var(--accent-yellow)",
|
||||
color: "#2D2108",
|
||||
clipPath:
|
||||
"polygon(3% 0, 97% 2%, 100% 84%, 96% 100%, 4% 97%, 0 13%)",
|
||||
}}
|
||||
>
|
||||
Entwickelt in einem SHK-Betrieb
|
||||
</span>
|
||||
</div>
|
||||
<h1
|
||||
data-hero="headline"
|
||||
className="font-extrabold mb-6 max-w-[1080px]"
|
||||
style={{
|
||||
color: "#fff",
|
||||
fontSize: "clamp(34px, 4.25vw, 62px)",
|
||||
lineHeight: 1.025,
|
||||
letterSpacing: "-0.025em",
|
||||
}}
|
||||
>
|
||||
<span className="block">Neue Software?</span>
|
||||
<span className="block">Brauchst du nicht!</span>
|
||||
<span className="block">
|
||||
HiveGrid{" "}
|
||||
<a
|
||||
href="#integrationen"
|
||||
className="group relative inline-flex rounded-sm text-[var(--accent-yellow)] transition-[color,filter,transform] duration-200 hover:-translate-y-0.5 hover:text-[#FFD766] hover:drop-shadow-[0_0_14px_rgba(241,183,41,0.34)] focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--accent-yellow)]"
|
||||
aria-label="Zum Bereich Verbinden statt ersetzen"
|
||||
>
|
||||
verbindet
|
||||
<span
|
||||
aria-hidden
|
||||
className="absolute -bottom-1 left-0 h-[3px] w-full origin-left scale-x-[0.22] bg-current transition-transform duration-200 ease-out group-hover:scale-x-100"
|
||||
/>
|
||||
</a>
|
||||
, was du bereits hast.
|
||||
</span>
|
||||
</h1>
|
||||
<p
|
||||
data-hero="sub"
|
||||
className="text-[18px] leading-relaxed mb-8"
|
||||
style={{ color: "rgba(255,255,255,0.75)", maxWidth: 540 }}
|
||||
>
|
||||
KWP, DATEV, Kalender, Postfach, Chat. HiveGrid legt sich über
|
||||
das, was schon läuft, und macht daraus einen Fluss. Nichts wird
|
||||
ersetzt, nichts migriert. Du gewinnst den Überblick, ohne irgendwas
|
||||
zu verlieren.
|
||||
</p>
|
||||
<div data-hero="cta" className="flex flex-wrap items-stretch gap-3">
|
||||
<DemoButton href="/waitlist">Auf die Warteliste</DemoButton>
|
||||
<Link
|
||||
href="/kunden"
|
||||
className="group inline-flex items-center justify-center gap-2 rounded-[var(--radius-button)] text-[16px] font-semibold transition-[background-color,border-color,box-shadow,transform] duration-200 hover:-translate-y-0.5 hover:bg-white/15 hover:border-[var(--accent-yellow)] hover:shadow-[0_12px_30px_rgba(0,0,0,0.24)] focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-white"
|
||||
style={{
|
||||
color: "#fff",
|
||||
padding: "14px 28px",
|
||||
background: "rgba(255,255,255,0.07)",
|
||||
border: "1px solid rgba(255,255,255,0.56)",
|
||||
}}
|
||||
>
|
||||
Für wen ist HiveGrid?
|
||||
<ArrowRight
|
||||
size={17}
|
||||
strokeWidth={2.2}
|
||||
aria-hidden
|
||||
className="transition-transform duration-200 group-hover:translate-x-1"
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 2. Lösungen — Systemkarten auf Desktop, Scroller auf Mobile ── */}
|
||||
<div className="hidden lg:block">
|
||||
<DesktopSystemCards
|
||||
badge="Die Lösung"
|
||||
headline="Jeder Bereich deines Betriebs. Ein Überblick."
|
||||
subtext="Klick dich durch die wichtigsten Bereiche und sieh, wie viel ruhiger dein Betrieb läuft, wenn alles ineinandergreift."
|
||||
items={solutionModules}
|
||||
/>
|
||||
</div>
|
||||
<div className="lg:hidden">
|
||||
<ScreenshotAccordion
|
||||
badge="Die Lösung"
|
||||
headline="Jeder Bereich deines Betriebs. Ein Überblick."
|
||||
subtext="Klick dich durch die wichtigsten Bereiche und sieh, wie viel ruhiger dein Betrieb läuft, wenn alles ineinandergreift."
|
||||
items={solutionModules}
|
||||
background="var(--bg-primary)"
|
||||
paddingTop={56}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* ── 3. Noahs Geschichte — Dark Story ─────────────────────────── */}
|
||||
<section
|
||||
data-noah-story
|
||||
className="section-full"
|
||||
style={{
|
||||
background: "var(--dark-bg)",
|
||||
color: "#fff",
|
||||
paddingTop: "clamp(88px, 8vw, 120px)",
|
||||
paddingBottom: 0,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="mx-auto grid grid-cols-1 lg:grid-cols-[0.92fr_1.08fr] items-center gap-12 lg:gap-[clamp(56px,5vw,80px)]"
|
||||
style={{ maxWidth: 1320 }}
|
||||
>
|
||||
{/* Text + Stats */}
|
||||
<div data-noah-copy className="flex flex-col">
|
||||
<span
|
||||
className="text-[13px] font-semibold uppercase tracking-widest mb-5"
|
||||
style={{ color: "var(--accent-yellow)" }}
|
||||
>
|
||||
Warum es HiveGrid gibt
|
||||
</span>
|
||||
<h2
|
||||
className="font-extrabold mb-6"
|
||||
style={{
|
||||
color: "#fff",
|
||||
fontSize: "clamp(30px, 3.6vw, 48px)",
|
||||
lineHeight: 1.05,
|
||||
letterSpacing: "-0.02em",
|
||||
}}
|
||||
>
|
||||
Die Geschichte fängt<br />auf der Baustelle an.
|
||||
</h2>
|
||||
{[
|
||||
<>
|
||||
<strong style={{ color: "#fff", fontWeight: 700 }}>Ich bin Noah Geerkens.</strong>{" "}
|
||||
Zusammen mit meiner Schwester führe ich unseren SHK-Betrieb in vierter Generation.
|
||||
</>,
|
||||
"Was kaum einer sagt: Ein Betrieb, den es so lange gibt, hat nicht nur Erfahrung. Er hat auch Prozesse, die seit Jahren so laufen, weil die Software es so vorgibt. Nicht, weil es sinnvoll ist.",
|
||||
"Und wechseln? Kannst du vergessen. Da hängen Jahre an Stammdaten, Aufträgen und Buchhaltung drin. Und Leute, die das System kennen. Kein Chef fährt seinen Betrieb für ein halbes Jahr an die Wand, nur um am Ende dasselbe zu haben. Nur woanders.",
|
||||
"Wir wollten auch gar nicht wechseln. Wir wollten mehr. KI-Lösungen. Ein CRM. Automatisierungen. Dass die Tools endlich miteinander reden.",
|
||||
"Genau dafür haben wir HiveGrid gebaut: kein Ersatz für dein Branchenprogramm, sondern der Aufbau drumherum. Dein ERP bleibt, wo es ist. HiveGrid holt raus, was bisher gefehlt hat.",
|
||||
"Kein Startup-Projekt. Entstanden im Handwerksalltag. Gebaut für den Handwerksalltag.",
|
||||
].map((para, i) => (
|
||||
<p
|
||||
key={i}
|
||||
className="text-[17px] leading-relaxed mb-4 last:mb-0"
|
||||
style={{ color: "#c8d0dc", maxWidth: 560 }}
|
||||
>
|
||||
{para}
|
||||
</p>
|
||||
))}
|
||||
|
||||
</div>
|
||||
|
||||
{/* Werkstatt-Fotokomposition: plakatives Generationenlabel,
|
||||
darunter nur Name + Rolle statt einer dunklen Caption-Box. */}
|
||||
<div data-noah-photo className="relative w-full">
|
||||
<div
|
||||
className="relative w-full"
|
||||
style={{ transform: "rotate(-1.2deg)", transformOrigin: "center bottom" }}
|
||||
>
|
||||
<div
|
||||
data-noah-badge
|
||||
className="absolute z-20"
|
||||
style={{
|
||||
top: 28,
|
||||
right: -26,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
padding: "13px 18px",
|
||||
background: "var(--accent-yellow)",
|
||||
color: "#3f2f0a",
|
||||
fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace",
|
||||
fontSize: 13,
|
||||
fontWeight: 850,
|
||||
letterSpacing: "0.1em",
|
||||
clipPath:
|
||||
"polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px)",
|
||||
transform: "rotate(10deg)",
|
||||
transformOrigin: "right center",
|
||||
whiteSpace: "nowrap",
|
||||
}}
|
||||
>
|
||||
VIERTE GENERATION · SHK
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className="relative w-full aspect-[4/5] overflow-hidden"
|
||||
style={{
|
||||
clipPath: CHAMFER,
|
||||
filter: "drop-shadow(0 30px 60px rgba(0,0,0,0.4))",
|
||||
}}
|
||||
>
|
||||
<Image
|
||||
src="/images/team/noah.webp"
|
||||
alt="Noah Geerkens, Mitgründer und Handwerksmeister"
|
||||
fill
|
||||
sizes="(min-width: 1280px) 680px, (min-width: 1024px) 52vw, 100vw"
|
||||
className="object-cover"
|
||||
style={{ objectPosition: "center 22%" }}
|
||||
draggable={false}
|
||||
/>
|
||||
<div
|
||||
className="absolute inset-x-0 bottom-0 h-[42%] pointer-events-none"
|
||||
aria-hidden
|
||||
style={{
|
||||
background:
|
||||
"linear-gradient(to top, rgba(4,12,25,0.78), rgba(4,12,25,0))",
|
||||
}}
|
||||
/>
|
||||
<div className="absolute z-10 left-6 bottom-6 flex flex-col items-start gap-2">
|
||||
<strong
|
||||
className="text-[14px] font-bold"
|
||||
style={{ color: "#fff", textShadow: "0 1px 8px rgba(0,0,0,0.65)" }}
|
||||
>
|
||||
Noah Geerkens
|
||||
</strong>
|
||||
<span
|
||||
className="text-[10px] font-extrabold uppercase tracking-[0.1em]"
|
||||
style={{
|
||||
background: "var(--accent-yellow)",
|
||||
color: "#3f2f0a",
|
||||
padding: "5px 8px",
|
||||
}}
|
||||
>
|
||||
Mitgründer & Handwerksmeister
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 4. Verbinden statt ersetzen — Honeycomb ─────────────────── */}
|
||||
<section
|
||||
id="integrationen"
|
||||
className="section-full"
|
||||
style={{
|
||||
background: "var(--bg-primary)",
|
||||
paddingTop: 0,
|
||||
paddingBottom: 32,
|
||||
scrollMarginTop: 88,
|
||||
}}
|
||||
>
|
||||
<div className="relative -mx-[var(--side-padding-mobile)] lg:-mx-[var(--side-padding)]">
|
||||
<div
|
||||
data-reveal
|
||||
className="absolute z-[60] top-10 lg:top-14 left-[var(--side-padding-mobile)] lg:left-[var(--side-padding)] max-w-[520px] pr-6"
|
||||
>
|
||||
<span
|
||||
className="text-[12px] font-semibold uppercase tracking-widest"
|
||||
style={{ color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
Integrationen
|
||||
</span>
|
||||
<h2
|
||||
className="mt-3 font-extrabold"
|
||||
style={{
|
||||
color: "var(--text-primary)",
|
||||
fontSize: "clamp(30px, 3.8vw, 50px)",
|
||||
lineHeight: 1.06,
|
||||
letterSpacing: "-0.04em",
|
||||
}}
|
||||
>
|
||||
Verbinden statt ersetzen.
|
||||
</h2>
|
||||
<p
|
||||
className="mt-4 max-w-[500px] text-[15.5px] leading-relaxed"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
HiveGrid ersetzt dein Branchenprogramm nicht. Über moderne
|
||||
Schnittstellen verbindet es die Software, mit der dein Betrieb
|
||||
schon arbeitet – ohne Migration und ohne Datenverlust.
|
||||
</p>
|
||||
</div>
|
||||
<HoneycombSection inline revealOnScroll />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 5. Vergleich — HiveGrid vs. andere Lösungen ─────────────── */}
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ background: "var(--surface)", paddingBlock: 104 }}
|
||||
>
|
||||
<div className="mx-auto" style={{ maxWidth: "var(--content-width)" }}>
|
||||
<div
|
||||
data-reveal
|
||||
className="flex flex-col items-center gap-4 text-center mb-14"
|
||||
>
|
||||
<span
|
||||
className="text-[13px] font-semibold uppercase tracking-widest"
|
||||
style={{ color: "var(--text-tertiary)" }}
|
||||
>
|
||||
Der Unterschied
|
||||
</span>
|
||||
<h2
|
||||
className="font-extrabold"
|
||||
style={{
|
||||
color: "var(--text-primary)",
|
||||
fontSize: "clamp(30px, 4vw, 48px)",
|
||||
lineHeight: 1.1,
|
||||
letterSpacing: "-0.03em",
|
||||
}}
|
||||
>
|
||||
Andere Lösungen{" "}
|
||||
<span style={{ color: "var(--text-tertiary)" }}>vs.</span>{" "}
|
||||
HiveGrid
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8">
|
||||
<div
|
||||
data-reveal
|
||||
className="flex flex-col gap-5 p-10"
|
||||
style={{ background: "var(--container-bg)", clipPath: CHAMFER }}
|
||||
>
|
||||
<h3 className="text-[20px] font-bold" style={{ color: "var(--text-secondary)" }}>
|
||||
Andere Lösungen
|
||||
</h3>
|
||||
<ul className="flex flex-col gap-3.5">
|
||||
{comparisonRows.map(([bad], i) => (
|
||||
<li key={i} className="flex items-start gap-3">
|
||||
<X size={20} strokeWidth={2.5} style={{ color: "#DC2626", marginTop: 2, flexShrink: 0 }} />
|
||||
<span
|
||||
className="text-[15.5px] leading-relaxed"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
{bad}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div
|
||||
data-reveal
|
||||
className="relative overflow-hidden flex flex-col gap-5 p-10"
|
||||
style={{ background: "var(--dark-bg)", color: "#fff", clipPath: CHAMFER }}
|
||||
>
|
||||
{/* HiveGrid "G" — subtle watermark for a bit of brand pep */}
|
||||
<img
|
||||
src="/hivegrid-logo.png"
|
||||
alt=""
|
||||
aria-hidden
|
||||
draggable={false}
|
||||
className="absolute pointer-events-none select-none"
|
||||
style={{ width: 300, right: -54, bottom: -46, opacity: 0.1 }}
|
||||
/>
|
||||
<h3 className="relative z-10 text-[20px] font-bold" style={{ color: "var(--accent-yellow)" }}>
|
||||
HiveGrid
|
||||
</h3>
|
||||
<ul className="relative z-10 flex flex-col gap-3.5">
|
||||
{comparisonRows.map(([, good], i) => (
|
||||
<li key={i} className="flex items-start gap-3">
|
||||
<Check
|
||||
size={20}
|
||||
strokeWidth={2.5}
|
||||
style={{ color: "var(--accent-yellow)", marginTop: 2, flexShrink: 0 }}
|
||||
/>
|
||||
<span className="text-[15.5px] leading-relaxed" style={{ color: "#c8d0dc" }}>
|
||||
{good}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── CTA #2 (nach dem Vergleich) — Portrait ─────────────────── */}
|
||||
<CtaBanner
|
||||
headline="Der Unterschied wird sichtbar. Probier ihn aus."
|
||||
sub="Bald verfügbar. Trag dich in die Warteliste ein und sieh deinen Betrieb auf einen Blick."
|
||||
variant="portrait"
|
||||
ctaLabel="Auf die Warteliste"
|
||||
/>
|
||||
|
||||
{/* ── 6. DSGVO / Trust Band — Pattern Interruption (Schwarz) ────── */}
|
||||
<section
|
||||
data-trust-band
|
||||
className="section-full relative overflow-hidden"
|
||||
style={{
|
||||
background: "#0A0A0A",
|
||||
color: "#fff",
|
||||
paddingBlock: 72,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
data-trust-stripes
|
||||
className="absolute inset-x-0 bottom-0 grid pointer-events-none"
|
||||
style={{
|
||||
height: "16%",
|
||||
gridTemplateRows: "0.5fr 1fr 1fr",
|
||||
transformOrigin: "left center",
|
||||
}}
|
||||
aria-hidden
|
||||
>
|
||||
<span style={{ background: "#0A0A0A" }} />
|
||||
<span style={{ background: "#DD0000" }} />
|
||||
<span style={{ background: "#FFCE00" }} />
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="relative z-10 mx-auto grid grid-cols-1 lg:grid-cols-[0.72fr_1.28fr] items-center gap-12 lg:gap-16"
|
||||
style={{ maxWidth: "var(--content-width)" }}
|
||||
>
|
||||
<div data-trust-copy className="flex flex-col items-start">
|
||||
<h2
|
||||
className="font-extrabold"
|
||||
style={{
|
||||
color: "#fff",
|
||||
fontSize: "clamp(26px, 2.8vw, 36px)",
|
||||
lineHeight: 1.1,
|
||||
letterSpacing: "-0.03em",
|
||||
}}
|
||||
>
|
||||
100 % Made in Germany
|
||||
</h2>
|
||||
<p className="text-[15px] mt-2" style={{ color: "rgba(255,255,255,0.72)" }}>
|
||||
Deine Daten bleiben in Deutschland. Punkt.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div data-trust-items className="grid grid-cols-2 lg:grid-cols-4 gap-x-6 gap-y-8">
|
||||
{trustItems.map(({ icon: Icon, label }) => (
|
||||
<div
|
||||
key={label}
|
||||
data-trust-item
|
||||
className="flex min-w-0 flex-col items-start gap-3 border-l pl-4"
|
||||
style={{ borderColor: "rgba(255,255,255,0.14)" }}
|
||||
>
|
||||
<Icon
|
||||
size={27}
|
||||
strokeWidth={1.8}
|
||||
style={{ color: "var(--accent-yellow)", flexShrink: 0 }}
|
||||
/>
|
||||
<span className="text-[13.5px] font-semibold leading-snug" style={{ color: "#fff" }}>
|
||||
{label}
|
||||
</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── 7. FAQ ─────────────────────────────────────────────────── */}
|
||||
<FAQSection items={landingPageFaqs} intro="Die häufigsten Fragen, ehrlich und ohne Kleingedrucktes beantwortet." />
|
||||
|
||||
{/* ── 8. Final CTA (nach FAQ) — Honeycomb ─────────────────────── */}
|
||||
<CtaBanner
|
||||
headline="Bald siehst du deinen ganzen Betrieb auf einen Blick."
|
||||
sub="Trag dich unverbindlich in die Warteliste ein. Kein Vertrag, keine Kreditkarte. Wir melden uns, sobald HiveGrid für deinen Betrieb bereit ist."
|
||||
variant="hex"
|
||||
ctaLabel="Auf die Warteliste"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
import { useState } from "react";
|
||||
import LeadForm from "@/components/ui/LeadForm";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
heading: "PRODUKTE",
|
||||
links: [
|
||||
{ label: "Workflow Engine", href: "/produkt/workflow-engine" },
|
||||
{ label: "Email Marketing", href: "/produkt/email-marketing" },
|
||||
{ label: "Chat App", href: "/produkt/chat" },
|
||||
{ label: "Projektmanagement", href: "/produkt/projektmanagement" },
|
||||
{ label: "Vertriebspipelines", href: "/produkt/vertriebspipelines" },
|
||||
{ label: "Mitarbeitermanagement", href: "/produkt/mitarbeitermanagement" },
|
||||
],
|
||||
},
|
||||
{
|
||||
heading: "UNTERNEHMEN",
|
||||
links: [
|
||||
{ label: "Für wen ist HiveGrid?", href: "/kunden" },
|
||||
{ label: "Unsere Mission", href: "/mission" },
|
||||
{ label: "Über uns", href: "/ueber-uns" },
|
||||
{ label: "Kontakt", href: "/kontakt" },
|
||||
],
|
||||
},
|
||||
{
|
||||
heading: "RECHTLICHES",
|
||||
links: [
|
||||
{ label: "Impressum", href: "/impressum" },
|
||||
{ label: "Datenschutz", href: "/datenschutz" },
|
||||
{ label: "AGB", href: "/agb" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default function Footer() {
|
||||
const [nl, setNl] = useState("");
|
||||
const [nlSubmitted, setNlSubmitted] = useState(false);
|
||||
|
||||
const handleNewsletter = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!nl || !nl.includes("@")) return;
|
||||
setNlSubmitted(true);
|
||||
};
|
||||
|
||||
return (
|
||||
<footer style={{ background: "var(--surface)", padding: "80px 0 40px" }}>
|
||||
<div className="footer-container">
|
||||
<div
|
||||
className="mx-auto footer-inner"
|
||||
style={{
|
||||
clipPath: CHAMFER,
|
||||
background: "var(--dark-bg)",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
gap: 48,
|
||||
}}
|
||||
>
|
||||
{/* ── Lead / Contact Block — heading left, shared light form card right ── */}
|
||||
<div className="grid grid-cols-1 lg:grid-cols-[0.9fr_1.1fr] gap-10 lg:gap-16 items-center">
|
||||
<div className="flex flex-col gap-4" style={{ maxWidth: 460 }}>
|
||||
<span
|
||||
className="text-[13px] font-semibold uppercase tracking-widest"
|
||||
style={{ color: "var(--accent-yellow)" }}
|
||||
>
|
||||
Sprich mit uns
|
||||
</span>
|
||||
<h2
|
||||
className="font-extrabold"
|
||||
style={{
|
||||
color: "#FFFFFF",
|
||||
fontSize: "clamp(28px, 3.4vw, 40px)",
|
||||
lineHeight: 1.1,
|
||||
letterSpacing: "-0.02em",
|
||||
}}
|
||||
>
|
||||
Frag uns direkt.<br />Wir sind Menschen, keine Bots.
|
||||
</h2>
|
||||
<p
|
||||
className="text-[15px] leading-relaxed"
|
||||
style={{ color: "#BCBFC8" }}
|
||||
>
|
||||
Egal ob konkrete Frage oder unverbindliches Erstgespräch.
|
||||
Schreib uns hier. Wir antworten innerhalb von 24 Stunden an
|
||||
Werktagen.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<LeadForm submitLabel="Anfrage senden" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Divider */}
|
||||
<div style={{ height: 1, background: "#44455A" }} />
|
||||
|
||||
{/* ── Top Row: Brand + Newsletter + Nav ─────────────────── */}
|
||||
<div className="flex flex-col lg:flex-row justify-between gap-10">
|
||||
{/* Brand Block */}
|
||||
<div className="flex flex-col gap-5" style={{ maxWidth: 320 }}>
|
||||
<div className="flex flex-col gap-3">
|
||||
<img
|
||||
src="/logo-white.svg"
|
||||
alt="HiveGrid"
|
||||
className="self-start"
|
||||
style={{ height: 40 }}
|
||||
/>
|
||||
<p className="text-[14px] leading-relaxed" style={{ color: "#9A9DAE" }}>
|
||||
HiveGrid verbindet die Software, die dein SHK-Betrieb schon
|
||||
nutzt, zu einem Überblick. Weniger Suchen, weniger Zettel, mehr
|
||||
Zeit fürs Handwerk.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Newsletter — TODO(noah): behalten oder droppen */}
|
||||
<div className="flex flex-col gap-2">
|
||||
<span className="text-[13px] font-semibold" style={{ color: "#CCCCCC" }}>
|
||||
Newsletter abonnieren
|
||||
</span>
|
||||
{nlSubmitted ? (
|
||||
<p className="text-[13px]" style={{ color: "var(--accent-yellow)" }}>
|
||||
✓ Danke! Du erhältst eine Bestätigung per E-Mail.
|
||||
</p>
|
||||
) : (
|
||||
<form onSubmit={handleNewsletter} className="flex gap-2">
|
||||
<input
|
||||
type="email"
|
||||
value={nl}
|
||||
onChange={(e) => setNl(e.target.value)}
|
||||
suppressHydrationWarning
|
||||
placeholder="Deine E-Mail-Adresse"
|
||||
className="flex-1 min-w-0 rounded-[6px] text-[13px] outline-none focus:ring-2 focus:ring-[var(--accent-yellow)] transition-shadow"
|
||||
style={{
|
||||
background: "#3E3F4D",
|
||||
border: "none",
|
||||
color: "#FFFFFF",
|
||||
padding: "0 12px",
|
||||
height: 38,
|
||||
}}
|
||||
/>
|
||||
<DemoButton type="submit" size="sm" className="shrink-0">
|
||||
Abonnieren
|
||||
</DemoButton>
|
||||
</form>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Nav Columns */}
|
||||
<div className="grid grid-cols-1 min-[420px]:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-14">
|
||||
{footerColumns.map((col) => (
|
||||
<div key={col.heading} className="flex flex-col gap-3.5">
|
||||
<span
|
||||
className="text-[11px] font-semibold tracking-widest"
|
||||
style={{ color: "#6A7383" }}
|
||||
>
|
||||
{col.heading}
|
||||
</span>
|
||||
{col.links.map((link) => (
|
||||
<Link
|
||||
key={link.href + link.label}
|
||||
href={link.href}
|
||||
className="text-[14px] transition-colors hover:text-white"
|
||||
style={{ color: "#BCBFC8" }}
|
||||
>
|
||||
{link.label}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Divider */}
|
||||
<div style={{ height: 1, background: "#44455A" }} />
|
||||
|
||||
{/* Bottom Row */}
|
||||
<div className="flex flex-col sm:flex-row items-center justify-between gap-4">
|
||||
<p className="text-[13px]" style={{ color: "#6A7383" }}>
|
||||
© HiveGrid · Alle Rechte vorbehalten.
|
||||
</p>
|
||||
<div className="flex items-center gap-2">
|
||||
<span
|
||||
className="flex items-center gap-1.5 text-[12px]"
|
||||
style={{ color: "#6A7383" }}
|
||||
>
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
||||
<path
|
||||
d="M7 1L8.5 5H13L9.5 7.5L11 12L7 9.5L3 12L4.5 7.5L1 5H5.5L7 1Z"
|
||||
fill="#F1B729"
|
||||
/>
|
||||
</svg>
|
||||
DSGVO-konform
|
||||
</span>
|
||||
<span style={{ color: "#44455A" }}>·</span>
|
||||
<span
|
||||
className="flex items-center gap-1.5 text-[12px]"
|
||||
style={{ color: "#6A7383" }}
|
||||
>
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
||||
<rect
|
||||
x="1"
|
||||
y="1"
|
||||
width="12"
|
||||
height="12"
|
||||
rx="2"
|
||||
stroke="#F1B729"
|
||||
strokeWidth="1.5"
|
||||
fill="none"
|
||||
/>
|
||||
<path
|
||||
d="M4 7L6.5 9.5L10 5"
|
||||
stroke="#F1B729"
|
||||
strokeWidth="1.5"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
Made in Germany
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,454 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import { useState, useEffect, useRef } from "react";
|
||||
import { gsap } from "gsap";
|
||||
import { siteConfig } from "@/lib/site.config";
|
||||
import DemoButton from "@/components/ui/DemoButton";
|
||||
|
||||
const productIconByHref: Record<string, string> = {
|
||||
"/produkt/workflow-engine": "/icons/products/workflow-engine@4x.png",
|
||||
"/produkt/email-marketing": "/icons/products/email-marketing@4x.png",
|
||||
"/produkt/chat": "/icons/products/chat-app@4x.png",
|
||||
"/produkt/projektmanagement": "/icons/products/projektmanagement@4x.png",
|
||||
"/produkt/vertriebspipelines": "/icons/products/vertriebspipelines@4x.png",
|
||||
"/produkt/mitarbeitermanagement": "/icons/products/mitarbeitermanagement@4x.png",
|
||||
};
|
||||
|
||||
const glassSurfaceStyle = {
|
||||
background: "rgba(255,255,255,0.54)",
|
||||
backdropFilter: "blur(12px) saturate(140%)",
|
||||
WebkitBackdropFilter: "blur(12px) saturate(140%)",
|
||||
} as const;
|
||||
|
||||
const glassHighlightStyle = {
|
||||
background:
|
||||
"linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 100%)",
|
||||
} as const;
|
||||
|
||||
type NavbarProps = {
|
||||
loginHref: string;
|
||||
};
|
||||
|
||||
export default function Navbar({ loginHref }: NavbarProps) {
|
||||
const [mobileOpen, setMobileOpen] = useState(false);
|
||||
const [productsOpen, setProductsOpen] = useState(false);
|
||||
const [dropdownMounted, setDropdownMounted] = useState(false);
|
||||
const [scrolled, setScrolled] = useState(false);
|
||||
const dropdownRef = useRef<HTMLDivElement>(null);
|
||||
const dropdownPanelRef = useRef<HTMLDivElement>(null);
|
||||
const dropdownCloseTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
|
||||
|
||||
const clearDropdownCloseTimeout = () => {
|
||||
if (dropdownCloseTimeoutRef.current) {
|
||||
clearTimeout(dropdownCloseTimeoutRef.current);
|
||||
dropdownCloseTimeoutRef.current = null;
|
||||
}
|
||||
};
|
||||
|
||||
const openProductsDropdown = () => {
|
||||
clearDropdownCloseTimeout();
|
||||
setDropdownMounted(true);
|
||||
setProductsOpen(true);
|
||||
};
|
||||
|
||||
const closeProductsDropdown = () => {
|
||||
clearDropdownCloseTimeout();
|
||||
dropdownCloseTimeoutRef.current = setTimeout(() => {
|
||||
setProductsOpen(false);
|
||||
}, 180);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
const onScroll = () => setScrolled(window.scrollY > 8);
|
||||
window.addEventListener("scroll", onScroll, { passive: true });
|
||||
return () => window.removeEventListener("scroll", onScroll);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
return () => clearDropdownCloseTimeout();
|
||||
}, []);
|
||||
|
||||
// Close dropdown on outside click
|
||||
useEffect(() => {
|
||||
const handler = (e: MouseEvent) => {
|
||||
if (dropdownRef.current && !dropdownRef.current.contains(e.target as Node)) {
|
||||
clearDropdownCloseTimeout();
|
||||
setProductsOpen(false);
|
||||
}
|
||||
};
|
||||
document.addEventListener("mousedown", handler);
|
||||
return () => document.removeEventListener("mousedown", handler);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (!productsOpen) return;
|
||||
|
||||
const onKeyDown = (event: KeyboardEvent) => {
|
||||
if (event.key === "Escape") {
|
||||
clearDropdownCloseTimeout();
|
||||
setProductsOpen(false);
|
||||
}
|
||||
};
|
||||
|
||||
document.addEventListener("keydown", onKeyDown);
|
||||
return () => document.removeEventListener("keydown", onKeyDown);
|
||||
}, [productsOpen]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!dropdownMounted || !dropdownPanelRef.current) return;
|
||||
|
||||
const panel = dropdownPanelRef.current;
|
||||
gsap.killTweensOf(panel);
|
||||
|
||||
if (productsOpen) {
|
||||
gsap.set(panel, { transformOrigin: "50% 0%", pointerEvents: "auto" });
|
||||
gsap.fromTo(
|
||||
panel,
|
||||
{ autoAlpha: 0, scale: 0.94, y: -10 },
|
||||
{ autoAlpha: 1, scale: 1, y: 0, duration: 0.24, ease: "power3.out" }
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
gsap.to(panel, {
|
||||
autoAlpha: 0,
|
||||
scale: 0.94,
|
||||
y: -10,
|
||||
duration: 0.16,
|
||||
ease: "power2.inOut",
|
||||
onComplete: () => setDropdownMounted(false),
|
||||
});
|
||||
}, [productsOpen, dropdownMounted]);
|
||||
|
||||
// Close dropdown on scroll
|
||||
useEffect(() => {
|
||||
if (!productsOpen) return;
|
||||
const onScroll = () => {
|
||||
clearDropdownCloseTimeout();
|
||||
setProductsOpen(false);
|
||||
};
|
||||
window.addEventListener("scroll", onScroll, { passive: true });
|
||||
return () => window.removeEventListener("scroll", onScroll);
|
||||
}, [productsOpen]);
|
||||
|
||||
// Lock body scroll when mobile menu is open
|
||||
useEffect(() => {
|
||||
document.body.style.overflow = mobileOpen ? "hidden" : "";
|
||||
return () => { document.body.style.overflow = ""; };
|
||||
}, [mobileOpen]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<header
|
||||
className="fixed top-0 left-0 right-0 z-50 transition-[background,box-shadow,border-color] duration-300"
|
||||
style={{
|
||||
height: 80,
|
||||
...glassSurfaceStyle,
|
||||
boxShadow: scrolled
|
||||
? "0 10px 28px rgba(15, 23, 42, 0.10)"
|
||||
: "0 3px 10px rgba(15, 23, 42, 0.06)",
|
||||
borderBottom: scrolled ? "1px solid rgba(229, 229, 229, 0.9)" : "1px solid rgba(229, 229, 229, 0.55)",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="pointer-events-none absolute inset-0"
|
||||
style={glassHighlightStyle}
|
||||
/>
|
||||
|
||||
<div
|
||||
className="relative z-10 flex items-center justify-between w-full h-full"
|
||||
style={{ paddingInline: "var(--side-padding-mobile)" }}
|
||||
>
|
||||
{/* Logo */}
|
||||
<Link
|
||||
href="/"
|
||||
className="hover:opacity-80 transition-opacity"
|
||||
>
|
||||
<img src="/logo.svg" alt="HiveGrid" style={{ height: 36 }} />
|
||||
</Link>
|
||||
|
||||
{/* Desktop Nav */}
|
||||
<nav className="hidden lg:flex items-center gap-8">
|
||||
{/* Produkte Dropdown */}
|
||||
<div
|
||||
className="relative"
|
||||
ref={dropdownRef}
|
||||
onMouseEnter={openProductsDropdown}
|
||||
onMouseLeave={closeProductsDropdown}
|
||||
>
|
||||
<button
|
||||
onClick={() => {
|
||||
clearDropdownCloseTimeout();
|
||||
if (!productsOpen) {
|
||||
openProductsDropdown();
|
||||
}
|
||||
// If already open, clicking the button does nothing —
|
||||
// dropdown closes only on outside click or scroll
|
||||
}}
|
||||
onFocus={openProductsDropdown}
|
||||
aria-haspopup="menu"
|
||||
aria-expanded={productsOpen}
|
||||
className="flex items-center gap-1 text-[16px] leading-[1.25] font-medium text-[var(--text-primary)] hover:opacity-70 transition-opacity"
|
||||
>
|
||||
Lösungen
|
||||
<svg
|
||||
width="12"
|
||||
height="12"
|
||||
viewBox="0 0 12 12"
|
||||
fill="none"
|
||||
className={`transition-transform duration-200 ${productsOpen ? "rotate-180" : ""}`}
|
||||
>
|
||||
<path
|
||||
d="M2 4L6 8L10 4"
|
||||
stroke="currentColor"
|
||||
strokeWidth="1.5"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
{dropdownMounted && (
|
||||
<div
|
||||
className="fixed inset-x-0 top-[88px] z-[60] flex justify-center px-5"
|
||||
onMouseEnter={openProductsDropdown}
|
||||
onMouseLeave={closeProductsDropdown}
|
||||
role="menu"
|
||||
aria-label="Produkte"
|
||||
>
|
||||
<div
|
||||
ref={dropdownPanelRef}
|
||||
className="relative w-full max-w-[1080px] rounded-[12px] p-[50px] shadow-[0_10px_28px_rgba(15,23,42,0.10)]"
|
||||
style={{
|
||||
background: "#FFFFFF",
|
||||
border: "1px solid rgba(229, 229, 229, 0.55)",
|
||||
}}
|
||||
>
|
||||
<div className="relative z-10 grid grid-cols-3 gap-x-[30px] gap-y-12">
|
||||
{siteConfig.produkte.map((p) => {
|
||||
const iconSrc =
|
||||
productIconByHref[p.href] ?? "/icons/products/workflow-engine@4x.png";
|
||||
|
||||
return (
|
||||
<Link
|
||||
key={p.href}
|
||||
href={p.href}
|
||||
onClick={() => {
|
||||
clearDropdownCloseTimeout();
|
||||
setProductsOpen(false);
|
||||
}}
|
||||
className="group grid grid-cols-[64px_1fr] gap-x-[10px] rounded-lg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--accent-yellow)]"
|
||||
role="menuitem"
|
||||
>
|
||||
<span className="relative h-16 w-16 shrink-0 overflow-hidden rounded-[8px] shadow-sm">
|
||||
<Image
|
||||
src={iconSrc}
|
||||
alt={`${p.label} Icon`}
|
||||
width={64}
|
||||
height={64}
|
||||
className="h-full w-full object-cover transition-transform duration-200 group-hover:scale-[1.03]"
|
||||
/>
|
||||
</span>
|
||||
|
||||
<span className="flex min-w-0 flex-col justify-center">
|
||||
<span className="inline-flex items-center gap-1 text-[16px] font-medium leading-[18px] tracking-[-0.02em] text-[var(--text-primary)] transition-colors group-hover:text-[var(--accent-teal)]">
|
||||
{p.label}
|
||||
<svg
|
||||
width="6"
|
||||
height="9"
|
||||
viewBox="0 0 6 9"
|
||||
fill="none"
|
||||
className="translate-x-[6px] opacity-0 transition duration-200 group-hover:translate-x-0 group-hover:opacity-100"
|
||||
>
|
||||
<path
|
||||
d="M1.5 1.5L4.5 4.5L1.5 7.5"
|
||||
stroke="var(--accent-teal)"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
<span className="mt-1 text-[12px] font-medium leading-normal text-[var(--text-secondary)] transition-colors group-hover:text-[var(--text-primary)]">
|
||||
{p.description}
|
||||
</span>
|
||||
</span>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<Link
|
||||
href="/kunden"
|
||||
className="text-[16px] leading-[1.25] font-medium text-[var(--text-primary)] hover:opacity-70 transition-opacity"
|
||||
>
|
||||
Für wen?
|
||||
</Link>
|
||||
<Link
|
||||
href="/ki-anbindung"
|
||||
className="text-[16px] leading-[1.25] font-medium text-[var(--text-primary)] hover:opacity-70 transition-opacity"
|
||||
>
|
||||
KI-Brücke
|
||||
</Link>
|
||||
<Link
|
||||
href="/preise"
|
||||
className="text-[16px] leading-[1.25] font-medium text-[var(--text-primary)] hover:opacity-70 transition-opacity"
|
||||
>
|
||||
Preise
|
||||
</Link>
|
||||
<Link
|
||||
href="/ueber-uns"
|
||||
className="text-[16px] leading-[1.25] font-medium text-[var(--text-primary)] hover:opacity-70 transition-opacity"
|
||||
>
|
||||
Über uns
|
||||
</Link>
|
||||
<Link
|
||||
href="/waitlist"
|
||||
className="text-[16px] leading-[1.25] font-medium text-[var(--text-primary)] hover:opacity-70 transition-opacity"
|
||||
>
|
||||
Warteliste
|
||||
</Link>
|
||||
</nav>
|
||||
|
||||
{/* Desktop CTA */}
|
||||
<div className="hidden lg:flex items-center gap-2">
|
||||
<a
|
||||
href={loginHref}
|
||||
className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[14px] font-semibold text-[var(--text-primary)] hover:bg-[var(--bg-muted)] transition-colors"
|
||||
style={{ padding: "10px 14px" }}
|
||||
>
|
||||
Login
|
||||
</a>
|
||||
<DemoButton size="sm" href="/waitlist">Auf die Warteliste</DemoButton>
|
||||
</div>
|
||||
|
||||
{/* Mobile Hamburger */}
|
||||
<button
|
||||
className="lg:hidden flex flex-col justify-center items-center w-10 h-10 gap-[5px]"
|
||||
onClick={() => setMobileOpen((v) => !v)}
|
||||
aria-label="Menü öffnen"
|
||||
>
|
||||
<span
|
||||
className={`block w-6 h-0.5 bg-[var(--text-primary)] transition-transform duration-300 origin-center ${
|
||||
mobileOpen ? "rotate-45 translate-y-[6.5px]" : ""
|
||||
}`}
|
||||
/>
|
||||
<span
|
||||
className={`block w-6 h-0.5 bg-[var(--text-primary)] transition-opacity duration-300 ${
|
||||
mobileOpen ? "opacity-0" : ""
|
||||
}`}
|
||||
/>
|
||||
<span
|
||||
className={`block w-6 h-0.5 bg-[var(--text-primary)] transition-transform duration-300 origin-center ${
|
||||
mobileOpen ? "-rotate-45 -translate-y-[6.5px]" : ""
|
||||
}`}
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{/* Mobile Menu Overlay */}
|
||||
<div
|
||||
className={`fixed inset-0 z-40 lg:hidden transition-opacity duration-300 ${
|
||||
mobileOpen ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none"
|
||||
}`}
|
||||
style={{ background: "rgba(0,0,0,0.3)" }}
|
||||
onClick={() => setMobileOpen(false)}
|
||||
/>
|
||||
|
||||
{/* Mobile Menu Drawer */}
|
||||
<div
|
||||
className={`fixed top-0 right-0 bottom-0 z-50 w-[85vw] max-w-sm bg-white shadow-2xl lg:hidden flex flex-col transition-transform duration-300 ${
|
||||
mobileOpen ? "translate-x-0" : "translate-x-full"
|
||||
}`}
|
||||
>
|
||||
{/* Drawer Header */}
|
||||
<div
|
||||
className="flex items-center justify-between px-6"
|
||||
style={{ height: 80, borderBottom: "1px solid var(--border-light)" }}
|
||||
>
|
||||
<Link
|
||||
href="/"
|
||||
className="hover:opacity-80 transition-opacity"
|
||||
onClick={() => setMobileOpen(false)}
|
||||
>
|
||||
<img src="/logo.svg" alt="HiveGrid" style={{ height: 36 }} />
|
||||
</Link>
|
||||
<button
|
||||
onClick={() => setMobileOpen(false)}
|
||||
className="w-9 h-9 flex items-center justify-center rounded-lg hover:bg-[var(--bg-muted)] transition-colors"
|
||||
aria-label="Menü schließen"
|
||||
>
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none">
|
||||
<path
|
||||
d="M2 2L16 16M16 2L2 16"
|
||||
stroke="var(--text-primary)"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Drawer Links */}
|
||||
<nav className="flex-1 overflow-y-auto px-6 py-6 flex flex-col gap-1">
|
||||
{/* Produkte Group */}
|
||||
<p className="text-[11px] font-semibold uppercase tracking-widest text-[var(--text-muted)] mt-4 mb-2">
|
||||
Lösungen
|
||||
</p>
|
||||
{siteConfig.produkte.map((p) => (
|
||||
<Link
|
||||
key={p.href}
|
||||
href={p.href}
|
||||
onClick={() => setMobileOpen(false)}
|
||||
className="block px-3 py-2.5 rounded-lg text-[15px] font-medium text-[var(--text-primary)] hover:bg-[var(--bg-muted)] transition-colors"
|
||||
>
|
||||
{p.label}
|
||||
</Link>
|
||||
))}
|
||||
|
||||
{/* General Links */}
|
||||
<p className="text-[11px] font-semibold uppercase tracking-widest text-[var(--text-muted)] mt-6 mb-2">
|
||||
Seiten
|
||||
</p>
|
||||
{[
|
||||
{ label: "Für wen?", href: "/kunden" },
|
||||
{ label: "KI-Brücke", href: "/ki-anbindung" },
|
||||
{ label: "Preise", href: "/preise" },
|
||||
{ label: "Über uns", href: "/ueber-uns" },
|
||||
{ label: "Unsere Mission", href: "/mission" },
|
||||
{ label: "Warteliste", href: "/waitlist" },
|
||||
].map((link) => (
|
||||
<Link
|
||||
key={link.href}
|
||||
href={link.href}
|
||||
onClick={() => setMobileOpen(false)}
|
||||
className="block px-3 py-2.5 rounded-lg text-[15px] font-medium text-[var(--text-primary)] hover:bg-[var(--bg-muted)] transition-colors"
|
||||
>
|
||||
{link.label}
|
||||
</Link>
|
||||
))}
|
||||
</nav>
|
||||
|
||||
{/* Drawer CTA */}
|
||||
<div className="px-6 py-6 flex flex-col gap-3" style={{ borderTop: "1px solid var(--border-light)" }}>
|
||||
<a
|
||||
href={loginHref}
|
||||
onClick={() => setMobileOpen(false)}
|
||||
className="inline-flex w-full items-center justify-center rounded-[var(--radius-button)] text-[15px] font-semibold text-[var(--text-primary)] transition-colors"
|
||||
style={{ padding: "12px 20px", background: "var(--bg-muted)" }}
|
||||
>
|
||||
Login
|
||||
</a>
|
||||
<DemoButton href="/waitlist" onClick={() => setMobileOpen(false)} className="w-full [&_.demo-btn]:w-full">Auf die Warteliste</DemoButton>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
import { ShieldCheck, Smartphone, Zap, Headphones } from "lucide-react";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
|
||||
const advantages = [
|
||||
{
|
||||
icon: ShieldCheck,
|
||||
title: "DSGVO-konform",
|
||||
desc: "Alle Daten werden ausschließlich auf deutschen Servern gehostet. Wir erfüllen alle Datenschutzanforderungen, ohne dass Sie sich darum kümmern müssen.",
|
||||
},
|
||||
{
|
||||
icon: Smartphone,
|
||||
title: "Überall verfügbar",
|
||||
desc: "Im Büro, auf der Baustelle oder unterwegs: HiveGrid läuft auf jedem Gerät. Responsive Design für Desktop, Tablet und Smartphone.",
|
||||
},
|
||||
{
|
||||
icon: Zap,
|
||||
title: "Schnelle Einrichtung",
|
||||
desc: "In unter 5 Minuten ist Ihr Betrieb digital aufgestellt. Keine IT-Abteilung nötig, keine komplizierte Installation. Einfach registrieren und loslegen.",
|
||||
},
|
||||
{
|
||||
icon: Headphones,
|
||||
title: "Persönlicher Support",
|
||||
desc: "Bei uns sprechen Sie mit echten Menschen, nicht mit Chatbots. Unser Support-Team kennt die Branche und hilft Ihnen schnell und kompetent weiter.",
|
||||
},
|
||||
];
|
||||
|
||||
export default function AdvantagesSection() {
|
||||
return (
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ background: "var(--surface)", paddingBlock: 80 }}
|
||||
>
|
||||
<div
|
||||
className="flex flex-col gap-10 mx-auto"
|
||||
style={{ maxWidth: "var(--content-width)" }}
|
||||
>
|
||||
{/* Header */}
|
||||
<div className="flex flex-col items-center gap-4 text-center">
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
VORTEILE
|
||||
</span>
|
||||
<h2
|
||||
className="text-[32px] md:text-[42px] font-bold leading-[1.15]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Warum SHK-Betriebe HiveGrid wählen.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
{/* Cards */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
{advantages.map(({ icon: Icon, title, desc }) => (
|
||||
<div
|
||||
key={title}
|
||||
className="flex flex-col gap-4"
|
||||
style={{ background: "var(--container-bg)", padding: 28, clipPath: CHAMFER }}
|
||||
>
|
||||
<Icon size={32} style={{ color: "var(--accent-yellow)" }} strokeWidth={1.75} />
|
||||
<h3 className="text-[18px] font-semibold" style={{ color: "var(--text-primary)" }}>
|
||||
{title}
|
||||
</h3>
|
||||
<p
|
||||
className="text-[14px] leading-relaxed flex-1"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
{desc}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* heyData DSGVO seal */}
|
||||
<div className="flex flex-col items-center gap-3 pt-2">
|
||||
<a
|
||||
href="https://heydata.eu"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
title="heyData GDPR seal"
|
||||
>
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img
|
||||
alt="heyData DSGVO-Siegel"
|
||||
src="https://api.heydata.eu/privacy-seal/seal/2cdc4714-a706-4790-975c-7c95935905fe?lang=de&design=design1&sealType=GDPR"
|
||||
width={140}
|
||||
height={140}
|
||||
style={{ border: 0 }}
|
||||
/>
|
||||
</a>
|
||||
<p className="text-[13px]" style={{ color: "var(--text-tertiary)" }}>
|
||||
Geprüft und zertifiziert durch heyData
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,198 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
import { Check, X, Palmtree, House, Receipt, Clock, RotateCcw, Inbox } from "lucide-react";
|
||||
import CanvasHint, { useCanvasHint } from "@/components/ui/CanvasHint";
|
||||
|
||||
/* ──────────────────────────────────────────────────────────────────────────
|
||||
* ApprovalInbox — interactive centrepiece for the mitarbeitermanagement page.
|
||||
* The team's open requests (Urlaub, Homeoffice, Spesen …); approve or reject
|
||||
* each one — the card gets a status stamp and slides out, the counter ticks
|
||||
* down, and an empty state lets you replay. Brand-styled.
|
||||
* ────────────────────────────────────────────────────────────────────────── */
|
||||
|
||||
type Status = "pending" | "approved" | "rejected";
|
||||
type Request = {
|
||||
id: string;
|
||||
name: string;
|
||||
initials: string;
|
||||
color: string;
|
||||
typeLabel: string;
|
||||
detail: string;
|
||||
Icon: typeof Palmtree;
|
||||
};
|
||||
|
||||
const INITIAL: Request[] = [
|
||||
{ id: "r1", name: "Lena Krause", initials: "LK", color: "#0D6E6E", typeLabel: "Urlaubsantrag", detail: "12.–19. Juli · 6 Tage", Icon: Palmtree },
|
||||
{ id: "r2", name: "Tom Berger", initials: "TB", color: "#3B82F6", typeLabel: "Homeoffice", detail: "Freitag, 11. Juli", Icon: House },
|
||||
{ id: "r3", name: "Sara Möller", initials: "SM", color: "#F97316", typeLabel: "Spesenabrechnung", detail: "€ 84,50 · Tankbeleg", Icon: Receipt },
|
||||
{ id: "r4", name: "Jonas Weiß", initials: "JW", color: "#8B5CF6", typeLabel: "Überstundenabbau", detail: "3 Std. · Mittwoch", Icon: Clock },
|
||||
];
|
||||
|
||||
type Item = Request & { status: Status };
|
||||
|
||||
export default function ApprovalInbox({ hideHeader = false }: { hideHeader?: boolean }) {
|
||||
const [items, setItems] = useState<Item[]>(() => INITIAL.map((r) => ({ ...r, status: "pending" as Status })));
|
||||
const hint = useCanvasHint<HTMLDivElement>();
|
||||
|
||||
const decide = (id: string, status: Status) => {
|
||||
hint.dismiss();
|
||||
setItems((its) => its.map((it) => (it.id === id ? { ...it, status } : it)));
|
||||
// Let the stamp + slide animation play, then drop the row.
|
||||
window.setTimeout(() => setItems((its) => its.filter((it) => it.id !== id)), 520);
|
||||
};
|
||||
const reset = () => setItems(INITIAL.map((r) => ({ ...r, status: "pending" as Status })));
|
||||
|
||||
const openCount = items.filter((it) => it.status === "pending").length;
|
||||
const allDone = items.length === 0;
|
||||
|
||||
return (
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: hideHeader ? 40 : 80 }}>
|
||||
<div className="mx-auto flex flex-col gap-5" style={{ maxWidth: 620 }}>
|
||||
{!hideHeader && (
|
||||
<div className="flex flex-col items-center gap-4 text-center">
|
||||
<span className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5" style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>
|
||||
ANTRÄGE
|
||||
</span>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>Anträge im Griff.</h2>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Inbox on a dotted "canvas" — same treatment as the workflow editor &
|
||||
kanban board. The onboarding popup replaces the old caption. */}
|
||||
<div
|
||||
ref={hint.ref}
|
||||
className="relative rounded-2xl"
|
||||
style={{
|
||||
background: "#FAFBFD",
|
||||
border: "1px solid var(--border-light)",
|
||||
backgroundImage: "radial-gradient(circle, #E5E7EB 1px, transparent 1px)",
|
||||
backgroundSize: "24px 24px",
|
||||
padding: 16,
|
||||
}}
|
||||
>
|
||||
<div className="w-full overflow-hidden rounded-2xl" style={{ background: "#FFFFFF", border: "1px solid var(--border-light)", boxShadow: "0 30px 60px -30px rgba(15,23,42,0.3)" }}>
|
||||
{/* Inbox header */}
|
||||
<div className="flex items-center gap-3 px-5 py-4" style={{ borderBottom: "1px solid var(--border-light)", background: "var(--container-bg)" }}>
|
||||
<span className="grid place-items-center rounded-lg shrink-0" style={{ width: 34, height: 34, background: "var(--accent-yellow-light)" }}>
|
||||
<Inbox size={17} style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="text-[14px] font-bold" style={{ color: "var(--text-primary)" }}>Offene Anträge</span>
|
||||
<span className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>
|
||||
{openCount > 0 ? `${openCount} zu bearbeiten` : "alles erledigt"}
|
||||
</span>
|
||||
</div>
|
||||
{items.length < INITIAL.length && (
|
||||
<button onClick={reset} className="ml-auto inline-flex items-center gap-1.5 text-[12.5px] font-semibold rounded-lg px-2.5 py-1.5 transition-colors hover:bg-[var(--bg-muted)]" style={{ color: "var(--text-secondary)" }}>
|
||||
<RotateCcw size={13} /> Zurücksetzen
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Requests */}
|
||||
<div className="flex flex-col p-4">
|
||||
{allDone ? (
|
||||
<div className="flex flex-col items-center gap-3 text-center px-4" style={{ paddingBlock: 44 }}>
|
||||
<span className="grid place-items-center rounded-full" style={{ width: 52, height: 52, background: "#DCFCE7" }}>
|
||||
<Check size={26} style={{ color: "#16A34A" }} />
|
||||
</span>
|
||||
<span className="text-[15px] font-bold" style={{ color: "var(--text-primary)" }}>Alle Anträge bearbeitet</span>
|
||||
<button onClick={reset} className="inline-flex items-center gap-1.5 text-[13px] font-semibold rounded-lg px-3 py-2 transition-colors hover:bg-[var(--bg-muted)]" style={{ color: "var(--accent-yellow-dark)" }}>
|
||||
<RotateCcw size={14} /> Nochmal ansehen
|
||||
</button>
|
||||
</div>
|
||||
) : (
|
||||
items.map((it) => {
|
||||
const decided = it.status !== "pending";
|
||||
const approved = it.status === "approved";
|
||||
return (
|
||||
<div
|
||||
key={it.id}
|
||||
style={{
|
||||
maxHeight: decided ? 0 : 220,
|
||||
opacity: decided ? 0 : 1,
|
||||
marginBottom: decided ? 0 : 10,
|
||||
transform: decided ? `translateX(${approved ? 24 : -24}px)` : "none",
|
||||
overflow: "hidden",
|
||||
transition: "all 0.45s cubic-bezier(0.22,1,0.36,1)",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="relative flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-3.5 shadow-sm hover:shadow-md transition-shadow"
|
||||
style={{
|
||||
padding: "13px 14px 13px 16px",
|
||||
borderRadius: 10,
|
||||
border: "1px solid var(--border-light)",
|
||||
background: approved ? "rgba(34,197,94,0.06)" : it.status === "rejected" ? "rgba(239,68,68,0.05)" : "#FFFFFF",
|
||||
}}
|
||||
>
|
||||
{/* left accent bar — the request's colour (matches the workflow nodes / kanban language) */}
|
||||
<span className="absolute rounded-r-full" style={{ left: 0, top: 8, bottom: 8, width: 3, background: it.color }} />
|
||||
|
||||
{/* Avatar + text — kept together; on mobile they sit above the actions */}
|
||||
<div className="flex items-center gap-3.5 min-w-0">
|
||||
<span className="grid place-items-center rounded-full text-[13px] font-bold shrink-0" style={{ width: 40, height: 40, background: `${it.color}1a`, color: it.color }}>
|
||||
{it.initials}
|
||||
</span>
|
||||
<div className="flex flex-col min-w-0 gap-0.5">
|
||||
<div className="flex items-center gap-2 min-w-0">
|
||||
<span className="text-[14px] font-semibold truncate" style={{ color: "var(--text-primary)" }}>{it.name}</span>
|
||||
<span className="inline-flex items-center gap-1 text-[11px] font-semibold rounded-full px-2 py-0.5 shrink-0" style={{ background: `${it.color}14`, color: it.color, border: `1px solid ${it.color}2e` }}>
|
||||
<it.Icon size={11} /> {it.typeLabel}
|
||||
</span>
|
||||
</div>
|
||||
<span className="text-[12.5px] whitespace-nowrap" style={{ color: "var(--text-tertiary)" }}>{it.detail}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Actions / status — right on desktop, full row below on mobile */}
|
||||
<div className="sm:ml-auto shrink-0 flex justify-end">
|
||||
{decided ? (
|
||||
<span
|
||||
className="inline-flex items-center gap-1.5 text-[13px] font-bold rounded-lg px-3 py-2"
|
||||
style={{
|
||||
background: approved ? "rgba(34,197,94,0.12)" : "rgba(239,68,68,0.1)",
|
||||
color: approved ? "#16A34A" : "#DC2626",
|
||||
}}
|
||||
>
|
||||
{approved ? <Check size={15} /> : <X size={15} />}
|
||||
{approved ? "Genehmigt" : "Abgelehnt"}
|
||||
</span>
|
||||
) : (
|
||||
<div className="flex items-center gap-2">
|
||||
<button
|
||||
onClick={() => decide(it.id, "rejected")}
|
||||
aria-label="Ablehnen"
|
||||
className="grid place-items-center rounded-lg transition-colors"
|
||||
style={{ width: 38, height: 38, border: "1px solid var(--border-light)", color: "var(--text-muted)" }}
|
||||
onMouseEnter={(e) => { e.currentTarget.style.background = "rgba(239,68,68,0.08)"; e.currentTarget.style.color = "#DC2626"; e.currentTarget.style.borderColor = "#EF4444"; }}
|
||||
onMouseLeave={(e) => { e.currentTarget.style.background = "transparent"; e.currentTarget.style.color = "var(--text-muted)"; e.currentTarget.style.borderColor = "var(--border-light)"; }}
|
||||
>
|
||||
<X size={17} />
|
||||
</button>
|
||||
<button
|
||||
onClick={() => decide(it.id, "approved")}
|
||||
className="inline-flex items-center gap-1.5 text-[13px] font-bold rounded-lg transition-transform hover:scale-[1.03]"
|
||||
style={{ padding: "9px 14px", background: "#16A34A", color: "#FFFFFF" }}
|
||||
>
|
||||
<Check size={16} /> Genehmigen
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Centered onboarding hint (dismisses on first decision or via X) */}
|
||||
<CanvasHint show={hint.show} onDismiss={hint.dismiss} title="Anträge bearbeiten" subtitle="Genehmige oder lehne mit einem Klick ab" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,527 @@
|
||||
"use client";
|
||||
|
||||
import { FormEvent, useEffect, useRef, useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { Building2, Check, SendHorizontal, UserRound, HardHat, TrafficCone } from "lucide-react";
|
||||
import type { DemoChatTurn } from "@/lib/chat-demo/assistant";
|
||||
|
||||
const bullets = [
|
||||
"Projekt-Kanäle für jedes Vorhaben",
|
||||
"Dateien & Fotos direkt teilen",
|
||||
"Aufgaben aus dem Chat erstellen",
|
||||
"Desktop & Mobile synchronisiert",
|
||||
];
|
||||
|
||||
const CHAT_BACKGROUND = "hsl(30 17% 95.5%)";
|
||||
const CHAT_MONOGRAM_PATTERN =
|
||||
"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M14 10v8M10 14h8' stroke='%23C4931E' stroke-opacity='0.14' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E\")";
|
||||
|
||||
// Own messages use the site's secondary colour (teal), not orange.
|
||||
const OWN_BUBBLE_BACKGROUND = "#0D6E6E";
|
||||
const OWN_BUBBLE_BORDER = "#0A5A5A";
|
||||
|
||||
const OTHER_BUBBLE_BACKGROUND = "#FFFFFF";
|
||||
const OTHER_BUBBLE_BORDER = "#E9E7E5";
|
||||
const OTHER_BUBBLE_TIME = "#7A726C";
|
||||
const OTHER_BUBBLE_SENDER = "#F59F0A";
|
||||
|
||||
type DemoMessageAuthor = "team" | "self" | "assistant";
|
||||
|
||||
type DemoMessage = {
|
||||
id: string;
|
||||
sender: string;
|
||||
text: string;
|
||||
time: string;
|
||||
author: DemoMessageAuthor;
|
||||
};
|
||||
|
||||
type ChatDemoSectionProps = {
|
||||
showSideContent?: boolean;
|
||||
/** WIP / "coming soon" state — the mobile app isn't out yet, so the phone is
|
||||
* blurred behind a construction-themed overlay. */
|
||||
comingSoon?: boolean;
|
||||
};
|
||||
|
||||
// Construction "Absperrband" — brand amber / dark hazard stripes.
|
||||
const HAZARD_STRIPES = "repeating-linear-gradient(45deg, #F1B729 0 10px, #171106 10px 20px)";
|
||||
|
||||
// Barrier tape ("Absperrband") stretched diagonally across the blurred phone —
|
||||
// reads as "cordoned off / under construction", not a generic badge. Clipped to
|
||||
// the phone's rounded bounds so the ends cut off like real tape.
|
||||
function ComingSoonTape() {
|
||||
return (
|
||||
<div className="absolute inset-0 overflow-hidden rounded-[36px]" aria-hidden style={{ pointerEvents: "none" }}>
|
||||
<div
|
||||
className="absolute left-1/2 top-1/2 flex items-center justify-center gap-5"
|
||||
style={{
|
||||
width: "175%",
|
||||
transform: "translate(-50%, -50%) rotate(-13deg)",
|
||||
background: "var(--accent-yellow)",
|
||||
borderTop: "2px solid #171106",
|
||||
borderBottom: "2px solid #171106",
|
||||
boxShadow: "0 16px 34px -10px rgba(0,0,0,0.45)",
|
||||
padding: "9px 0",
|
||||
}}
|
||||
>
|
||||
{Array.from({ length: 6 }).map((_, i) => (
|
||||
<span
|
||||
key={i}
|
||||
className="inline-flex items-center gap-2 text-[12.5px] font-extrabold uppercase tracking-[0.16em] whitespace-nowrap"
|
||||
style={{ color: "#171106" }}
|
||||
>
|
||||
<HardHat size={14} strokeWidth={2.6} /> Bald verfügbar
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// Construction-themed copy that fills the whitespace next to the phone.
|
||||
function ComingSoonAside() {
|
||||
return (
|
||||
<div className="flex w-full max-w-[400px] flex-col gap-5">
|
||||
<style>{`@keyframes chat-hazard{from{background-position:0 0}to{background-position:28px 0}}@media(prefers-reduced-motion:reduce){.chat-hazard-anim{animation:none!important}}`}</style>
|
||||
|
||||
{/* mini Absperrband accent */}
|
||||
<span
|
||||
className="chat-hazard-anim"
|
||||
style={{ width: 84, height: 8, borderRadius: 4, background: HAZARD_STRIPES, backgroundSize: "28px 28px", animation: "chat-hazard 1.1s linear infinite" }}
|
||||
/>
|
||||
|
||||
<h2 className="text-[30px] md:text-[38px] font-extrabold leading-[1.1]" style={{ color: "var(--text-primary)", letterSpacing: "-0.02em" }}>
|
||||
Der Chat für unterwegs <span style={{ color: "var(--accent-yellow)" }}>wird gerade gebaut.</span>
|
||||
</h2>
|
||||
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
Die mobile App legen wir gerade auf die Baustelle. Am Desktop bist du schon
|
||||
voll dabei — die Version fürs Handy folgt in Kürze.
|
||||
</p>
|
||||
|
||||
<div className="flex items-center gap-3 text-[13px] font-medium" style={{ color: "var(--text-tertiary)" }}>
|
||||
<TrafficCone size={18} strokeWidth={2} style={{ color: "var(--accent-yellow-dark)" }} />
|
||||
<span>In Arbeit · noch ohne Termin, aber unterwegs.</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const seedMessages: DemoMessage[] = [
|
||||
{
|
||||
id: "m-1",
|
||||
sender: "Murat Kaya",
|
||||
text: "Foto vom Heizungskeller hochgeladen.",
|
||||
time: "09:12",
|
||||
author: "team",
|
||||
},
|
||||
{
|
||||
id: "m-2",
|
||||
sender: "Lea Brandt",
|
||||
text: "Aufmaß ist fertig, schicke gleich die Unterlagen.",
|
||||
time: "09:15",
|
||||
author: "team",
|
||||
},
|
||||
{
|
||||
id: "m-3",
|
||||
sender: "Du",
|
||||
text: "Super, dann können wir morgen mit der Installation anfangen. 👍",
|
||||
time: "09:17",
|
||||
author: "self",
|
||||
},
|
||||
{
|
||||
id: "m-4",
|
||||
sender: "Murat Kaya",
|
||||
text: "Material ist bestellt, Lieferung Donnerstag.",
|
||||
time: "09:20",
|
||||
author: "team",
|
||||
},
|
||||
{
|
||||
id: "m-5",
|
||||
sender: "Daniel Reiter",
|
||||
text: "Hinweis: Für morgen fehlt noch eine verbindliche Terminbestätigung vom Kunden.",
|
||||
time: "09:21",
|
||||
author: "assistant",
|
||||
},
|
||||
];
|
||||
|
||||
function nowTimeLabel(): string {
|
||||
return new Intl.DateTimeFormat("de-DE", { hour: "2-digit", minute: "2-digit" }).format(new Date());
|
||||
}
|
||||
|
||||
function createMessageId(): string {
|
||||
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
||||
return crypto.randomUUID();
|
||||
}
|
||||
return `demo-${Date.now()}-${Math.random().toString(16).slice(2)}`;
|
||||
}
|
||||
|
||||
function toConversationTurns(messages: DemoMessage[]): DemoChatTurn[] {
|
||||
return messages
|
||||
.filter((msg) => msg.author !== "team")
|
||||
.map((msg) => ({
|
||||
role: msg.author === "self" ? "user" : "assistant",
|
||||
content: msg.text,
|
||||
}));
|
||||
}
|
||||
|
||||
async function requestAssistantReply(message: string, conversation: DemoChatTurn[]): Promise<string> {
|
||||
const response = await fetch("/api/demo-chat/reply", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ message, conversation }),
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error("assistant_unavailable");
|
||||
}
|
||||
|
||||
const data = (await response.json()) as { reply?: unknown };
|
||||
if (typeof data.reply !== "string" || !data.reply.trim()) {
|
||||
throw new Error("assistant_invalid");
|
||||
}
|
||||
|
||||
return data.reply.trim();
|
||||
}
|
||||
|
||||
export default function ChatDemoSection({ showSideContent = true, comingSoon = false }: ChatDemoSectionProps) {
|
||||
const phoneRef = useRef<HTMLDivElement>(null);
|
||||
const [messages, setMessages] = useState(seedMessages);
|
||||
const [draft, setDraft] = useState("");
|
||||
const [isReplying, setIsReplying] = useState(false);
|
||||
const [sendError, setSendError] = useState<string | null>(null);
|
||||
const scrollRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
useEffect(() => {
|
||||
const container = scrollRef.current;
|
||||
if (!container) {
|
||||
return;
|
||||
}
|
||||
container.scrollTop = container.scrollHeight;
|
||||
}, [messages, isReplying]);
|
||||
|
||||
useEffect(() => {
|
||||
const phoneEl = phoneRef.current;
|
||||
if (!phoneEl) {
|
||||
return;
|
||||
}
|
||||
|
||||
const handleNativeWheel = (event: WheelEvent) => {
|
||||
const container = scrollRef.current;
|
||||
if (!container) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (container.scrollHeight <= container.clientHeight) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
container.scrollTop += event.deltaY;
|
||||
};
|
||||
|
||||
phoneEl.addEventListener("wheel", handleNativeWheel, { passive: false });
|
||||
return () => {
|
||||
phoneEl.removeEventListener("wheel", handleNativeWheel);
|
||||
};
|
||||
}, []);
|
||||
|
||||
async function handleSubmit(event: FormEvent<HTMLFormElement>) {
|
||||
event.preventDefault();
|
||||
|
||||
const trimmed = draft.trim();
|
||||
if (!trimmed || isReplying) {
|
||||
return;
|
||||
}
|
||||
|
||||
const userMessage: DemoMessage = {
|
||||
id: createMessageId(),
|
||||
sender: "Du",
|
||||
text: trimmed,
|
||||
time: nowTimeLabel(),
|
||||
author: "self",
|
||||
};
|
||||
|
||||
const nextConversation = [...messages, userMessage];
|
||||
setMessages(nextConversation);
|
||||
setDraft("");
|
||||
setSendError(null);
|
||||
setIsReplying(true);
|
||||
|
||||
try {
|
||||
const [replyText] = await Promise.all([
|
||||
requestAssistantReply(trimmed, toConversationTurns(nextConversation)),
|
||||
new Promise((resolve) => setTimeout(resolve, 520)),
|
||||
]);
|
||||
setMessages((prev) => [
|
||||
...prev,
|
||||
{
|
||||
id: createMessageId(),
|
||||
sender: "Daniel Reiter",
|
||||
text: replyText,
|
||||
time: nowTimeLabel(),
|
||||
author: "assistant",
|
||||
},
|
||||
]);
|
||||
} catch {
|
||||
setSendError("Antwort konnte gerade nicht geladen werden.");
|
||||
} finally {
|
||||
setIsReplying(false);
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ background: "var(--surface)", paddingBlock: 80 }}
|
||||
>
|
||||
<div
|
||||
className={`flex flex-col items-center justify-center gap-12 lg:gap-20 mx-auto ${showSideContent || comingSoon ? "lg:flex-row" : ""}`}
|
||||
style={{ maxWidth: showSideContent ? "var(--content-width)" : comingSoon ? 860 : 420 }}
|
||||
>
|
||||
{comingSoon ? <ComingSoonAside /> : null}
|
||||
|
||||
{showSideContent ? (
|
||||
<div className="flex w-full max-w-[420px] flex-col gap-4 lg:hidden">
|
||||
<span
|
||||
className="self-start text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
KOMMUNIKATION
|
||||
</span>
|
||||
<h2
|
||||
className="text-[32px] font-bold leading-[1.15]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Ihr Team bleibt vernetzt, <span style={{ color: "var(--accent-yellow)" }}>informiert</span> und abgestimmt.
|
||||
</h2>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{/* Phone mockup (wrapped so the coming-soon overlay can sit on top) */}
|
||||
<div className="relative shrink-0">
|
||||
<div
|
||||
ref={phoneRef}
|
||||
className="rounded-[40px] overflow-hidden flex flex-col"
|
||||
style={{
|
||||
width: 300,
|
||||
height: 600,
|
||||
background: "#FFFFFF",
|
||||
border: "4px solid #D1D5DB",
|
||||
boxShadow: "0 12px 40px -4px rgba(0,0,0,0.13), 0 4px 12px rgba(0,0,0,0.06)",
|
||||
...(comingSoon ? { filter: "blur(3px) saturate(0.92)", pointerEvents: "none", userSelect: "none" } : null),
|
||||
}}
|
||||
aria-hidden={comingSoon || undefined}
|
||||
>
|
||||
{/* Status bar */}
|
||||
<div
|
||||
className="flex items-center justify-between px-6 shrink-0"
|
||||
style={{ height: 44, background: "#FFFFFF", fontSize: 13, fontWeight: 600 }}
|
||||
>
|
||||
<span style={{ color: "var(--text-primary)" }}>9:41</span>
|
||||
</div>
|
||||
|
||||
{/* Chat header */}
|
||||
<div
|
||||
className="flex items-center gap-3 shrink-0"
|
||||
style={{
|
||||
height: 56,
|
||||
background: "#FFFFFF",
|
||||
padding: "0 16px",
|
||||
borderBottom: "1px solid #E5E7EB",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="flex items-center justify-center rounded-full shrink-0 text-[14px] font-semibold text-white"
|
||||
style={{ width: 36, height: 36, background: "#F3E4C2" }}
|
||||
>
|
||||
<Building2 size={16} color="#8A6116" strokeWidth={2.2} />
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-[14px] font-semibold" style={{ color: "var(--text-primary)" }}>
|
||||
Heizungsprojekt Schulz
|
||||
</p>
|
||||
<p className="text-[11px]" style={{ color: "var(--text-secondary)" }}>
|
||||
4 Mitglieder · 2 online
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Messages */}
|
||||
<div
|
||||
ref={scrollRef}
|
||||
className="chat-scroll-hidden flex flex-col gap-2 flex-1 overflow-y-auto"
|
||||
style={{
|
||||
background: CHAT_BACKGROUND,
|
||||
backgroundImage: CHAT_MONOGRAM_PATTERN,
|
||||
backgroundRepeat: "repeat",
|
||||
backgroundSize: "28px 28px",
|
||||
padding: "12px 12px",
|
||||
overscrollBehaviorY: "contain",
|
||||
WebkitOverflowScrolling: "touch",
|
||||
}}
|
||||
>
|
||||
{messages.map((msg) => (
|
||||
<div
|
||||
key={msg.id}
|
||||
className={`flex items-end gap-2 ${msg.author === "self" ? "justify-end" : "justify-start"}`}
|
||||
>
|
||||
{msg.author !== "self" && (
|
||||
<div
|
||||
className="flex items-center justify-center rounded-full shrink-0"
|
||||
style={{ width: 26, height: 26, background: "#E8DDCE" }}
|
||||
>
|
||||
<UserRound size={12} color="#7F6D58" strokeWidth={2.3} />
|
||||
</div>
|
||||
)}
|
||||
<div
|
||||
className="text-[12px] leading-snug max-w-[72%]"
|
||||
style={{
|
||||
backgroundColor: msg.author === "self" ? OWN_BUBBLE_BACKGROUND : OTHER_BUBBLE_BACKGROUND,
|
||||
borderRadius: msg.author === "self" ? "16px 16px 4px 16px" : "16px 16px 16px 4px",
|
||||
padding: "8px 12px",
|
||||
color: msg.author === "self" ? "#FFFFFF" : "var(--text-primary)",
|
||||
boxShadow: "0 1px 2px rgba(0,0,0,0.06)",
|
||||
border: msg.author === "self" ? `1px solid ${OWN_BUBBLE_BORDER}` : `1px solid ${OTHER_BUBBLE_BORDER}`,
|
||||
}}
|
||||
>
|
||||
{msg.author !== "self" ? (
|
||||
<p className="mb-1 text-[11px] font-semibold" style={{ color: OTHER_BUBBLE_SENDER }}>
|
||||
{msg.sender}
|
||||
</p>
|
||||
) : null}
|
||||
{msg.text}
|
||||
<p className="mt-1 text-[10px]" style={{ color: msg.author === "self" ? "rgba(255,255,255,0.82)" : OTHER_BUBBLE_TIME }}>
|
||||
{msg.time}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
|
||||
</div>
|
||||
|
||||
{sendError ? (
|
||||
<div className="px-3 py-1 text-[11px]" style={{ color: "#B91C1C", background: "#FEF2F2" }}>
|
||||
{sendError}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{/* Input */}
|
||||
<form
|
||||
onSubmit={(event) => {
|
||||
void handleSubmit(event);
|
||||
}}
|
||||
className="flex items-center gap-2 shrink-0"
|
||||
style={{
|
||||
height: 56,
|
||||
background: "#FFFFFF",
|
||||
padding: "0 12px",
|
||||
borderTop: "1px solid #E5E7EB",
|
||||
}}
|
||||
>
|
||||
<input
|
||||
value={draft}
|
||||
onChange={(event) => setDraft(event.target.value)}
|
||||
placeholder="Nachricht schreiben..."
|
||||
className="flex-1 min-w-0 rounded-full text-[14px]"
|
||||
style={{
|
||||
background: "#FFFFFF",
|
||||
height: 36,
|
||||
padding: "0 14px",
|
||||
color: "#111827",
|
||||
fontSize: 14,
|
||||
outline: "none",
|
||||
border: "1px solid #E5E7EB",
|
||||
}}
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
disabled={!draft.trim() || isReplying}
|
||||
className="flex items-center justify-center rounded-full shrink-0 transition-opacity"
|
||||
style={{
|
||||
width: 34,
|
||||
height: 34,
|
||||
background: !draft.trim() || isReplying ? "#DCCFB8" : "var(--accent-yellow)",
|
||||
opacity: !draft.trim() || isReplying ? 0.8 : 1,
|
||||
}}
|
||||
>
|
||||
<SendHorizontal size={14} color="#1A1A1A" />
|
||||
</button>
|
||||
</form>
|
||||
|
||||
{/* Home indicator */}
|
||||
<div className="flex items-center justify-center" style={{ height: 20, background: "#FFFFFF" }}>
|
||||
<div className="rounded-full" style={{ width: 120, height: 4, background: "#D1D5DB" }} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{comingSoon ? <ComingSoonTape /> : null}
|
||||
</div>
|
||||
|
||||
{showSideContent ? (
|
||||
<>
|
||||
<div className="hidden flex-col gap-6 lg:flex" style={{ maxWidth: 420 }}>
|
||||
<span
|
||||
className="self-start text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
KOMMUNIKATION
|
||||
</span>
|
||||
<h2
|
||||
className="text-[32px] md:text-[42px] font-bold leading-[1.15]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Ihr Team bleibt vernetzt, <span style={{ color: "var(--accent-yellow)" }}>informiert</span> und abgestimmt.
|
||||
</h2>
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
So vertraut wie WhatsApp, aber fürs Handwerk gebaut: Alle Fotos, Aufgaben und
|
||||
Absprachen sind projektbezogen und zentral dokumentiert.
|
||||
</p>
|
||||
<ul className="flex flex-col gap-3">
|
||||
{bullets.map((b) => (
|
||||
<li key={b} className="flex items-center gap-3">
|
||||
<Check size={18} style={{ color: "var(--accent-yellow)", flexShrink: 0 }} strokeWidth={2.5} />
|
||||
<span className="text-[14px] font-medium" style={{ color: "var(--text-primary)" }}>
|
||||
{b}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<Link
|
||||
href="/produkt/chat"
|
||||
className="self-start text-[14px] font-semibold hover:underline"
|
||||
style={{ color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
Chat App entdecken →
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<div className="flex w-full max-w-[420px] flex-col gap-4 lg:hidden">
|
||||
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>
|
||||
So vertraut wie WhatsApp, aber fürs Handwerk gebaut: Alle Fotos, Aufgaben und
|
||||
Absprachen sind projektbezogen und zentral dokumentiert.
|
||||
</p>
|
||||
<ul className="flex flex-col gap-3">
|
||||
{bullets.map((b) => (
|
||||
<li key={b} className="flex items-center gap-3">
|
||||
<Check size={18} style={{ color: "var(--accent-yellow)", flexShrink: 0 }} strokeWidth={2.5} />
|
||||
<span className="text-[14px] font-medium" style={{ color: "var(--text-primary)" }}>
|
||||
{b}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<Link
|
||||
href="/produkt/chat"
|
||||
className="self-start text-[14px] font-semibold hover:underline"
|
||||
style={{ color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
Chat App entdecken →
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
) : null}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import dynamic from "next/dynamic";
|
||||
|
||||
type ChatDemoSectionClientProps = {
|
||||
showSideContent?: boolean;
|
||||
comingSoon?: boolean;
|
||||
};
|
||||
|
||||
const ChatDemoSection = dynamic<ChatDemoSectionClientProps>(() => import("@/components/sections/ChatDemoSection"), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
export default function ChatDemoSectionClient({ showSideContent = true, comingSoon = false }: ChatDemoSectionClientProps) {
|
||||
return <ChatDemoSection showSideContent={showSideContent} comingSoon={comingSoon} />;
|
||||
}
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
.section {
|
||||
overflow: hidden;
|
||||
padding: clamp(48px, 5vw, 68px) clamp(20px, 2.2vw, 34px);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.inner {
|
||||
width: 100%;
|
||||
max-width: 1480px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
max-width: 760px;
|
||||
margin: 0 auto 34px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.heading > span {
|
||||
margin-bottom: 16px;
|
||||
color: var(--accent-yellow-dark);
|
||||
font-size: 12px;
|
||||
font-weight: 750;
|
||||
letter-spacing: 0.13em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.heading h2 {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: clamp(36px, 4.2vw, 58px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.045em;
|
||||
line-height: 1.05;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.heading p {
|
||||
max-width: 660px;
|
||||
margin: 20px 0 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.lanes {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.card {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1.48fr);
|
||||
gap: clamp(28px, 3.2vw, 48px);
|
||||
align-items: center;
|
||||
padding-block: clamp(22px, 2vw, 30px);
|
||||
padding-inline: clamp(28px, 2.6vw, 38px);
|
||||
border: 1px solid var(--border-light);
|
||||
background: var(--container-bg);
|
||||
clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.card:nth-child(even) {
|
||||
grid-template-columns: minmax(0, 1.48fr) minmax(280px, 0.52fr);
|
||||
}
|
||||
|
||||
.card:nth-child(even) .visual {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.card:nth-child(even) .copy {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.copy h3 {
|
||||
margin: 0 0 18px;
|
||||
color: var(--text-primary);
|
||||
font-size: clamp(28px, 2.5vw, 40px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.04em;
|
||||
line-height: 1.04;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.copy p {
|
||||
margin: 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 15.5px;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
margin-top: 24px;
|
||||
color: var(--teal, #0d6e6e);
|
||||
font-size: 14px;
|
||||
font-weight: 750;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 4px;
|
||||
}
|
||||
|
||||
.visual {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
padding-block: clamp(7px, 0.7vw, 10px);
|
||||
padding-inline: clamp(11px, 1.15vw, 18px);
|
||||
transform-origin: center;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.screenshot {
|
||||
overflow: hidden;
|
||||
border: 1px solid #dfe4e8;
|
||||
border-radius: 12px;
|
||||
background: #fff;
|
||||
box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
|
||||
line-height: 0;
|
||||
transform-origin: center;
|
||||
will-change: transform, box-shadow;
|
||||
}
|
||||
|
||||
.screenshot img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.card,
|
||||
.visual,
|
||||
.screenshot {
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
+220
@@ -0,0 +1,220 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { ArrowUpRight } from "lucide-react";
|
||||
import { useGSAP } from "@gsap/react";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
|
||||
import styles from "./DesktopSystemCards.module.css";
|
||||
|
||||
gsap.registerPlugin(useGSAP, ScrollTrigger);
|
||||
|
||||
export type DesktopSystemCardItem = {
|
||||
title: string;
|
||||
body: string;
|
||||
screenshot: string;
|
||||
screenshotWidth: number;
|
||||
screenshotHeight: number;
|
||||
href?: string;
|
||||
};
|
||||
|
||||
export default function DesktopSystemCards({
|
||||
badge,
|
||||
headline,
|
||||
subtext,
|
||||
items,
|
||||
}: {
|
||||
badge: string;
|
||||
headline: string;
|
||||
subtext: string;
|
||||
items: readonly DesktopSystemCardItem[];
|
||||
}) {
|
||||
const root = useRef<HTMLElement>(null);
|
||||
|
||||
useGSAP(
|
||||
(_context, contextSafe) => {
|
||||
const select = gsap.utils.selector(root);
|
||||
const media = gsap.matchMedia();
|
||||
|
||||
media.add(
|
||||
{
|
||||
desktop: "(min-width: 1024px)",
|
||||
reduceMotion: "(prefers-reduced-motion: reduce)",
|
||||
},
|
||||
(context) => {
|
||||
const { desktop, reduceMotion } = context.conditions as {
|
||||
desktop: boolean;
|
||||
reduceMotion: boolean;
|
||||
};
|
||||
if (!desktop || reduceMotion) return;
|
||||
|
||||
const heading = select("[data-system-heading]")[0];
|
||||
if (heading) {
|
||||
gsap.from(heading.children, {
|
||||
autoAlpha: 0,
|
||||
y: 24,
|
||||
duration: 0.72,
|
||||
ease: "power3.out",
|
||||
stagger: 0.08,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
scrollTrigger: {
|
||||
trigger: heading,
|
||||
start: "clamp(top 84%)",
|
||||
once: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
select("[data-system-card]").forEach((card, index) => {
|
||||
const copy = card.querySelector("[data-system-copy]");
|
||||
const visual = card.querySelector("[data-system-visual]");
|
||||
const screenshot = card.querySelector("[data-system-screenshot]");
|
||||
const direction = index % 2 === 0 ? 1 : -1;
|
||||
|
||||
const reveal = gsap.timeline({
|
||||
defaults: { ease: "power3.out" },
|
||||
scrollTrigger: {
|
||||
trigger: card,
|
||||
start: "clamp(top 82%)",
|
||||
once: true,
|
||||
},
|
||||
});
|
||||
reveal.fromTo(
|
||||
card,
|
||||
{
|
||||
autoAlpha: 0,
|
||||
y: 38,
|
||||
scale: 0.985,
|
||||
},
|
||||
{
|
||||
autoAlpha: 1,
|
||||
y: 0,
|
||||
scale: 1,
|
||||
duration: 0.78,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
);
|
||||
|
||||
if (copy) {
|
||||
reveal.fromTo(
|
||||
copy,
|
||||
{
|
||||
autoAlpha: 0,
|
||||
x: -38 * direction,
|
||||
},
|
||||
{
|
||||
autoAlpha: 1,
|
||||
x: 0,
|
||||
duration: 0.62,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
0.12
|
||||
);
|
||||
}
|
||||
|
||||
if (visual) {
|
||||
reveal.fromTo(
|
||||
visual,
|
||||
{
|
||||
autoAlpha: 0,
|
||||
x: 72 * direction,
|
||||
rotation: 1.15 * direction,
|
||||
scale: 0.955,
|
||||
},
|
||||
{
|
||||
autoAlpha: 1,
|
||||
x: 0,
|
||||
rotation: 0,
|
||||
scale: 1,
|
||||
duration: 0.86,
|
||||
clearProps: "transform,opacity,visibility",
|
||||
},
|
||||
0.08
|
||||
);
|
||||
}
|
||||
|
||||
if (!screenshot) return;
|
||||
|
||||
const enter = contextSafe!(() => {
|
||||
gsap.to(screenshot, {
|
||||
y: -4,
|
||||
scale: 1.006,
|
||||
boxShadow: "0 20px 44px rgba(15, 23, 42, 0.12)",
|
||||
duration: 0.3,
|
||||
ease: "power2.out",
|
||||
overwrite: "auto",
|
||||
});
|
||||
});
|
||||
const leave = contextSafe!(() => {
|
||||
gsap.to(screenshot, {
|
||||
y: 0,
|
||||
scale: 1,
|
||||
boxShadow: "0 14px 34px rgba(15, 23, 42, 0.09)",
|
||||
duration: 0.4,
|
||||
ease: "power3.out",
|
||||
overwrite: "auto",
|
||||
onComplete: () => {
|
||||
gsap.set(screenshot, { clearProps: "transform,boxShadow" });
|
||||
},
|
||||
});
|
||||
});
|
||||
screenshot.addEventListener("pointerenter", enter);
|
||||
screenshot.addEventListener("pointerleave", leave);
|
||||
context.add(() => {
|
||||
screenshot.removeEventListener("pointerenter", enter);
|
||||
screenshot.removeEventListener("pointerleave", leave);
|
||||
gsap.killTweensOf(screenshot);
|
||||
gsap.set(screenshot, { clearProps: "transform,boxShadow" });
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
return () => media.revert();
|
||||
},
|
||||
{ scope: root }
|
||||
);
|
||||
|
||||
return (
|
||||
<section ref={root} className={styles.section} aria-labelledby="desktop-system-cards-title">
|
||||
<div className={styles.inner}>
|
||||
<header className={styles.heading} data-system-heading>
|
||||
<span>{badge}</span>
|
||||
<h2 id="desktop-system-cards-title">{headline}</h2>
|
||||
<p>{subtext}</p>
|
||||
</header>
|
||||
|
||||
<div className={styles.lanes}>
|
||||
{items.map((item) => (
|
||||
<article className={styles.card} data-system-card key={item.title}>
|
||||
<div className={styles.copy} data-system-copy>
|
||||
<h3>{item.title}</h3>
|
||||
<p>{item.body}</p>
|
||||
{item.href ? (
|
||||
<Link href={item.href} className={styles.link}>
|
||||
Bereich ansehen <ArrowUpRight size={17} aria-hidden />
|
||||
</Link>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
<div className={styles.visual} data-system-visual>
|
||||
<div className={styles.screenshot} data-system-screenshot>
|
||||
<Image
|
||||
src={item.screenshot}
|
||||
alt={`${item.title} in HiveGrid`}
|
||||
width={item.screenshotWidth}
|
||||
height={item.screenshotHeight}
|
||||
sizes="(min-width: 1280px) 760px, (min-width: 1024px) 58vw, 100vw"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,294 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { Type, Image as ImageIcon, Heading1, MousePointerClick, LayoutGrid, Minus, Trash2, GripVertical, RotateCcw, Plus } from "lucide-react";
|
||||
import CanvasHint, { useCanvasHint } from "@/components/ui/CanvasHint";
|
||||
|
||||
/* ──────────────────────────────────────────────────────────────────────────
|
||||
* EmailBuilder — interactive centrepiece for the email-marketing page. Click a
|
||||
* block in the palette to add it to the live e-mail preview; drag blocks to
|
||||
* reorder, hover to remove. Brand-styled, not a 1:1 copy of the real editor.
|
||||
* ────────────────────────────────────────────────────────────────────────── */
|
||||
|
||||
type BlockType = "subject" | "image" | "text" | "button" | "products" | "divider";
|
||||
|
||||
const PALETTE: { type: BlockType; label: string; icon: typeof Type }[] = [
|
||||
{ type: "subject", label: "Überschrift", icon: Heading1 },
|
||||
{ type: "image", label: "Bild", icon: ImageIcon },
|
||||
{ type: "text", label: "Text", icon: Type },
|
||||
{ type: "button", label: "CTA-Button", icon: MousePointerClick },
|
||||
{ type: "products", label: "Produkte", icon: LayoutGrid },
|
||||
{ type: "divider", label: "Trenner", icon: Minus },
|
||||
];
|
||||
|
||||
type Block = { id: string; type: BlockType };
|
||||
|
||||
const INITIAL: Block[] = [
|
||||
{ id: "b1", type: "subject" },
|
||||
{ id: "b2", type: "image" },
|
||||
{ id: "b3", type: "text" },
|
||||
{ id: "b4", type: "button" },
|
||||
];
|
||||
|
||||
function BlockPreview({ type }: { type: BlockType }) {
|
||||
switch (type) {
|
||||
case "subject":
|
||||
return (
|
||||
<span
|
||||
contentEditable="plaintext-only"
|
||||
suppressContentEditableWarning
|
||||
className="block text-[17px] font-bold leading-snug outline-none rounded cursor-text focus:ring-2 focus:ring-[var(--accent-yellow)] focus:px-1 focus:-mx-1"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Ihre neue Wärmepumpe wartet auf Sie
|
||||
</span>
|
||||
);
|
||||
case "image":
|
||||
return (
|
||||
<div
|
||||
className="w-full rounded-lg flex flex-col items-center justify-center gap-1.5"
|
||||
style={{ height: 120, background: "var(--container-bg)", border: "1px dashed var(--border-light)" }}
|
||||
>
|
||||
<ImageIcon size={22} style={{ color: "var(--text-muted)" }} />
|
||||
<span className="text-[10px] font-medium" style={{ color: "var(--text-muted)" }}>Bild hierher ziehen</span>
|
||||
</div>
|
||||
);
|
||||
case "text":
|
||||
return (
|
||||
<p
|
||||
contentEditable="plaintext-only"
|
||||
suppressContentEditableWarning
|
||||
className="text-[13px] leading-relaxed outline-none rounded cursor-text focus:ring-2 focus:ring-[var(--accent-yellow)]"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
Hallo Herr Müller, danke für Ihr Interesse an der Wärmepumpe. Wir haben Ihnen
|
||||
ein persönliches Angebot zusammengestellt. Schauen Sie gern rein.
|
||||
</p>
|
||||
);
|
||||
case "button":
|
||||
return (
|
||||
<div
|
||||
className="inline-flex items-center justify-center text-[13px] font-semibold rounded-lg"
|
||||
style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "10px 20px" }}
|
||||
>
|
||||
Jetzt Angebot ansehen
|
||||
</div>
|
||||
);
|
||||
case "products":
|
||||
return (
|
||||
<div className="grid grid-cols-2 gap-2.5">
|
||||
{[
|
||||
{ name: "Heizung", price: "ab € 3.900" },
|
||||
{ name: "Sanitär", price: "ab € 1.490" },
|
||||
{ name: "Wartung", price: "ab € 149" },
|
||||
{ name: "Solar", price: "ab € 6.200" },
|
||||
].map((p) => (
|
||||
<div key={p.name} className="flex flex-col gap-1.5 rounded-lg p-2.5" style={{ background: "var(--container-bg)", border: "1px solid var(--border-light)" }}>
|
||||
<div className="w-full rounded grid place-items-center" style={{ height: 44, background: "#FFFFFF", border: "1px dashed var(--border-light)" }}>
|
||||
<ImageIcon size={14} style={{ color: "var(--text-muted)" }} />
|
||||
</div>
|
||||
<span className="text-[11px] font-semibold" style={{ color: "var(--text-primary)" }}>{p.name}-Paket</span>
|
||||
<span className="text-[10px]" style={{ color: "var(--text-tertiary)" }}>{p.price}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
case "divider":
|
||||
return <div style={{ height: 1, background: "var(--border-light)" }} />;
|
||||
}
|
||||
}
|
||||
|
||||
export default function EmailBuilder({ hideHeader = false }: { hideHeader?: boolean }) {
|
||||
const [blocks, setBlocks] = useState<Block[]>(INITIAL);
|
||||
const [dragId, setDragId] = useState<string | null>(null);
|
||||
const [resetKey, setResetKey] = useState(0); // bump to remount blocks → clears edited contentEditable text
|
||||
const idRef = useRef(100);
|
||||
const blockRefs = useRef<Record<string, HTMLDivElement | null>>({});
|
||||
|
||||
const hint = useCanvasHint<HTMLDivElement>();
|
||||
|
||||
const addBlock = (type: BlockType) => {
|
||||
hint.dismiss();
|
||||
idRef.current += 1;
|
||||
setBlocks((bs) => [...bs, { id: `b${idRef.current}`, type }]);
|
||||
};
|
||||
const removeBlock = (id: string) => setBlocks((bs) => bs.filter((b) => b.id !== id));
|
||||
const reset = () => {
|
||||
setDragId(null);
|
||||
setBlocks(INITIAL);
|
||||
setResetKey((k) => k + 1);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (!dragId) return;
|
||||
document.body.style.setProperty("user-select", "none");
|
||||
document.body.style.setProperty("-webkit-user-select", "none");
|
||||
|
||||
const onMove = (e: PointerEvent) => {
|
||||
const y = e.clientY;
|
||||
const targetId = blocks.find((b) => {
|
||||
const el = blockRefs.current[b.id];
|
||||
if (!el) return false;
|
||||
const r = el.getBoundingClientRect();
|
||||
return y >= r.top && y <= r.bottom;
|
||||
})?.id;
|
||||
if (!targetId || targetId === dragId) return;
|
||||
setBlocks((bs) => {
|
||||
const from = bs.findIndex((b) => b.id === dragId);
|
||||
const to = bs.findIndex((b) => b.id === targetId);
|
||||
if (from === -1 || to === -1) return bs;
|
||||
const arr = [...bs];
|
||||
const [moved] = arr.splice(from, 1);
|
||||
arr.splice(to, 0, moved);
|
||||
return arr;
|
||||
});
|
||||
};
|
||||
const onUp = () => setDragId(null);
|
||||
|
||||
window.addEventListener("pointermove", onMove, { passive: true });
|
||||
window.addEventListener("pointerup", onUp);
|
||||
window.addEventListener("pointercancel", onUp);
|
||||
return () => {
|
||||
window.removeEventListener("pointermove", onMove);
|
||||
window.removeEventListener("pointerup", onUp);
|
||||
window.removeEventListener("pointercancel", onUp);
|
||||
document.body.style.removeProperty("user-select");
|
||||
document.body.style.removeProperty("-webkit-user-select");
|
||||
};
|
||||
}, [dragId, blocks]);
|
||||
|
||||
return (
|
||||
<section className="section-full" style={{ background: "var(--surface)", paddingBlock: hideHeader ? 40 : 80 }}>
|
||||
<div className="mx-auto flex flex-col gap-6" style={{ maxWidth: "var(--content-width)" }}>
|
||||
{!hideHeader && (
|
||||
<div className="flex flex-col items-center gap-4 text-center">
|
||||
<span className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5" style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}>
|
||||
E-MAIL-BAUKASTEN
|
||||
</span>
|
||||
<h2 className="text-[32px] md:text-[42px] font-bold leading-[1.15]" style={{ color: "var(--text-primary)" }}>Kampagnen selbst gebaut.</h2>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Builder on a dotted "canvas" — same treatment as the workflow editor
|
||||
& kanban. Reset sits in the corner; the popup replaces the caption. */}
|
||||
<div
|
||||
ref={hint.ref}
|
||||
className="relative rounded-2xl"
|
||||
style={{
|
||||
background: "#FAFBFD",
|
||||
border: "1px solid var(--border-light)",
|
||||
backgroundImage: "radial-gradient(circle, #E5E7EB 1px, transparent 1px)",
|
||||
backgroundSize: "24px 24px",
|
||||
padding: "32px 24px",
|
||||
}}
|
||||
>
|
||||
{/* Reset — top-right corner of the canvas */}
|
||||
<button
|
||||
onClick={reset}
|
||||
className="absolute top-3 right-3 z-[40] inline-flex items-center gap-1.5 text-[12.5px] font-semibold rounded-lg px-2.5 py-1.5 transition-colors hover:bg-[var(--bg-muted)]"
|
||||
style={{ color: "var(--text-secondary)", background: "#FFFFFF", border: "1px solid var(--border-light)" }}
|
||||
>
|
||||
<RotateCcw size={13} /> Zurücksetzen
|
||||
</button>
|
||||
|
||||
<div className="flex flex-col lg:flex-row gap-8 lg:gap-10 justify-center items-center lg:items-start">
|
||||
{/* Palette */}
|
||||
<div className="w-full lg:w-[230px] min-w-0 grid grid-cols-3 lg:grid-cols-1 gap-2.5">
|
||||
{PALETTE.map(({ type, label, icon: Icon }) => (
|
||||
<button
|
||||
key={type}
|
||||
onClick={() => addBlock(type)}
|
||||
className="group flex items-center gap-2.5 rounded-lg text-left bg-white border border-[var(--border-light)] shadow-sm transition-colors duration-150 hover:border-[var(--accent-yellow)] hover:shadow-md"
|
||||
style={{ padding: "9px 11px" }}
|
||||
>
|
||||
{/* Icon sits neutral at rest; brand amber only appears on hover
|
||||
(an amber tile on every row read as generic/vibecoded). */}
|
||||
<span
|
||||
className="grid place-items-center rounded-md shrink-0 transition-colors duration-150 bg-[var(--container-bg)] text-[var(--text-secondary)] group-hover:bg-[var(--accent-yellow-light)] group-hover:text-[var(--accent-yellow-dark)]"
|
||||
style={{ width: 28, height: 28 }}
|
||||
>
|
||||
<Icon size={15} />
|
||||
</span>
|
||||
<span className="text-[13px] font-semibold min-w-0 truncate" style={{ color: "var(--text-primary)" }}>{label}</span>
|
||||
<Plus
|
||||
size={14}
|
||||
strokeWidth={2.5}
|
||||
className="ml-auto shrink-0 hidden lg:block opacity-0 -translate-x-1 transition-all duration-150 group-hover:opacity-100 group-hover:translate-x-0 text-[var(--accent-yellow-dark)]"
|
||||
/>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Email preview */}
|
||||
<div
|
||||
className="w-full max-w-[440px] min-w-0 overflow-hidden rounded-2xl"
|
||||
style={{ background: "#FFFFFF", border: "1px solid var(--border-light)", boxShadow: "0 30px 60px -30px rgba(15,23,42,0.3)" }}
|
||||
>
|
||||
{/* Mail header */}
|
||||
<div className="flex items-center gap-3 px-5 py-3.5" style={{ borderBottom: "1px solid var(--border-light)", background: "var(--container-bg)" }}>
|
||||
<span className="grid place-items-center rounded-full text-[13px] font-bold shrink-0" style={{ width: 34, height: 34, background: "var(--accent-yellow)", color: "var(--text-primary)" }}>G</span>
|
||||
<div className="flex flex-col min-w-0">
|
||||
<span className="text-[13px] font-semibold truncate" style={{ color: "var(--text-primary)" }}>Geerkens Sanitär & Heizung GmbH</span>
|
||||
<span className="text-[11.5px] truncate" style={{ color: "var(--text-tertiary)" }}>an Sie · buero@geerkens.de</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Body blocks */}
|
||||
<div className="flex flex-col gap-4 p-5" style={{ touchAction: dragId ? "none" : undefined }}>
|
||||
{blocks.length === 0 && (
|
||||
<p className="text-[13px] text-center py-8" style={{ color: "var(--text-muted)" }}>
|
||||
Fügen Sie links Blöcke hinzu …
|
||||
</p>
|
||||
)}
|
||||
{blocks.map((b) => {
|
||||
const isDragging = dragId === b.id;
|
||||
return (
|
||||
<div
|
||||
key={`${resetKey}-${b.id}`}
|
||||
ref={(el) => {
|
||||
blockRefs.current[b.id] = el;
|
||||
}}
|
||||
className="group relative rounded-lg transition-shadow"
|
||||
style={{
|
||||
padding: 8,
|
||||
margin: -8,
|
||||
background: isDragging ? "var(--container-bg)" : "transparent",
|
||||
boxShadow: isDragging ? "0 12px 30px -12px rgba(15,23,42,0.25)" : "none",
|
||||
cursor: isDragging ? "grabbing" : undefined,
|
||||
}}
|
||||
>
|
||||
<BlockPreview type={b.type} />
|
||||
|
||||
{/* Drag handle */}
|
||||
<span
|
||||
onPointerDown={() => { hint.dismiss(); setDragId(b.id); }}
|
||||
className="absolute left-0 top-1/2 -translate-y-1/2 -translate-x-1/2 grid place-items-center rounded-md opacity-0 group-hover:opacity-100 transition-opacity"
|
||||
style={{ width: 22, height: 22, background: "#fff", border: "1px solid var(--border-light)", cursor: "grab", touchAction: "none" }}
|
||||
aria-label="Verschieben"
|
||||
>
|
||||
<GripVertical size={13} style={{ color: "var(--text-muted)" }} />
|
||||
</span>
|
||||
|
||||
{/* Remove */}
|
||||
<button
|
||||
onClick={() => removeBlock(b.id)}
|
||||
className="absolute right-0 top-0 translate-x-1/2 -translate-y-1/2 grid place-items-center rounded-full opacity-0 group-hover:opacity-100 transition hover:text-[#EF4444] hover:border-[#EF4444]"
|
||||
style={{ width: 24, height: 24, background: "#fff", border: "1px solid var(--border-light)", color: "var(--text-muted)" }}
|
||||
aria-label="Block entfernen"
|
||||
>
|
||||
<Trash2 size={13} />
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Centered onboarding hint (dismisses on first block add/drag or via X) */}
|
||||
<CanvasHint show={hint.show} onDismiss={hint.dismiss} title="E-Mail bauen" subtitle="Klick links auf einen Block, um ihn hinzuzufügen" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,172 @@
|
||||
"use client";
|
||||
|
||||
import { useRef, useState } from "react";
|
||||
import { ChevronUp, ChevronDown } from "lucide-react";
|
||||
import { useGSAP } from "@gsap/react";
|
||||
import { gsap } from "gsap";
|
||||
import { faqs } from "@/lib/faqs";
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
export default function FAQSection({
|
||||
items = faqs,
|
||||
intro = "Finden Sie schnell Antworten auf die wichtigsten Fragen.",
|
||||
}: {
|
||||
items?: { q: string; a: string }[];
|
||||
intro?: string;
|
||||
}) {
|
||||
const [open, setOpen] = useState<number | null>(0);
|
||||
const root = useRef<HTMLElement>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const media = gsap.matchMedia();
|
||||
media.add("(prefers-reduced-motion: no-preference)", () => {
|
||||
const section = root.current;
|
||||
const header = root.current?.querySelector("[data-faq-header]");
|
||||
const rows = root.current?.querySelectorAll("[data-faq-row]");
|
||||
if (!section || !header || !rows?.length) return;
|
||||
|
||||
const headerChildren = Array.from(header.children);
|
||||
const rowElements = Array.from(rows);
|
||||
|
||||
gsap.set(headerChildren, { autoAlpha: 0, y: 22 });
|
||||
gsap.set(rowElements, { autoAlpha: 0, y: 18 });
|
||||
|
||||
const revealTimeline = gsap.timeline({
|
||||
paused: true,
|
||||
defaults: { ease: "power3.out" },
|
||||
});
|
||||
revealTimeline
|
||||
.to(headerChildren, {
|
||||
autoAlpha: 1,
|
||||
y: 0,
|
||||
duration: 0.55,
|
||||
stagger: 0.06,
|
||||
})
|
||||
.to(
|
||||
rowElements,
|
||||
{
|
||||
autoAlpha: 1,
|
||||
y: 0,
|
||||
duration: 0.42,
|
||||
stagger: 0.045,
|
||||
},
|
||||
"-=0.2",
|
||||
);
|
||||
|
||||
const reveal = () => revealTimeline.play();
|
||||
const observer = new IntersectionObserver(
|
||||
([entry]) => {
|
||||
if (!entry?.isIntersecting) return;
|
||||
reveal();
|
||||
observer.disconnect();
|
||||
},
|
||||
{ rootMargin: "0px 0px -16% 0px", threshold: 0.04 },
|
||||
);
|
||||
|
||||
observer.observe(section);
|
||||
|
||||
return () => {
|
||||
observer.disconnect();
|
||||
revealTimeline.kill();
|
||||
};
|
||||
});
|
||||
|
||||
return () => media.revert();
|
||||
},
|
||||
{ scope: root },
|
||||
);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
if (open === null || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
||||
const answer = root.current?.querySelector('[data-faq-answer="' + open + '"]');
|
||||
if (!answer) return;
|
||||
|
||||
gsap.fromTo(
|
||||
answer,
|
||||
{ autoAlpha: 0, y: -7 },
|
||||
{
|
||||
autoAlpha: 1,
|
||||
y: 0,
|
||||
duration: 0.3,
|
||||
ease: "power2.out",
|
||||
overwrite: "auto",
|
||||
},
|
||||
);
|
||||
},
|
||||
{ scope: root, dependencies: [open], revertOnUpdate: true },
|
||||
);
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={root}
|
||||
className="section-full"
|
||||
style={{ background: "var(--surface)", paddingBlock: 80 }}
|
||||
>
|
||||
<div
|
||||
className="flex flex-col items-center gap-10 mx-auto"
|
||||
style={{ maxWidth: "var(--content-width)" }}
|
||||
>
|
||||
{/* Header */}
|
||||
<div className="flex flex-col items-center gap-4 text-center" data-faq-header>
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-3 py-1"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
FAQ
|
||||
</span>
|
||||
<h2
|
||||
className="text-[32px] md:text-[42px] font-bold leading-[1.15]"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Häufig gestellte Fragen.
|
||||
</h2>
|
||||
<p className="text-[16px]" style={{ color: "var(--text-secondary)" }}>
|
||||
{intro}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* FAQ list */}
|
||||
<div className="w-full" style={{ maxWidth: 720 }}>
|
||||
{items.map((item, i) => (
|
||||
<div key={item.q} data-faq-row>
|
||||
<div
|
||||
style={{
|
||||
borderBottom: i < items.length - 1 ? "1px solid var(--border-neutral)" : "none",
|
||||
}}
|
||||
>
|
||||
<button
|
||||
onClick={() => setOpen(open === i ? null : i)}
|
||||
className="flex items-center justify-between w-full text-left py-6"
|
||||
>
|
||||
<span
|
||||
className="text-[16px] font-semibold pr-8"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
{item.q}
|
||||
</span>
|
||||
{open === i ? (
|
||||
<ChevronUp size={20} className="shrink-0" style={{ color: "var(--text-secondary)" }} />
|
||||
) : (
|
||||
<ChevronDown size={20} className="shrink-0" style={{ color: "var(--text-secondary)" }} />
|
||||
)}
|
||||
</button>
|
||||
{open === i && (
|
||||
<p
|
||||
data-faq-answer={i}
|
||||
className="text-[15px] leading-relaxed pb-6"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
{item.a}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
import Link from "next/link";
|
||||
import { CHAMFER } from "@/lib/chamfer";
|
||||
import {
|
||||
Workflow,
|
||||
Mail,
|
||||
MessageCircle,
|
||||
Kanban,
|
||||
TrendingUp,
|
||||
Users,
|
||||
} from "lucide-react";
|
||||
|
||||
const features = [
|
||||
{
|
||||
icon: Workflow,
|
||||
title: "Workflow Engine",
|
||||
desc: "Wiederkehrende Abläufe automatisieren. Einmal einrichten, dauerhaft profitieren.",
|
||||
href: "/produkt/workflow-engine",
|
||||
},
|
||||
{
|
||||
icon: Mail,
|
||||
title: "Email Marketing",
|
||||
desc: "Angebots-Follow-ups, Wartungserinnerungen und Newsletter, ohne Mehraufwand.",
|
||||
href: "/produkt/email-marketing",
|
||||
},
|
||||
{
|
||||
icon: MessageCircle,
|
||||
title: "Chat App",
|
||||
desc: "Büro und Baustelle synchron. Schluss mit WhatsApp-Gruppen.",
|
||||
href: "/produkt/chat",
|
||||
},
|
||||
{
|
||||
icon: Kanban,
|
||||
title: "Projektmanagement",
|
||||
desc: "Fristen, Aufgaben und Verantwortlichkeiten. Alles auf einen Blick.",
|
||||
href: "/produkt/projektmanagement",
|
||||
},
|
||||
{
|
||||
icon: TrendingUp,
|
||||
title: "Vertriebspipelines",
|
||||
desc: "Von der Anfrage bis zum Auftrag. Kein Lead geht verloren.",
|
||||
href: "/produkt/vertriebspipelines",
|
||||
},
|
||||
{
|
||||
icon: Users,
|
||||
title: "Mitarbeitermanagement",
|
||||
desc: "Einsatzplanung, Verfügbarkeit und Aufgaben auf einen Blick.",
|
||||
href: "/produkt/mitarbeitermanagement",
|
||||
},
|
||||
];
|
||||
|
||||
export default function FeaturesGrid() {
|
||||
return (
|
||||
<section
|
||||
className="section-full"
|
||||
style={{ background: "var(--surface)", paddingBlock: 80 }}
|
||||
>
|
||||
<div
|
||||
className="flex flex-col items-center gap-10 mx-auto"
|
||||
style={{ maxWidth: "var(--content-width)" }}
|
||||
>
|
||||
{/* Header */}
|
||||
<div className="flex flex-col items-center gap-4 text-center">
|
||||
<span
|
||||
className="text-[12px] font-semibold tracking-widest chamfer-badge px-2 py-0.5"
|
||||
style={{ background: "var(--accent-yellow-light)", color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
PRODUKTE
|
||||
</span>
|
||||
<h2
|
||||
className="text-[32px] md:text-[42px] font-bold leading-[1.15] max-w-2xl"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
Alles was Ihr Betrieb braucht.{" "}
|
||||
<br className="hidden md:block" />
|
||||
In einer Plattform.
|
||||
</h2>
|
||||
<p
|
||||
className="text-[16px] max-w-lg"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
Von der Auftragsannahme bis zur Rechnungsstellung. HiveGrid vereint alle Werkzeuge.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Grid */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 w-full">
|
||||
{features.map(({ icon: Icon, title, desc, href }) => (
|
||||
<div
|
||||
key={title}
|
||||
className="flex flex-col gap-4"
|
||||
style={{ background: "var(--container-bg)", padding: 32, clipPath: CHAMFER }}
|
||||
>
|
||||
<Icon size={24} style={{ color: "var(--accent-yellow)" }} strokeWidth={2} />
|
||||
<h3
|
||||
className="text-[18px] font-semibold"
|
||||
style={{ color: "var(--text-primary)" }}
|
||||
>
|
||||
{title}
|
||||
</h3>
|
||||
<p
|
||||
className="text-[14px] leading-relaxed flex-1"
|
||||
style={{ color: "var(--text-secondary)" }}
|
||||
>
|
||||
{desc}
|
||||
</p>
|
||||
<Link
|
||||
href={href}
|
||||
className="text-[14px] font-semibold hover:underline"
|
||||
style={{ color: "var(--accent-yellow-dark)" }}
|
||||
>
|
||||
Mehr erfahren →
|
||||
</Link>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Loaded 100 of 453 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user