Merge pull request #11 from TeamBNBN/fe/articleLink

feat: 글 링크 추가
This commit is contained in:
Jo Hyeonsoo 2024-07-15 17:38:54 +09:00 committed by GitHub
commit 8b51cff9df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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';