Skip to content

Commit da8b961

Browse files
committed
added links to sidebar
1 parent 87a7842 commit da8b961

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

app/containers/SidebarContainer.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import { Link } from 'react-router-dom';
33

44
import HomeSharpIcon from '@material-ui/icons/HomeSharp';
5+
import ListIcon from '@material-ui/icons/List';
56
import InfoIcon from '@material-ui/icons/Info';
67
import ContactSupportIcon from '@material-ui/icons/ContactSupport';
78
import SettingsIcon from '@material-ui/icons/Settings';
@@ -45,6 +46,15 @@ const SidebarContainer: React.FC = (): JSX.Element => (
4546
}} />
4647
 Home
4748
</Link>
49+
<Link className="sidebar-link" to="/applications" id="dash">
50+
<ListIcon style={{
51+
WebkitBoxSizing: 'content-box',
52+
boxShadow: 'none',
53+
width: '35px',
54+
height: '35px',
55+
}} />
56+
&emsp;Dashboard
57+
</Link>
4858
<Link className="sidebar-link" to="/about" id="about">
4959
<InfoIcon style={{
5060
WebkitBoxSizing: 'content-box',

app/stylesheets/Contact.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
#myfile {
102102
font-size: 16px;
103-
color: $icon;
103+
color: $background;
104104
}
105105

106106

app/stylesheets/SidebarContainer.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
opacity: 1;
2323
}
2424

25+
.sidebar-container:hover #dash {
26+
opacity: 1;
27+
}
28+
2529
.sidebar-container:hover #about {
2630
opacity: 1;
2731
}
@@ -197,7 +201,7 @@
197201
border: 0.3px solid #ffffff;
198202
border: 0;
199203
border-radius: 3px;
200-
font-size: 125%;
204+
font-size: 90%;
201205
color: whitesmoke;
202206
text-decoration: none;
203207
transition: 300ms;
@@ -207,10 +211,8 @@
207211
background-color: $hover;
208212
opacity: 0.85;
209213
animation: none;
214+
-webkit-tap-highlight-color: transparent;
210215
}
211216
}
212217

213-
.sidebar-link:hover {
214-
-webkit-tap-highlight-color: transparent;
215-
}
216218

0 commit comments

Comments
 (0)