Skip to content

Commit 36b45dc

Browse files
committed
임시 메인 디자인 설정
1 parent 4f4da56 commit 36b45dc

File tree

3 files changed

+18
-31
lines changed

3 files changed

+18
-31
lines changed

frontend/components/service/Home/MainContact.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ const ContactListItem = styled.li`
1717
const ContactListLabel = styled.span`
1818
font-weight: bold;
1919
display: inline-block;
20-
margin-right: 0.25rem;
20+
margin-right: 0.5rem;
21+
vertical-align: middle;
22+
`
23+
24+
const MailLink = styled.a`
25+
color: ${(props) => props.theme.colors.blue0};
2126
`
2227

2328
const MainSlogan = () => {
@@ -33,17 +38,17 @@ const MainSlogan = () => {
3338
<ContactList>
3439
<ContactListItem>
3540
<ContactListLabel>{t('label:email')}</ContactListLabel>
36-
<a href={`mailto:${t('label:contact.email')}`}>
41+
<MailLink href={`mailto:${t('label:contact.email')}`}>
3742
{t('label:contact.email')}
38-
</a>
43+
</MailLink>
3944
</ContactListItem>
4045
<ContactListItem>
4146
<ContactListLabel>
4247
{t('label:sponsor')}
4348
</ContactListLabel>
44-
<a href={`mailto:${t('label:contact.sponsor')}`}>
49+
<MailLink href={`mailto:${t('label:contact.sponsor')}`}>
4550
{t('label:contact.sponsor')}
46-
</a>
51+
</MailLink>
4752
</ContactListItem>
4853
</ContactList>
4954
</Content>

frontend/components/service/Home/MainIdentity.tsx

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ const MainTheme = styled.div`
1010

1111
const Window = styled.div`
1212
position: absolute;
13-
left: 20%;
14-
right: 20%;
13+
left: 25%;
14+
right: 25%;
1515
top: 50%;
1616
transform: translateY(-50%);
1717
border: 2px solid ${(props) => props.theme.colors.white};
1818
padding: 2rem 4rem;
1919
${media.mobile(`
2020
left: 10%;
2121
right: 10%;
22+
padding: 1rem 2rem;
2223
`)}
2324
2425
&:after {
@@ -57,15 +58,6 @@ const WindowButton = styled.div`
5758
}
5859
`
5960

60-
const typing = keyframes`
61-
0% {
62-
width: 0;
63-
}
64-
100% {
65-
width: 100%;
66-
}
67-
`
68-
6961
const TitleContainer = styled.div`
7062
margin-top: 4rem;
7163
overflow: hidden;
@@ -77,25 +69,15 @@ const Title = styled.div`
7769
display: inline-block;
7870
color: ${(props) => props.color || props.theme.colors.white};
7971
white-space: nowrap;
80-
animation: ${typing} 5s linear;
81-
animation-fill-mode: both;
82-
&:nth-child(2) {
83-
animation-delay: 2s;
84-
}
85-
&:nth-child(3) {
86-
animation-delay: 4s;
87-
}
72+
${media.mobile(`
73+
font-size: 3rem;
74+
`)}
8875
`
8976

9077
const MainText = styled.div`
9178
font-size: 1.7rem;
9279
font-weight: normal;
93-
margin-top: 2rem;
94-
margin-left: 12rem;
95-
${media.mobile(`
96-
margin-top: 3rem;
97-
margin-left: 6rem;
98-
`)}
80+
margin-top: 3rem;
9981
`
10082

10183
const MainIdentity = () => {

frontend/components/service/Home/MainTalkList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const MainTalkList = () => {
1414
return (
1515
<div>
1616
<Heading2 useGradient={true}>{t('label:talk')}</Heading2>
17-
<Content>발표목록</Content>
17+
<Content></Content>
1818
</div>
1919
)
2020
}

0 commit comments

Comments
 (0)