Skip to content

Commit b7198e6

Browse files
Update news 250110 (#4)
add news data add missing style (date at NewsCard)
1 parent 1405801 commit b7198e6

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

src/components/NewsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function NewsCard({ newsItem, onClick }: NewsCardProps) {
1616
<div className="flex flex-col space-y-4 m-4">
1717
<h2 className="text-lg font-bold text-highlight5">{newsItem.title}</h2>
1818
<div className="flex items-center justify-end text-sm text-gray-400">
19-
<FaCalendarDay />
19+
<FaCalendarDay className="mr-1" />
2020
<p>{newsItem.date}</p>
2121
</div>
2222
</div>

src/data/newsData.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import img_20240913 from '../images/news/20240913.jpg'
55
import img_20240919 from '../images/news/20240919.jpg'
66
import img_20240618 from '../images/news/20240618.jpg'
77
import img_20241030 from '../images/news/20241030.jpg'
8+
import img_20250110 from '../images/news/20250110.jpg'
89

910
export interface NewsItem {
1011
title: string
@@ -129,5 +130,18 @@ export const newsData: NewsData = {
129130
]
130131
}
131132
},
133+
{
134+
title: 'Advisory Committee Member Appointment for Korea-4GSR',
135+
imageSrc: img_20250110,
136+
date: '2025-01-10',
137+
content: {
138+
enUS: [
139+
`As of January 10th, 2025, Dr. Seok has been appointed as a member of the Architectural Technical Advisory Committee for the Multipurpose Synchrotron Radiation Accelerator (Korea-4GSR) Construction Project.`
140+
],
141+
koKR: [
142+
`석승욱 박사가 다목적방사광가속기 구축사업의 건축기술자문위원회 위원으로 위촉되었습니다.`
143+
]
144+
}
145+
}
132146
]
133147
}

src/images/news/20250110.jpg

352 KB
Loading

0 commit comments

Comments
 (0)