Skip to content

Commit

Permalink
[#123] style: Move darkmode css
Browse files Browse the repository at this point in the history
  • Loading branch information
rosieyeon committed Feb 17, 2022
1 parent 979aa42 commit 6e07939
Show file tree
Hide file tree
Showing 109 changed files with 212 additions and 2,339 deletions.
18 changes: 9 additions & 9 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React from 'react';
// import { useNavigate } from "react-router-dom";
// import { useState } from "react/cjs/react.development";
import Navbar from './components/navbar';
import NavbarLanding from './components/navbarLanding';
import isLogin from './utils/isLogin';
import './statics/css/main.css';
import { Outlet } from 'react-router-dom';
import React from "react";
import Navbar from "./components/navbar";
import NavbarLanding from "./components/navbarLanding";
import isLogin from "./utils/isLogin";
import { Outlet } from "react-router-dom";
import Footer from "./components/footer";
import "./statics/css/darkUI.css";

function App() {
console.log(`
Expand All @@ -19,11 +18,12 @@ function App() {
dP
`);
return (
<div>
<div className="main">
{isLogin() && <Navbar sticky="top" />}
{!isLogin() && <NavbarLanding sticky="top" />}
<p>Landing Page</p>
<Outlet />
<Footer />
</div>
);
}
Expand Down
11 changes: 11 additions & 0 deletions src/components/footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import "../statics/css/Layout/footer.css";

export default function Footer() {
return (
<footer className="footer">
<div className="footer__contents">
<h2 className="footer__title">this is a footer</h2>
</div>
</footer>
);
}
21 changes: 21 additions & 0 deletions src/statics/css/Layout/footer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/statics/css/Layout/footer.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions src/statics/css/Todo/todo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/Todo/todo.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions src/statics/css/Todo/todoCreate.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/Todo/todoCreate.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions src/statics/css/Todo/todoItem.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/Todo/todoItem.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions src/statics/css/Todo/todoList.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/Todo/todoList.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions src/statics/css/applicationModal.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/applicationModal.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions src/statics/css/calendar.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/calendar.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e07939

Please sign in to comment.