Skip to content

Commit

Permalink
Merge pull request #18 from TartejBrothers/Changes
Browse files Browse the repository at this point in the history
Added Od page
  • Loading branch information
TartejBrothers authored Jan 10, 2024
2 parents 3dbb7e8 + 8f75e81 commit e088775
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import HomePage from "./components/home";
import ProjectPage from "./components/project";
import OdPage from "./components/od";
import { BrowserRouter as Router, Route, Routes } from "react-router-dom";

function App() {
Expand All @@ -10,6 +11,7 @@ function App() {
<Route path="/" element={<HomePage />} />
<Route path="/project" element={<ProjectPage />} />
<Route path="/home" element={<HomePage />} />
<Route path="/od" element={<OdPage />} />
</Routes>
</Router>
</div>
Expand Down
7 changes: 7 additions & 0 deletions src/components/od.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";
import "./styles/global.css";
import "./styles/od.css";

export default function OdPage() {
return <div className="odcontent"></div>;
}
4 changes: 4 additions & 0 deletions src/components/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
html {
overflow-x: hidden;
color: #fff;
background-color: #222831 !important;
}
html::-webkit-scrollbar {
display: none;
}
a {
text-decoration: none;
Expand Down
Empty file added src/components/styles/od.css
Empty file.
4 changes: 3 additions & 1 deletion src/components/styles/project.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
html {
.projectcontent {
background-image: url("../images/projectpage/Background.png");
padding: 20px;
min-height: 100vh;
}

.projectbody {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit e088775

Please sign in to comment.