Review template

This commit is contained in:
adilallo
2026-02-10 22:13:08 -07:00
parent 4bb6fe0a89
commit f60df15c2b
4 changed files with 148 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
"use client";
import { useMediaQuery } from "../../hooks/useMediaQuery";
import HeaderLockup from "../../components/type/HeaderLockup";
/**
* Final review step (right before completed).
* Figma: 20907-212767
*/
export default function FinalReviewPage() {
const isMdOrLarger = useMediaQuery("(min-width: 640px)");
return (
<div className="w-full flex flex-col items-center px-[var(--spacing-measures-spacing-500,20px)] md:px-[64px]">
<div className="flex flex-col gap-[48px] items-center w-full max-w-[640px]">
<HeaderLockup
title="Review before submitting"
description="One last look at your CommunityRule before you complete. Submit when you're ready."
justification={isMdOrLarger ? "center" : "left"}
size={isMdOrLarger ? "L" : "M"}
/>
{/* Content area: summary or checklist can be added per Figma */}
</div>
</div>
);
}
+34
View File
@@ -0,0 +1,34 @@
"use client";
import HeaderLockup from "../../components/type/HeaderLockup";
import RuleCard from "../../components/cards/RuleCard";
/** Mid-flow review step (after upload, before compact-cards). */
export default function ReviewPage() {
return (
<div className="w-full max-w-[1280px] shrink-0 px-5 md:px-16">
<div className="flex w-full flex-col gap-4 min-w-0 sm:grid sm:grid-cols-2 sm:gap-12">
<div className="min-w-0">
<HeaderLockup
title="Your community is added - congrats!"
description="In the next section, we'll go through membership, decision-making, conflict resolution, and community values and create a custom operating manual for your organization based on the specifics you just shared."
justification="left"
size="L"
/>
</div>
<div className="min-w-0 w-full">
<RuleCard
title="Mutual Aid Mondays"
description="Mutual Aid Monday is a grassroots community in Denver, founded in November 2020 by Kelsang Virya, dedicated to supporting neighbors experiencing homelessness."
size="L"
expanded={false}
backgroundColor="bg-[#c9fef9]"
logoUrl="/assets/Vector_MutualAid.svg"
logoAlt="Mutual Aid Mondays"
className="rounded-[16px]"
/>
</div>
</div>
</div>
);
}