From 440a61594c75c0e4f14b2907647a19e5d1e4c12c Mon Sep 17 00:00:00 2001 From: kcwww Date: Sun, 21 Apr 2024 14:49:03 +0900 Subject: [PATCH] test: LCP delay --- .github/workflows/tempFrontDeploy.yml | 1 + front/index.html | 4 ++-- front/src/pages/Intro/Intro.tsx | 24 ++++++++++++------------ 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tempFrontDeploy.yml b/.github/workflows/tempFrontDeploy.yml index ac53630..95f79df 100644 --- a/.github/workflows/tempFrontDeploy.yml +++ b/.github/workflows/tempFrontDeploy.yml @@ -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 diff --git a/front/index.html b/front/index.html index 2121ab7..0b17fb7 100644 --- a/front/index.html +++ b/front/index.html @@ -4,13 +4,13 @@ - + /> --> diff --git a/front/src/pages/Intro/Intro.tsx b/front/src/pages/Intro/Intro.tsx index b574c73..9305587 100644 --- a/front/src/pages/Intro/Intro.tsx +++ b/front/src/pages/Intro/Intro.tsx @@ -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(); @@ -34,9 +34,9 @@ const Intro = () => { <> - + {/* 스노우볼 속 내 마음 - + */}