Merge pull request #13 from TeamBNBN/fe/articleBoard

[Front-End] feat: 게시판 추가
This commit is contained in:
Jo Hyeonsoo 2024-07-16 09:40:06 +09:00 committed by GitHub
commit 8b40da5382
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,19 @@
import { ArticleLink } from '../ArticleLink';
import styles from './ArticleBoard.module.css';
export default function ArticleBoard() {
return (
<div className={styles.articleBoard}>
<div className={styles.title}>공지사항</div>
<div className={styles.article}>
<ArticleLink />
<ArticleLink />
<ArticleLink />
<ArticleLink />
<ArticleLink />
<ArticleLink />
<ArticleLink />
</div>
</div>
);
}

View File

@ -0,0 +1,23 @@
.articleBoard {
width: 920px;
display: flex;
flex-direction: column;
gap: 24px;
align-items: flex-start;
}
.title {
width: 820px;
box-sizing: border-box;
padding: 0 20px;
font-size: 32px;
line-height: 1.2;
font-weight: 900;
}
.article {
display: flex;
flex-direction: column;
width: 100%;
gap: 12px;
}

View File

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

View File

@ -1,6 +1,6 @@
.articleLink { .articleLink {
border-radius: 8px; border-radius: 8px;
width: 820px; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
box-sizing: border-box; box-sizing: border-box;