8000 About page by jsouliss · Pull Request #18 · jsouliss/genesis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

About page #18

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 10 commits into from
Aug 29, 2024
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
Empty file added .github/workflows/deploy.yml
Empty file.
70 changes: 0 additions & 70 deletions REACTREADME.md

This file was deleted.

14 changes: 14 additions & 0 deletions appsec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 0.0
os: linux
files:
- source: /
destination: /var/www/gsoulis.blog
hooks:
AfterInstall:
- location: scripts/install_dependencies.sh
timeout: 300
runas: root
ApplicationStart:
- location: scripts/start_server.sh
timeout: 300
runas: root
3 changes: 3 additions & 0 deletions install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/zsh
sudo apt-get update
sudo apt-get install -y nginx
39 changes: 39 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@testing-library/user-event": "^13.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.1",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
Expand Down
17 changes: 15 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
html, body {
display: flex;
flex-direction: column;
width: 100%;
height: 100vh;
height: 100%;
margin: 0;
padding: 0;
background-color: #282A36;
overflow: hidden;
}

.App {
display: flex;
flex-direction: column;
min-height: 100vh;
}

.content {
flex: 1;
}

@font-face {
Expand All @@ -18,4 +31,4 @@ html, body {
src: url("/src/assets/fonts/OldeEnglish.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
}
26 changes: 24 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
import './App.css';
import "./App.css";
import Home from "./pages/Home";
import About from "./pages/About";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Footer from "./components/Footer";
import Navbar from "./components/Navbar";
import BG_Square_2 from "./svg/BG_Square_2";
import BG_Square from "./svg/BG_Square";
import "./styles/component_styles/BG-Square.css";

function App() {
return (
<div className="App">
<Home/>
<Router>
<Navbar />
<div className={"bg-square-top"}>
<BG_Square />
</div>
<div className={"content"}>
<Routes>
<Route path={"/"} element={<Home />} />
<Route path={"/about"} element={<About />} />
</Routes>
</div>
</Router>
<div className={"bg-square-bottom"}>
<BG_Square_2 />
</div>
<Footer />
</div>
);
}
Expand Down
8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

66 changes: 0 additions & 66 deletions src/components/Body.js

This file was deleted.

28 changes: 28 additions & 0 deletions src/components/ContactInfo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from "react";
import "../styles/component_styles/ContactInfo.css";

const ContactInfo = ({ icon, text, href, isLink }) => {
return (
<div className="horizontal-align">
<img
src={icon}
alt={`${text} Icon`}
className={`${text.toLowerCase()}-icon`}
/>
{isLink ? (
<a
href={href}
target="_blank"
rel="noopener noreferrer"
className={`${text.toLowerCase()}-link`}
>
{text}
</a>
) : (
<span className={"email-text"}>{text}</span>
)}
</div>
);
};

export default ContactInfo;
Loading
0