190 lines
7.8 KiB
TypeScript
190 lines
7.8 KiB
TypeScript
"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>
|
|
);
|
|
}
|