Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[#17] 제보사이트 - 디자인 적용 #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2022
Merged
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<html lang="ko-KR">
<head>
<meta charset="utf-8" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="'프로그래머스 JS 정답 통과기' 웹사이트입니다." />
<title>프로그래머스 JS 정답 통과기</title>
Expand Down
17 changes: 8 additions & 9 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import styled from "styled-components";

import Contents from "./Components/Contents";
import Router from "./Router";
import { ThemeProvider } from "styled-components";
import { theme } from "./style/theme";
import { GlobalStyle } from "./style/globalStyle";

export default function App() {
return (
<>
<Title>🤖 프로그래머스 JS 정답 통과기</Title>
<Contents />
</>
<ThemeProvider theme={theme}>
<GlobalStyle />
<Router />
</ThemeProvider>
);
}

const Title = styled.h1``;
33 changes: 0 additions & 33 deletions src/Components/Contents.js

This file was deleted.

120 changes: 0 additions & 120 deletions src/Components/Tabs/ErrorReport.js

This file was deleted.

5 changes: 0 additions & 5 deletions src/Components/Tabs/Introduction.js

This file was deleted.

91 changes: 0 additions & 91 deletions src/Components/Tabs/SolutionReport.js

This file was deleted.

27 changes: 0 additions & 27 deletions src/Components/Tabs/Style/StyledComponent.js

This file was deleted.

16 changes: 16 additions & 0 deletions src/Router.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Introduction from "./pages/introductionPage/Introduction";
import ErrorReport from "./pages/errorReportPage/ErrorReport";
import SolutionReport from "./pages/solutionReportPage/SolutionReport";

export default function Router() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<Introduction />}></Route>
<Route path="/error-report" element={<ErrorReport />}></Route>
<Route path="/solution-report" element={<SolutionReport />}></Route>
</Routes>
</BrowserRouter>
);
}
Loading