fix: changelog 마크업 수정

This commit is contained in:
yoosangwook 2024-08-05 10:02:02 +09:00
parent 9dec61d05e
commit db040acf5a

View File

@ -13,6 +13,27 @@ export default function changelogPage() {
const users = await get('/api/user/find-all')
console.log(users)
}
const data = [
{
id: 1,
author: 'SWYOO',
contents: '버튼 정리(템플릿 적용)',
date: '2024.07.16',
},
{
id: 2,
author: 'SWYOO',
contents: 'README.md 파일 이미지 경로 수정',
date: '2024.07.17',
},
{
id: 3,
author: 'SWYOO',
contents: '',
date: '',
},
]
return (
<>
<Hero title="Change log" />
@ -25,16 +46,13 @@ export default function changelogPage() {
<TableColumn>CONTENTS</TableColumn>
</TableHeader>
<TableBody>
<TableRow key="2">
<TableCell>2024.07.17</TableCell>
<TableCell>SWYOO</TableCell>
<TableCell>` * README.md 파일 이미지 경로 수정 `</TableCell>
</TableRow>
<TableRow key="1">
<TableCell>2024.07.16</TableCell>
<TableCell>SWYOO</TableCell>
<TableCell>` * 버튼 정리(템플릿 적용) `</TableCell>
{data.map((item) => (
<TableRow key={item.id}>
<TableCell>{item.date}</TableCell>
<TableCell>{item.author}</TableCell>
<TableCell>{item.contents}</TableCell>
</TableRow>
))}
</TableBody>
</Table>
</div>