diff --git a/public/assets/Alex.jpg b/public/assets/Alex.jpg deleted file mode 100644 index 6dae3b2..0000000 Binary files a/public/assets/Alex.jpg and /dev/null differ diff --git a/public/assets/Alex.png b/public/assets/Alex.png new file mode 100644 index 0000000..f3b01f3 Binary files /dev/null and b/public/assets/Alex.png differ diff --git a/public/css/style.css b/public/css/style.css index 35bb41c..1b1e0a0 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -17,6 +17,11 @@ pre { a { font-weight: 700; text-decoration: none; + color: #4c8bf5; +} + +a:hover { + color: #3670d5; } html { @@ -222,7 +227,7 @@ main { border-radius: 25px; } -@media all and (min-width: 1500px) { +@media all and (min-width: 1280px) { .result { margin-top: 2rem; } @@ -310,7 +315,6 @@ table.darkTable { text-align: center; border-collapse: collapse; border-radius: 15px; - } table.darkTable td, table.darkTable th { @@ -425,11 +429,24 @@ table.darkTable #keywords{ margin: 3rem 15rem; display: flex; flex-direction: row; + justify-content: center; +} + +@media all and (max-width: 1790px) { + .contributors { + margin: 3rem 11rem; + } +} + +@media all and (max-width: 1441px) { + .contributors { + margin: 3rem 3rem; + } } .contributors .section { padding: 0 2rem; - width: 33.3333%; + width: 435px; display: flex; flex-direction: column; justify-content: center; diff --git a/server.js b/server.js index 707c260..765e7e5 100644 --- a/server.js +++ b/server.js @@ -32,7 +32,7 @@ app.get('/api/:keyword', (req, res) => { const matches = resources.filter((obj) => obj.keywords.some(str => str.includes(keyword))); try { - // if matches were found respond with json else throw error + // if matches were found respond with json if (matches.length) { res.json(matches); } else { diff --git a/views/index.ejs b/views/index.ejs index f7489a9..9560717 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -118,8 +118,8 @@
+
- THE API ADMINISTRATION.
-
+
- Bugs? Features? View this on GitHub.
+ Bugs? Features? Please report them here: GitHub.
We would love to see what you are making with this API. Please tweet at us!