Skip to content

Commit

Permalink
🔥 Removed unnecessary comments and files
Browse files Browse the repository at this point in the history
  • Loading branch information
max-programming committed Oct 29, 2020
1 parent 9833c64 commit 20378e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 94 deletions.
55 changes: 1 addition & 54 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,19 @@ import { MainContext } from "./components/context/MainContext";
import AddTodo from "./components/AddTodo";
import Todos from "./components/Todos";
import Settings from "./components/pages/Settings";
// import ThemeSwitcher from "./components/ThemeSwitcher";
import PersistentDrawerLeft from "./components/PersistentDrawerLeft";
// import { Link } from "@material-ui/core";
// import YouTubeIcon from "@material-ui/icons/YouTube";
// import TwitterIcon from "@material-ui/icons/Twitter";
// import InstagramIcon from "@material-ui/icons/Instagram";
import { Route } from "wouter";
import About from "./components/pages/About";

function App() {
const { addTodo } = useContext(MainContext);

// const channelLink = {
// float: "right",
// fontWeight: "bold",
// fontSize: 15,
// fontFamily: "monospace",
// paddingRight: 7,
// color: "#2962FF",
// };

return (
<div style={{ height: "100vh" }}>
<PersistentDrawerLeft />
<Route path="/">
{/* <main style={{ height: "100vh" }}> */}
{/* <Link
href="https://usman2102.hashnode.dev/"
target="_blank"
style={channelLink}
>
Max Programming
</Link>
<br></br>
<Link
href="https://youtube.com/c/MaxProgramming"
target="_blank"
color="error"
style={channelLink}
>
<YouTubeIcon style={{ color: "#FF0000" }} fontSize="large" />
</Link>
<Link
href="https://twitter.com/MaxProgramming1"
target="_blank"
color="error"
style={channelLink}
>
<TwitterIcon style={{ color: "#1CA0F2" }} fontSize="large" />
</Link>
<Link
href="https://www.instagram.com/usmansabuwala7/"
target="_blank"
color="error"
style={channelLink}
>
<InstagramIcon style={{ color: "#D42874" }} fontSize="large" />
</Link> */}

<AddTodo addTodo={addTodo} />

<Todos />
{/* </main> */}
</Route>
<Route path="/settings">
<Settings />
Expand Down
40 changes: 0 additions & 40 deletions src/components/ThemeSwitcher.jsx

This file was deleted.

0 comments on commit 20378e7

Please sign in to comment.