Skip to content

Commit 73125b9

Browse files
Merge branch 'master' into description
2 parents e131d5e + 23943b4 commit 73125b9

6 files changed

Lines changed: 104 additions & 15 deletions

File tree

app/components/About.tsx

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,35 @@
11
import React from 'react';
22

33
const About: React.FC = () => {
4-
return <div className="home">Hello this is the About</div>;
4+
return (
5+
<div className="home">
6+
<h1>About</h1>
7+
<p>
8+
The Chronos Team has always had passion for Open Source endeavors that would greatly benefit
9+
the developer community.
10+
</p>
11+
<p>
12+
With many existing paid options being difficult to use and expensive to operate, Chronos was
13+
born...
14+
</p>
15+
<p>
16+
Chronos is an all-in-one network and health monitoring tool for your application or
17+
microservice, containerized or not!
18+
</p>
19+
<p>Insert snippets from the github readme on how to use it</p>
20+
<h1>Team</h1>
21+
<div>
22+
<span>Michael </span>
23+
<span>Greg </span>
24+
<span>Ronelle </span>
25+
<span>Todd </span>
26+
</div>
27+
<h1>History</h1>
28+
<div>
29+
<span>Maybe have past teams put what they want here</span>
30+
</div>
31+
</div>
32+
);
533
};
634

735
export default About;

app/components/Contact.tsx

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,51 @@
11
import React from 'react';
22

33
const Contact: React.FC = () => {
4-
return <div className="home">Hello this is the Contact</div>;
4+
return (
5+
<div className="home">
6+
<div>
7+
<h1>Contact Us!</h1>
8+
<p>The Chronos Team is always looking for any feedback or suggestions for Chronos.</p>
9+
<p>
10+
You can find issues the team is currently working on&nbsp;
11+
<a href="https://github.com/open-source-labs/Chronos/issues" target="_blank">
12+
here
13+
</a>
14+
.
15+
</p>
16+
<p>
17+
If you would like your voice heard, fill out the form and we will get back to you ASAP!
18+
</p>
19+
</div>
20+
<div>
21+
<form>
22+
<label htmlFor="fname">First Name</label>
23+
<input type="text" id="fname" name="firstname" placeholder="Your name.." />
24+
<br />
25+
<label htmlFor="lname">Last Name</label>
26+
<input type="text" id="lname" name="lastname" placeholder="Your last name.." />
27+
<br />
28+
<label htmlFor="email">E-mail</label>
29+
<input type="text" id="email" name="email" placeholder="Your e-mail address.." />
30+
<br />
31+
<label htmlFor="subject">Subject</label>
32+
<input type="text" id="subject" name="subject" placeholder="Subject" />
33+
<br />
34+
<label htmlFor="message">Message</label>
35+
<textarea
36+
id="message"
37+
name="message"
38+
placeholder="Write something.." /*style="height:200px"*/
39+
></textarea>
40+
<br />
41+
<label htmlFor="myfile">Select a file: </label>
42+
<input type="file" id="myfile" name="myfile" accept="image/*"></input>
43+
<br />
44+
<input type="submit" value="Submit" />
45+
</form>
46+
</div>
47+
</div>
48+
);
549
};
650

751
export default Contact;

app/components/Copyright.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export interface CopyrightProps {}
66
const Copyright = () => (
77
<Typography variant="body2" color="textSecondary" align="center">
88
{'Copyright © '}
9-
<Link color="inherit" href="https://chronoslany.com/">
9+
<Link color="inherit" href="https://chronoslany.com/" target="_blank">
1010
Team Chronos
1111
</Link>{' '}
1212
{new Date().getFullYear()}

app/components/Settings.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ import React from 'react';
55
// Need to add flag to turn on/off live data (ideally persist on restart)
66
// Need to add dark mode
77
const Settings: React.FC = () => {
8-
return <div className="home">Hello this is the Settings</div>;
8+
return (
9+
<div className="home">
10+
<h1>Currently under construction, coming soon!</h1>
11+
<p>Contact the Chronos Team for anything you'd like to see!</p>
12+
</div>
13+
);
914
};
1015

1116
export default Settings;

app/containers/MainContainer.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { Route, Switch } from 'react-router-dom';
33

44
// import GraphsContainer from './Archived';
55
import Home from '../components/Home';
6+
import About from '../components/About';
7+
import Contact from '../components/Contact';
8+
import Settings from '../components/Settings';
69
import Copyright from '../components/Copyright';
710
import Occupied from '../components/Occupied';
811
import GraphsContainer from './GraphsContainer';
@@ -13,6 +16,9 @@ const MainContainer = () => (
1316
<div className="main-routes">
1417
<Switch>
1518
<Route exact path="/" component={Home} />
19+
<Route exact path="/about" component={About} />
20+
<Route exact path="/contact" component={Contact} />
21+
<Route exact path="/settings" component={Settings} />
1622
<Route exact path="/applications" component={Occupied} />
1723
<Route exact path="/applications/:app/:service" component={GraphsContainer} />
1824
<Route path="*" render={() => <h1>Not found</h1>} />

app/stylesheets/SidebarContainer.css

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
color: white;
33
background-color: #24262f;
44
width: 100px;
5-
transition: 900ms;
5+
position: absolute;
6+
transition: 300ms;
67
overflow: hidden;
78
z-index: 1;
89
white-space: nowrap;
@@ -36,21 +37,23 @@
3637
}
3738

3839
#home {
39-
transition: 600ms;
40+
transition: 200ms;
4041
}
4142
#about {
42-
transition: 700ms;
43+
transition: 250ms;
4344
}
4445
#contact {
45-
transition: 800ms;
46+
transition: 300ms;
4647
}
4748
#settings {
48-
transition: 900ms;
49+
transition: 350ms;
4950
}
5051

5152
#serviceDashLogo {
5253
opacity: 0;
53-
transition: 900ms;
54+
width: 160px;
55+
margin-top: 20px;
56+
transition: 300ms;
5457
}
5558
#miniLogo {
5659
position: absolute;
@@ -60,18 +63,21 @@
6063
height: 75px;
6164
width: 75px;
6265
opacity: 1;
63-
transition: 400ms;
66+
transition: 200ms;
67+
margin-top: 10px;
6468
}
6569
.sidebar {
70+
background-color: #24262f;
6671
padding-left: 20px;
6772
width: 100px;
73+
height: 100%;
6874
position: fixed;
6975
display: flex;
7076
flex-direction: column;
7177
align-items: left;
7278
justify-items: center;
7379
align-content: center;
74-
transition: 900ms;
80+
transition: 300ms;
7581
}
7682

7783
.sidebar img {
@@ -81,16 +87,16 @@
8187
.sidebar-link {
8288
overflow: hidden;
8389
z-index: 1;
84-
margin: 5px 5px;
85-
padding: 1px 5px;
90+
margin: 7px 5px;
91+
padding: 20px 5px;
8692
display: flex;
8793
align-items: center;
8894
justify-content: left;
8995
background-color: #24262f;
9096
height: 40px;
9197
width: 50px;
9298
border: thin solid rgb(79, 79, 85);
93-
border-radius: 3px;
99+
border-radius: 8px;
94100
font-size: 125%;
95101
color: whitesmoke;
96102
text-decoration: none;

0 commit comments

Comments
 (0)