import { Link } from "react-router-dom"; import { TECH_LOG_FEATURE_ID } from "../../../application/tech-log-feature-input.ts"; import { useApplication } from "../../../../../presentation/providers/application-provider.tsx"; import { RegisteredNotFoundRoute, useRouteInput, } from "../../../../../presentation/routes/route-input.tsx"; import { ProjectPageHeader } from "../components/project-page-header.tsx"; export function ProjectOverviewPage() { const { params } = useRouteInput<"TECH_LOG_PROJECT">(); const slug = typeof params.slug === "string" ? params.slug : ""; const { publicContent } = useApplication().features.get(TECH_LOG_FEATURE_ID); const project = publicContent.getProject(slug); if (!project) return ; const records = publicContent.getProjectRecords(slug); const decisions = publicContent.getProjectDecisions(slug); const activity = publicContent.getProjectActivity(slug); return ( Thesis 프로젝트가 지키는 기준 {project.thesis} 단계 {project.stage} 현재 목표 {project.currentGoal} 다음 작업 {project.nextStep} Scope 연결된 작업 맥락 {records.length} 공개 기록 {decisions.length} 설계 결정 {activity.length} 활동 기록 주요 주제 {project.topics.map((topic) => ( {topic} ))} ); }
Thesis
{project.thesis}
Scope