Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import styled from '@emotion/styled';
import { keyframes } from '@emotion/react';
import { m } from 'framer-motion';

import { LANDING_COLORS, mq_desktop, mq_lg } from '../../constants';

Expand Down Expand Up @@ -63,7 +64,7 @@ const Eyebrow = styled.span`
}
`;

const Title = styled.h1`
const Title = styled(m.h1)`
display: flex;
flex-direction: column;
align-items: center;
Expand Down
6 changes: 5 additions & 1 deletion apps/admin/src/pages/Landing/components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ const Hero = () => {
<Styled.Container>
<Styled.TextBlock>
<Styled.Eyebrow>{LANDING_COPY.hero.eyebrow}</Styled.Eyebrow>
<Styled.Title>
<Styled.Title
initial={{ opacity: 0, y: 50 }}
animate={{ opacity: 1, y: 0 }}
transition={{ type: 'spring', duration: 1.2, bounce: 0.2, delay: 0.12 }}
>
<span>{LANDING_COPY.hero.titleLead}</span>
<Styled.TitleRow>
{LANDING_COPY.hero.titleTrail}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Problem = () => {
<Styled.FloatingLogo key={index} {...pos} src={src} />
))}
</Styled.FloatingLayer>
<Styled.Title>{isDesktop ? LANDING_COPY.problem.title : LANDING_COPY.problem.titleMobile}</Styled.Title>
<Styled.Title>{LANDING_COPY.problem.title}</Styled.Title>
</Styled.Section>
);
};
Expand Down
3 changes: 1 addition & 2 deletions apps/admin/src/pages/Landing/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export const LANDING_COPY = {
titleTrail: '올인원 플랫폼,',
},
problem: {
title: '공연 준비,\n아직도 수작업으로 하시나요?',
titleMobile: '공연 준비,\n아직도 수작업으로\n하시나요?',
title: '공연 준비,\n아직도 수작업으로\n하시나요?',
},
solutionFeatures: {
eyebrow: '공연 등록부터 정산까지',
Expand Down
Loading