forked from zoltantothcom/Design-Patterns-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAbout.jsx
More file actions
55 lines (48 loc) · 1.29 KB
/
About.jsx
File metadata and controls
55 lines (48 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import React from 'react';
import styled from 'styled-components';
const StyledAbout = styled.div`
color: ${props => props.theme.text};
a {
border-bottom: 1px solid ${props => props.theme.CRIMSON};
color: ${props => props.theme.CRIMSON};
text-decoration: none;
&:hover {
border-bottom: 1px solid transparent;
}
}
`;
const Header = styled.h3`
color: ${props => props.theme.header};
margin-top: 2rem;
`;
const About = () => (
<StyledAbout>
<Header>The Game</Header>
<p>
Design Patterns - get familiar with the design patterns implemented in JavaScript, test
yourself (or someone else) or simply for fun. Enjoy!
</p>
<Header>References</Header>
<p>
All the code samples are taken from this{' '}
<cite>
<a href="//github.com/fbeline/Design-Patterns-JS" target="_blank">
awesome code compilation
</a>{' '}
by Felipe Beline
</cite>
.
</p>
<p>
If you want a deep dive into the subject I can't recommend enough{' '}
<cite>
<a href="//addyosmani.com/resources/essentialjsdesignpatterns/book/" target="_blank">
Learning JavaScript Design Patterns
</a>{' '}
by Addy Osmani
</cite>
.
</p>
</StyledAbout>
);
export default About;