Skip to content

Commit

Permalink
feat: 대문 페이지에 티켓 구매 버튼 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hanlee55 committed Jul 11, 2023
1 parent 2ffad4d commit 47414a9
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion components/main/Teaser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const TextBox = styled('div', {
height: 'calc(100vh - 80px)',

'@bp2': {
paddingTop: 220,
paddingTop: 70,
paddingLeft: 40,
paddingRight: 40,
},
Expand Down Expand Up @@ -41,12 +41,44 @@ const Location = styled('div', {
fontSize: 'inherit',
},
});

const Block = styled('div', {});

const LinkButton = styled('a', {
bodyText: 1,
width: '160px',
padding: '8px',
display: 'inline-block',
textAlign: 'center',
variants: {
reversal: {
true: {
color: '$backgroundPrimary',
backgroundColor: '$textPrimary',
},
false: {
color: '$textPrimary',
backgroundColor: '$backgroundPrimary',
},
},
},
});

const Teaser = () => {
return (
<TextBox>
<Title>{'다시, \n우리, \n파이썬'}</Title>
<Date>2023.08.11-13</Date>
<Location>COEX 그랜드볼룸 & 아셈볼룸</Location>
<Block css={{ marginTop: '16px' }}>
<LinkButton
target="_blank"
href="https://event-us.kr/pyconkr/event/65861"
reversal={true}
>
티켓 구매
</LinkButton>
</Block>
</TextBox>
);
};
Expand Down

0 comments on commit 47414a9

Please sign in to comment.