-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from dbstjs95/dev
Dev
- Loading branch information
Showing
29 changed files
with
363 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,37 @@ | ||
import React from 'react'; | ||
import logo from '../images/logo.png'; | ||
import '../css/Footer.css'; | ||
import styled from 'styled-components'; | ||
|
||
const footer = () => { | ||
const FooterContainer = styled.div` | ||
text-align: center; | ||
background: #343a40; | ||
color: white; | ||
align-items: center; | ||
padding: 20px 30px; | ||
> ul { | ||
list-style: none; | ||
} | ||
`; | ||
|
||
const Footer = () => { | ||
const thisYear = () => { | ||
const year = new Date().getFullYear(); | ||
return year; | ||
}; | ||
|
||
return ( | ||
<div className="footer" style={{ height: '85px' }}> | ||
<FooterContainer className="footer"> | ||
<p> | ||
Copyright © <span>{thisYear()}</span> | ||
</p> | ||
<ul className="footer-info"> | ||
{/* <li>TeamLeader : 오상민</li> | ||
<li>Back-End : 오상민</li> | ||
<li>Back-End : 유지훈</li> | ||
<li>Front-End : 최윤선</li> | ||
<li>Front-End : 박제곤</li> */} | ||
<li>Front-End : 박제곤</li> | ||
</ul> | ||
</div> | ||
</FooterContainer> | ||
); | ||
}; | ||
|
||
export default footer; | ||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,6 @@ function Setting() { | |
> | ||
삭제 | ||
</li> | ||
<li>비공개 전환</li> | ||
</> | ||
) : ( | ||
<li>신고하기</li> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
.footer { | ||
position: fixed; | ||
/* position: fixed; | ||
bottom: 0; */ | ||
/* position: relative; | ||
transform: translateY(-100%); */ | ||
/* position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
height: 5rem; */ | ||
text-align: center; | ||
background: #343a40; | ||
color: white; | ||
align-items: center; | ||
width: 100%; | ||
padding: 20px 30px; | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import { createGlobalStyle } from 'styled-components'; | ||
import EliceDigitalCodingRegular from './EliceDigitalCoding_Regular.woff'; | ||
import EliceDigitalCodingBold from './EliceDigitalCoding_Bold.woff'; | ||
import 다이어리 from './다이어리.woff'; | ||
import 강원도Bold from './강원도Bold.woff'; | ||
import 강원도Light from './강원도Light.woff'; | ||
import gang2 from './gang2.woff'; | ||
import 순천B from './순천B.woff'; | ||
import 순천R from './순천R.woff'; | ||
|
||
export default createGlobalStyle` | ||
@font-face { | ||
font-family: 'Elice Regular'; | ||
src: local('Elice Regular'), | ||
url(${EliceDigitalCodingRegular}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: 'Elice Bold'; | ||
src: local('Elice Bold'), | ||
url(${EliceDigitalCodingBold}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: '다이어리'; | ||
src: local('다이어리'), | ||
url(${다이어리}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: '강원도Bold'; | ||
src: local('강원도Bold'), | ||
url(${강원도Bold}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: 'gang2'; | ||
src: local('gang2'), | ||
url(${gang2}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: '강원도Light'; | ||
src: local('강원도Light'), | ||
url(${강원도Light}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: '순천B'; | ||
src: local('순천B'), | ||
url(${순천B}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: '순천R'; | ||
src: local('순천R'), | ||
url(${순천R}) format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
`; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { Outlet } from 'react-router-dom'; | ||
import Header from '../component/Header'; | ||
import Footer from '../component/Footer'; | ||
import styled from 'styled-components'; | ||
import GlobalFonts from '../fonts/fonts'; | ||
|
||
const EntireContainer = styled.div` | ||
* { | ||
box-sizing: border-box; | ||
word-break: keep-all; | ||
font-family: 'Elice Bold'; | ||
font-family: '순천B'; | ||
} | ||
`; | ||
|
||
const BodyContainer = styled.div` | ||
* { | ||
margin: 0; | ||
font-family: 'Elice Regular'; | ||
font-family: '다이어리'; | ||
font-family: '순천R'; | ||
} | ||
`; | ||
|
||
function Outline() { | ||
return ( | ||
<> | ||
<GlobalFonts /> | ||
<EntireContainer> | ||
<Header /> | ||
<BodyContainer id="content-wrap"> | ||
<Outlet /> | ||
</BodyContainer> | ||
<Footer /> | ||
</EntireContainer> | ||
</> | ||
); | ||
} | ||
|
||
export default Outline; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.