feat: 글 링크 추가

This commit is contained in:
minwucho 2024-07-15 16:05:09 +09:00
parent bcf3e934c1
commit fa076c2859
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import styles from './ArticleLink.module.css';
export default function ArticleLink() {
return (
<div className={styles.articleLink}>
<span className={styles.note}>공지사항</span>
<span className={styles.date}>07-12 14:34</span>
</div>
);
}

View File

@ -0,0 +1,25 @@
.articleLink {
border-radius: 8px;
width: 820px;
display: flex;
justify-content: space-between;
box-sizing: border-box;
padding: 16px 20px;
}
.articleLink:hover {
background-color: var(--background-secondary);
}
.note {
font-size: 20px;
line-height: 1.2;
font-weight: 400;
}
.date {
font-size: 14px;
line-height: 1.4;
font-weight: 400;
color: var(--text-color-secondary);
}

View File

@ -0,0 +1 @@
export { default as ArticleLink } from './ArticleLink';