From c44b941c997db6ceaba02b397eb18811eea7a9c4 Mon Sep 17 00:00:00 2001 From: Jordan Lei Date: Tue, 8 Dec 2020 20:17:31 -0800 Subject: [PATCH] included not found page, update resources --- package.json | 2 +- public/522_logo.ico | Bin 4286 -> 0 bytes src/App.js | 2 ++ src/components/notfound.js | 28 ++++++++++++++++++++++++++++ src/components/resources.js | 8 ++++---- 5 files changed, 35 insertions(+), 5 deletions(-) delete mode 100644 public/522_logo.ico create mode 100644 src/components/notfound.js diff --git a/package.json b/package.json index e675173..d131578 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "website", "version": "0.1.0", "private": true, - "homepage": "https://www.CIS-522.github.io/website", + "homepage": "https://www.cis-522.github.io/website", "dependencies": { "@brainhubeu/react-carousel": "^1.10.30", "boostrap": "^2.0.0", diff --git a/public/522_logo.ico b/public/522_logo.ico deleted file mode 100644 index ed0f44f0a48cf8a8d89305a6725c4793a0b48646..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4286 zcmc(idraF^6vuB%X`$s&-Y^)jbYtaVnHj_=B(O0wb#AdHTL&1#;TR;7KMX7jS&)De z5Xqcof$=6hWh2fQt7ghVH0WeZ115kEj5;)spwnc9PVnowg_hRvXbZw^PH%hex#x3! z=iK|dzaL`)`h{4OjQKOhlq95L$s}BFY&51&Ey|*TF)X!_kr8BPXCo*m2tuI{ zG`^|AeRAKN!C98Audff$(b1dATPuFf;!NH~M@JDG8@pv}Q(T1p>|jYfmHxjAF~78Vweo11I5 z56Q zZ+xkcVYizAkM0RZS4Rh8Vji+$snu#UUa7&pKsSU*1rQ5tyLa1i{W2$pQ^~Qo*;SA4 zhX&Af`E|I7to?_3$uOXM2cw_g#JiWvp;iXM$%ga87QV_~imyI-&%E8fz5N*y!k6zi zob&vFhjDM}SF_F4i>2@rTgSN4zO;oOAL@;tzPV%eJ^k|pPR57Ao$|tc?jX*EjK}d{ zZq{tm*VBwZ7lBoc9OZkF|L#k#VqtzB`oI3f^|vk{Q{fDiCxeLUoaD!lx6c<}e$WfU ztR4paeH6c-g=mxV?<$d?t@cf{y_}EpPsJfC!W9`|3`cedp!8tSh6<1#%8;Y-LCG@- zxPGY=W#`YWd+j_Qw&efG!-vscUjywf7o>$SVhfCtPW|zni@&*!$B-7xkRB6&x4Sx_ zQmNLBVLd)SA6i>!Zznv4csawfOKejN|Lu893Ms>hv@}##S3@Kctr^40e70i0B><2{3V6(6&FC^SA<8Dr3jUuqrFyO)O$D= zl5K&}{?MUTIwL;C-o3BTIeUh5{EV{R6V}(ybM+h!9@JrQa0W9o4{+_;1YBGiNndXv zb=bY92k-0d;+MO6G&O%m@wQovbK5!u1hnDSt!Ye6&Edw4-{_32BmFLt<@!bXy|w3=0+vd>!mE;t};#_*}e35E)dKH@-iap0@ zBax($O&G~CoB!tZU-|iyuhY#GYpy8{&UWPa+cbZpJ!d=m{;^RupU>Ib{r<%_$acPe Pnl|Wmy?;|3wzd5WTB*Hn diff --git a/src/App.js b/src/App.js index d69f576..bd0af66 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,6 @@ import React from 'react'; import Dev from './components/dev.js'; +import NotFound from './components/notfound.js'; import ScrollToTop from './components/scrolltotop.js'; import {HashRouter as Router, Route} from 'react-router-dom'; import './App.css'; @@ -11,6 +12,7 @@ function App() {
+
); diff --git a/src/components/notfound.js b/src/components/notfound.js new file mode 100644 index 0000000..4ceaf08 --- /dev/null +++ b/src/components/notfound.js @@ -0,0 +1,28 @@ +import React, { Component } from 'react'; +import '../css/standard.css'; +import {Button} from 'react-bootstrap'; + + +class NotFound extends Component { + render() { + return ( +
+
+

Oops! Looks like you've gotten stuck in a local minimum.

+

+ This page either doesn't exist or is currently still + under construction. Please check back later for updates. +

+ +
+
+ + ); + } +} + +export default NotFound; diff --git a/src/components/resources.js b/src/components/resources.js index 692c9a6..0f66382 100644 --- a/src/components/resources.js +++ b/src/components/resources.js @@ -15,7 +15,7 @@ class Resources extends Component { -