Skip to content

Commit

Permalink
test: LCP delay
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwww committed Apr 21, 2024
1 parent df4b773 commit 440a615
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tempFrontDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
aws s3 sync ./front/dist s3://$BUCKET_NAME --exclude '*' --include '*.svg.gz' --content-encoding 'gzip' --content-type 'image/svg+xml'
aws s3 sync ./front/dist s3://$BUCKET_NAME --exclude '*' --include '*.ico.gz' --content-encoding 'gzip' --content-type 'image/x-icon'
aws s3 sync ./front/dist s3://$BUCKET_NAME --exclude '*' --include '*.ttf.gz' --content-encoding 'gzip' --content-type 'font/ttf'
aws s3 sync ./front/dist s3://$BUCKET_NAME --exclude '*' --include '*.woff.gz' --content-encoding 'gzip' --content-type 'font/woff'
aws s3 sync ./front/dist s3://$BUCKET_NAME --exclude '*' --include '*.mp3.gz' --content-encoding 'gzip' --content-type 'audio/mpeg'
- name: CloudFront Invalidation
Expand Down
4 changes: 2 additions & 2 deletions front/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<!-- font preload -->
<link
<!-- <link
rel="preload"
href="/fonts/KingSejongInstitue-Regular.woff2"
as="font"
type="font/woff2"
crossorigin
/>
/> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="스노우볼 속 내 마음" />
<meta property="og:url" content="https://mysnowball.kr" />
Expand Down
24 changes: 12 additions & 12 deletions front/src/pages/Intro/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import mockData from '@mock';
import IntroButtonBox from './IntroButtonBox';
import MsgBox from './MsgBox';

const TitleDiv = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
height: 10rem;
text-align: center;
color: ${props => props.theme.colors['--primary-yellow']};
font: ${props => props.theme.font['--normal-title-font']};
`;
// const TitleDiv = styled.div`
// display: flex;
// flex-direction: column;
// justify-content: center;
// width: 100%;
// height: 10rem;
// text-align: center;
// color: ${props => props.theme.colors['--primary-yellow']};
// font: ${props => props.theme.font['--normal-title-font']};
// `;

const Intro = () => {
const navigate = useNav();
Expand All @@ -34,9 +34,9 @@ const Intro = () => {
<>
<SnowGlobeCanvas snowBallData={mockData.snowball_data} />
<UIContainer>
<TitleDiv>
{/* <TitleDiv>
<span>스노우볼 속 내 마음</span>
</TitleDiv>
</TitleDiv> */}
<MsgBox />
<IntroButtonBox />
</UIContainer>
Expand Down

0 comments on commit 440a615

Please sign in to comment.