Roadmap: filter phases by focusedPhase
cgen-75a357c30bf34d7ebf5362ddb798e73d
This commit is contained in:
parent
5edc249fb6
commit
e24624377c
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ export default function Roadmap() {
|
|||
{/* Phases */}
|
||||
<section className="container mx-auto px-4 pb-8">
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
{["now","month1","month2","month3"].map((phase) => {
|
||||
{(focusedPhase ? [focusedPhase] : ["now","month1","month2","month3"]).map((phase) => {
|
||||
const Icon = PhaseIcon[phase] || Target;
|
||||
const items = QUESTS.filter((q) => q.phase === phase);
|
||||
const title = phase === "now" ? "Now" : phase === "month1" ? "Month 1" : phase === "month2" ? "Month 2" : "Month 3";
|
||||
|
|
|
|||
Loading…
Reference in a new issue