Skip to content

Commit

Permalink
Design: 배경 변경 및 font크기 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
navyjeongs committed Nov 18, 2023
1 parent 76a3b5f commit 42ad299
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/components/Main/NoAuthMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Image from 'next/image';
const NoAuthMain = () => {
return (
<Main>
<BgMain />
<Container>
<LogoContainer>
<LogoImage src='/img/logo/logo-l.png' width='584' height='101' alt='logo' />
Expand Down Expand Up @@ -32,13 +33,21 @@ const Main = styled.div`
flex-direction: column;
width: 100%;
height: 100vh;
`;

const BgMain = styled.div`
position: absolute;
width: 100%;
height: 100vh;
background: url('/img/main/main.png');
background-size: 100% 100vh;
background-repeat: no-repeat;
opacity: 0.8;
z-index: -5;
`;

const Container = styled.div`
color: white;
color: black;
height: 50rem;
width: 60rem;
margin: 0 auto;
Expand All @@ -58,7 +67,8 @@ const Title = styled.h2`

const ContentText = styled.div`
text-align: center;
font-size: 2rem;
font-size: 2.2rem;
font-weight: 700;
`;
const KakaoLogin = styled.a``;

Expand All @@ -69,6 +79,7 @@ const Footer = styled.div`
margin: 10rem auto 0 auto;
font-size: 2rem;
text-align: center;
font-weight: 700;
`;

export default NoAuthMain;

0 comments on commit 42ad299

Please sign in to comment.