Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
6 changes: 6 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"baseUrl": "src"
},
"include": ["src"]
}
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "01.junglecinema",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"styled-components": "^6.0.7",
"web-vitals": "^2.1.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
3 changes: 3 additions & 0 deletions public/footerImgs/icon-facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/footerImgs/icon-instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/footerImgs/icon-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/footerImgs/jungle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Web site created using create-react-app"
/>

<title>01.정글 시네마</title>
</head>
<body>
<div id="root"></div>
</body>
</html>
14 changes: 14 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Home from "./page/Home";

import GlobalStyle from "./styles/GlobalStyle";

function App() {
return (
<>
<GlobalStyle />
<Home />
</>
);
}

export default App;
Binary file added src/assets/fonts/NotoSansKRBlack.otf
Binary file not shown.
Binary file added src/assets/fonts/NotoSansKRBold.otf
Binary file not shown.
Binary file added src/assets/fonts/NotoSansKRMedium.otf
Binary file not shown.
Binary file added src/assets/fonts/NotoSansKRRegular.otf
Binary file not shown.
Binary file added src/assets/fonts/RobotoRegular.ttf
Binary file not shown.
13 changes: 13 additions & 0 deletions src/assets/fonts/fontComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import NotoSansKRBlack from "../fonts/NotoSansKRBlack.otf";
import NotoSansKRBold from "../fonts/NotoSansKRBold.otf";
import NotoSansKRMedium from "../fonts/NotoSansKRMedium.otf";
import NotoSansKRRegular from "../fonts/NotoSansKRRegular.otf";
import RobotoRegular from "../fonts/RobotoRegular.ttf";

export {
NotoSansKRBlack,
NotoSansKRBold,
NotoSansKRMedium,
NotoSansKRRegular,
RobotoRegular,
};
74 changes: 74 additions & 0 deletions src/components/footer/Footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* footer */
.footer-container {
width: 100%;
padding: 53px 0 38px;

background: var(--gray-6);
}
.inner-container {
width: 70%;
margin: auto;
}

/* title, social */
.footer-header {
display: flex;
justify-content: space-between;

padding-bottom: 42px;
margin-bottom: 36px;
border-bottom: 1px solid var(--input-box);
}
.footer-title {
font-size: 22px;
font-family: "Roboto";
font-weight: 700;
line-height: 26px;
}
.social-group {
display: flex;
gap: 22px;
}

/* 회사정보 */
.company {
display: flex;
justify-content: space-between;
align-items: center;
gap: 50px;

color: var(--gray-2);

font-size: 14px;
font-family: "Noto-400";
line-height: 20px;
}
.company > dl > dt,
.company > dl > dd {
display: inline-block;
}
.company > dl > dt {
font-family: "Noto-700";
margin-right: 5px;
}
.company .company-name {
margin: 0;
}
.company .company-name::after {
content: "|";

margin: 0 5px 0 7px;

font-family: "Noto-400";
}
.company .company-info {
font-family: "Noto-400";
margin: 0;
}
.line::after {
content: "|";

margin: 0 5px;

font-family: "Noto-400";
}
57 changes: 57 additions & 0 deletions src/components/footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import React from "react";

import "./Footer.css";

const Footer = () => {
return (
<footer className="footer-container">
<div className="inner-container">
{/* 회사 이름 , 소셜미디어 링크 */}
<header className="footer-header">
<h2 className="footer-title">Jungle Cinema</h2>
{/* 소셜미디어 링크 */}
<ul className="social-group" aria-labelledby="소셜 링크 그룹">
<li>
<a href="#!" aria-label="트위터" role="button">
<img src="footerImgs/icon-twitter.svg" alt="트위터 이미지" />
</a>
</li>
<li>
<a href="#!" aria-label="인스타그램" role="button">
<img
src="footerImgs/icon-instagram.svg"
alt="인스타그램 이미지"
/>
</a>
</li>
<li>
<a href="#!" aria-label="페이스북" role="button">
<img src="footerImgs/icon-facebook.svg" alt="페이스북 이미지" />
</a>
</li>
</ul>
</header>
{/* 회사 정보 */}
<article className="company">
<h2 className="a11y-hidden">정글 시네마 회사 정보</h2>
<dl>
<dt className="company-name">(주) 정글 시네마</dt>
<dt>대표</dt>
<dd className="line">라이언</dd>
<dt>사업자 번호</dt>
<dd className="line">000-0000-0000</dd>
<dt className="line company-info">광고 영화 및 비디오물 제작업</dt>
<dt>주소</dt>
<dd>
<address>서울특별시</address>
</dd>
</dl>

<img src="footerImgs/jungle.png" alt="The Jungle logo" />
</article>
</div>
</footer>
);
};

export default Footer;
Loading