Skip to content

Commit

Permalink
Footer 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
junvhui committed Feb 22, 2024
1 parent 32093b4 commit 22f68d2
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
47 changes: 46 additions & 1 deletion src/Common/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react';
import styled from 'styled-components';

import logo from '../Assets/img/ground.png';

const Background = styled.div`
width: 100.5%;
margin-left: -4px;
Expand All @@ -13,8 +15,51 @@ const Background = styled.div`
background-color: #363636;
`;

const FooterWrap = styled.div`
width: 70%;
height: 6rem;
display: flex;
justify-content: left;
margin-left: 2rem;
flex-wrap: wrap;
overflow: visible;
position: relative;
margin-top: 5rem;
`;

const FooterTitle = styled.div`
width: 100%;
height: 2rem;
position: relative;
color: #3ea88f;
line-height: 1rem;
font-weight: 2000;
font-size: 2.4rem;
text-align: left;
overflow: visible;
font-family: 'ESAM';
`;

const FooterText = styled.div`
width: 100%;
position: relative;
color: #6a6a6a;
font-weight: 2000;
font-size: 1rem;
text-align: left;
overflow: visible;
`;

const Footer: React.FC = () => {
return <Background></Background>;
return (
<Background>
<FooterWrap>
<FooterTitle>킥오프</FooterTitle>
<FooterText>Copyright © 2024. KICK OFF All Rights Reserved.</FooterText>
<FooterText>[email protected]</FooterText>
</FooterWrap>
</Background>
);
};

export default Footer;
2 changes: 1 addition & 1 deletion src/GlobalStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const GlobalStyle = createGlobalStyle`
body{
background-color: #2f2f2f;
height: 140rem;
height: 100%;
}
`;
Expand Down
2 changes: 1 addition & 1 deletion src/MainPage/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const PostImage = styled.img`
@media (max-width: 600px) {
width: 100%;
height: 20rem;
height: 10rem;
}
`;

Expand Down

0 comments on commit 22f68d2

Please sign in to comment.