Skip to content

Commit d880e8c

Browse files
authored
Merge pull request #18 from Cryptonomic/ui-updates
2 parents 13979ac + 9c30b3b commit d880e8c

File tree

8 files changed

+306
-7
lines changed

8 files changed

+306
-7
lines changed

package-lock.json

Lines changed: 36 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/images/github.svg

Lines changed: 3 additions & 0 deletions
Loading

src/assets/images/medium.svg

Lines changed: 77 additions & 0 deletions
Loading

src/assets/images/riot.svg

Lines changed: 73 additions & 0 deletions
Loading

src/assets/images/twitter.svg

Lines changed: 74 additions & 0 deletions
Loading

src/components/Sidebar/index.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import {
99
CryptoNomicLogo
1010
} from './styles';
1111
import Logo from '../../assets/images/logo.svg';
12+
import twitter from '../../assets/images/twitter.svg';
13+
import riot from '../../assets/images/riot.svg';
14+
import medium from '../../assets/images/medium.svg';
15+
import github from '../../assets/images/github.svg';
1216
import { NavLink, Link } from 'react-router-dom';
1317

1418
interface Props {
@@ -23,7 +27,7 @@ const Sidebar: React.FC<Props> = props => {
2327
{/* <Subtitle>All Tezos Blockchain data at your fingertips</Subtitle> */}
2428
<CryptoNomicLogo>
2529
<p>
26-
<span>an Open Source Project by</span>
30+
<span>an <a href={"https://github.com/Cryptonomic/periscope"}>Open Source</a> Project by</span>
2731
<img src={Logo} alt="img"/>
2832
<span className="logo">CRYPTONOMIC</span>
2933
</p>
@@ -151,6 +155,21 @@ const Sidebar: React.FC<Props> = props => {
151155
<p className="links">
152156
<span>Powered by <a href="#">Arronax</a>, <a href="#">Conseil</a> and <a href="#">Nautilus Cloud</a></span>
153157
</p>
158+
<br></br><br></br>
159+
<div className={"footer-links"}>
160+
<a href={"https://twitter.com/CryptonomicTech"} className={"footer-link"}>
161+
<img src={twitter} className={"footer-icon"}/>
162+
</a>
163+
<a href={"https://github.com/Cryptonomic/periscope"} className={"footer-link"}>
164+
<img src={github} className={"footer-icon"}/>
165+
</a>
166+
<a href={"https://matrix.to/#/!heGqMNcsOSHGPxrMJs:cryptonomic.tech"} className={"footer-link"}>
167+
<img src={riot} className={"footer-icon"}/>
168+
</a>
169+
<a href={"https://medium.com/the-cryptonomic-aperiodical"} className={"footer-link"}>
170+
<img src={medium} className={"footer-icon"}/>
171+
</a>
172+
</div>
154173
</Footer>
155174
</Holder>
156175
</div>

src/components/Sidebar/styles.tsx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ export const Title = styled.h1`
1919
export const Holder = styled.div`
2020
background-color:#fff;
2121
padding:30px 10px;
22-
min-height: 100vh;
22+
height: 100%;
23+
position: fixed;
24+
display: block;
25+
width: 280px;
26+
overflow-y: scroll;
2327
`;
2428

2529
export const Subtitle = styled.p`
@@ -144,6 +148,20 @@ export const Footer = styled.div `
144148
text-decoration:none;
145149
}
146150
}
151+
.footer-links {
152+
display: flex;
153+
justify-content: space-evenly;
154+
width: 80%;
155+
}
156+
.footer-link {
157+
display: block;
158+
}
159+
.footer-icon {
160+
display: block;
161+
color: black;
162+
width: 25px;
163+
height: 25px;
164+
}
147165
`
148166

149167
export const CryptoNomicLogo = styled.div `

0 commit comments

Comments
 (0)