2020-01-09 22:11:56 +00:00
|
|
|
import React, { useState, useEffect } from 'react';
|
|
|
|
import { BrowserRouter as Router, Switch, Route, Link, useParams } from 'react-router-dom';
|
|
|
|
import './light.css';
|
|
|
|
import { Container, Divider, Dropdown, Form, Grid, Header, Icon, Image, Menu, Message, Segment, Table } from 'semantic-ui-react';
|
|
|
|
|
|
|
|
export function PleaseLogin() {
|
|
|
|
return (
|
|
|
|
<Container text>
|
|
|
|
<Message warning>
|
2020-01-13 08:01:42 +00:00
|
|
|
<Message.Header>You must login before you can do that!</Message.Header>
|
2020-01-09 22:11:56 +00:00
|
|
|
<p>Visit our <Link to='/'>login page</Link>, then try again.</p>
|
|
|
|
</Message>
|
2020-01-13 08:01:42 +00:00
|
|
|
|
|
|
|
<img className='photo-404' src='/404.jpg' />
|
2020-02-09 08:19:13 +00:00
|
|
|
<p style={{ textAlign: 'right' }}>
|
|
|
|
<i>Space shuttle Endeavour, NASA (2011)</i>
|
|
|
|
</p>
|
2020-01-09 22:11:56 +00:00
|
|
|
</Container>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export function NotFound() {
|
|
|
|
return (
|
|
|
|
<Container text>
|
|
|
|
<Message warning>
|
2020-01-13 08:01:42 +00:00
|
|
|
<Message.Header>The page you requested can't be found!</Message.Header>
|
2020-01-09 22:11:56 +00:00
|
|
|
<p>Visit our <Link to='/'>home page</Link> if you are lost.</p>
|
|
|
|
</Message>
|
2020-01-11 06:57:08 +00:00
|
|
|
|
|
|
|
<img className='photo-404' src='/404.jpg' />
|
2020-02-09 08:19:13 +00:00
|
|
|
<p style={{ textAlign: 'right' }}>
|
|
|
|
<i>Space shuttle Endeavour, NASA (2011)</i>
|
|
|
|
</p>
|
2020-01-09 22:11:56 +00:00
|
|
|
</Container>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|