feat : 프로젝트 전반적인 커밋
SpecialSource Frontend (React) CD / deploy (push) Failing after 1m2s

This commit is contained in:
sungjin.choi committed 2026-11-17 10:21:33 +09:00
1 parent cfda95c1ba
commit a49df04adf
28 files changed
+734 -304

No files matched your search

@@ -0,0 +1,22 @@
import { POSTS } from "../mocks/posts";
import styles from "./bbs.module.css";
export default function PostDetail({ postId }: { postId: number }) {
const post = POSTS.find((p) => p.id === postId);
if (!post) return null;
return (
<>
<div className={styles.title}>{post.title}</div>
<div className={styles.sub}>
글쓴이 {post.author} · 조회 {post.views} · {post.date}
</div>
<hr className={styles.rule} />
<div className={styles.body}>{post.body}</div>
<hr className={styles.rule} />
<div className={styles.footer}>
<b>L</b>=목록으로 · <b>M</b>=메인메뉴
</div>
</>
);
}