Skip to content

Commit

Permalink
#52 <feat> : AccordionMenu 컴포넌트 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
benidene committed Apr 17, 2024
1 parent caab781 commit 3e9eeda
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
15 changes: 15 additions & 0 deletions fe/src/app/_component/AccordionMenu.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { style } from "@vanilla-extract/css";

export const container = style({
display: 'flex',
flexDirection: 'row',
margin: '8px',
fontWeight: 500,
'@media': {
'(max-width: 1100px)': {
flexDirection: 'row',
margin: '8px',

}
}
})
20 changes: 20 additions & 0 deletions fe/src/app/_component/AccordionMenu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import * as styles from './AccordionMenu.css'

const AccordionMenu = () => {

return (
<div className={styles.container}>
<button >메뉴</button>
<div className="menu-content">
<ol>
<li>결제 수단 선택</li>
<li>결제 인증</li>
<li>요류 정보 알리기</li>
</ol>
</div>
</div>
);
};

export default AccordionMenu;
// className={styles.closeButton}

0 comments on commit 3e9eeda

Please sign in to comment.