diff --git a/client/src/css/App.css b/client/src/css/App.css index a31bbdc..b881371 100644 --- a/client/src/css/App.css +++ b/client/src/css/App.css @@ -1,7 +1,9 @@ header { height: 4vh; width: 100%; - background-color: var(--cyan); + /* background-color: var(--cyan); */ + background-color: var(--orange); + /* background-color: #BE3144; */ text-align: center; font-size: calc(7px + 2vmin); color: var(--black) @@ -12,7 +14,7 @@ footer { bottom: 0; min-height: 10vh; width: 100%; - background-color: var(--dark-gray); + background-color: var(--orange); align-items: center; } @@ -39,9 +41,9 @@ footer { } .navlink.active { - color: var(--primary-color); + color: var(--medium-gray); border-bottom: 5px solid var(--dark-gray); - background-color: var(--shadow); + /* background-color: var(--shadow); */ } .background { @@ -50,7 +52,7 @@ footer { } .foreground { - background-color: var(--lighter-gray); + background-color: var(--uncertain-gray); height: inherit; /* width: 90vw; */ margin-left: 15%; @@ -67,6 +69,9 @@ footer { /* margin-left: 1vw; */ position: relative; left: 5%; + background-color: var(--light-orange); + border-radius: 10px; + border: 1px solid var(--dark-gray); } .user-controls { diff --git a/client/src/css/Home.css b/client/src/css/Home.css index b4262c2..f2477de 100644 --- a/client/src/css/Home.css +++ b/client/src/css/Home.css @@ -14,10 +14,29 @@ color: white; } */ +.home { + /* left: 50%; */ + /* transform: translate(1%, 0%); */ +} + p { text-align: center; /* background-color: orange; */ max-width: 40vw; margin: auto; margin-top: 15px; +} + +.card { + background-color: var(--primary-color); + padding: 5px; + margin: auto; + margin-top: 2vh; + margin-bottom: 2vh; + width: 75%; + border-radius: 35px; +} + +h3 { + margin-top: 1vh; } \ No newline at end of file diff --git a/client/src/css/index.css b/client/src/css/index.css index 4674fff..e5fc1c3 100644 --- a/client/src/css/index.css +++ b/client/src/css/index.css @@ -1,12 +1,10 @@ :root { - --discord-color: rgb(88, 101, 242); - --discord-color-darker: rgb(63, 73, 179); --primary-font: "Whitney","Helvetica Neue","Helvetica","Arial",sans-serif; --primary-color: rgb(238, 238, 238); - --gbot-blue: rgb(2, 116, 204); - --gbot-orange: rgb(206, 82, 0); - --dark-gray: rgb(36, 37, 38); - --lighter-gray: rgb(172, 172, 172); + /* --dark-gray: rgb(36, 37, 38); */ + --dark-gray: #2F3C4F; + /* --lighter-gray: rgb(172, 172, 172); */ + --lighter-gray: #506F86; --dark-blue: rgb(40, 44, 52); --cyan: rgb(96, 191, 255); --black: rgb(0,0,0); @@ -14,6 +12,11 @@ --dark-cyan: rgb(0, 128, 202); --shadow: rgba(0, 0, 0, 0.2); --light-shadow: rgba(0, 0, 0, 0.1); + --medium-gray: rgb(99, 99, 99); + --pink: rgb(255, 175, 255); + --uncertain-gray: #a9b0b1; + --orange: #DE703C; + --light-orange: #FBB040 } body { diff --git a/client/src/pages/Home.js b/client/src/pages/Home.js index e509d49..4e7b9cd 100644 --- a/client/src/pages/Home.js +++ b/client/src/pages/Home.js @@ -1,12 +1,21 @@ /* eslint-disable react/no-unescaped-entities */ import '../css/Home.css'; import React from 'react'; +import { Helmet } from 'react-helmet'; const Home = () => { return (
@@ -16,6 +25,7 @@ const Home = () => {
I like to volunteer some of my free time in online communities both as a moderator as well as a bot developer and maintainer. My longest running project is a Discord bot named Galactic that I was invited to join in 2016 and have been maintaining and developing since. + A bunch of my projects are available on my Github, though a bunch of them are also in private repositories for various reasons.
@@ -28,7 +38,7 @@ const Home = () => {
Check out these
diff --git a/server/src/client/ServerClient.js b/server/src/client/ServerClient.js
index 8848d3d..a4f6e90 100644
--- a/server/src/client/ServerClient.js
+++ b/server/src/client/ServerClient.js
@@ -142,11 +142,12 @@ class Client extends EventEmitter {
});
this.app.use((req, res, next) => {
+ const now = Date.now();
this.logger.debug(`New request to path ${req.path} || Route: ${req.route}`);
res.once('finish', () => {
this.logger.debug(`Request to ${req.path} finished`);
const path = req.route?.path || req.path;
- this.logger.debug(`response done at path ${path} - ${res.statusCode}`);
+ this.logger.debug(`response done at path ${path} - ${res.statusCode}, took ${Date.now() - now}ms`);
});
// console.log(req.headers)
// if (req.cookies) console.log(req.cookies);