diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90398f9e..91a2bc29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: '18' - name: Install pnpm run: npm install -g pnpm@7.28.0 diff --git a/src/pages/about.tsx b/src/pages/about.tsx index 1c484b95..5557da35 100644 --- a/src/pages/about.tsx +++ b/src/pages/about.tsx @@ -44,6 +44,7 @@ export const getStaticProps = async () => { aboutInfo, memberInfo, }, + revalidate: 120, }; }; diff --git a/src/views/AboutPage/components/Banner/index.tsx b/src/views/AboutPage/components/Banner/index.tsx index 62a95478..b09548c9 100644 --- a/src/views/AboutPage/components/Banner/index.tsx +++ b/src/views/AboutPage/components/Banner/index.tsx @@ -1,3 +1,4 @@ +import Image from 'next/image'; import * as S from './style'; interface BannerProps { @@ -8,7 +9,19 @@ interface BannerProps { const Banner = (props: BannerProps) => { const { imageSrc } = props; - return ; + return ( + + SOPT banner + + ); }; export default Banner; diff --git a/src/views/AboutPage/components/Banner/style.ts b/src/views/AboutPage/components/Banner/style.ts index eff36e4e..e785c8ab 100644 --- a/src/views/AboutPage/components/Banner/style.ts +++ b/src/views/AboutPage/components/Banner/style.ts @@ -1,10 +1,11 @@ import styled from '@emotion/styled'; -export const Banner = styled.div<{ src: string }>` +export const Banner = styled.div` width: 100vw; max-height: 630px; height: calc(376px + 13vw); - background: center / cover no-repeat url(${({ src }) => src}); + position: relative; + overflow: hidden; /* 태블릿 뷰 */ @media (max-width: 48rem) {