File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import styled from 'styled-components' ;
3
- import { ICON_TWITTER , ICON_FACEBOOK , ICON_LINKEDIN } from '../static/icons' ;
3
+ import { ICON_TWITTER , ICON_FACEBOOK , ICON_LINKEDIN , ICON_REDDIT } from '../static/icons' ;
4
4
5
5
const FooterContainer = styled . footer `
6
6
display: flex;
@@ -43,6 +43,12 @@ const Footer = () => (
43
43
>
44
44
{ ICON_LINKEDIN }
45
45
</ a >
46
+ < a
47
+ href = "https://reddit.com/submit?url=https://designpatternsgame.com& title = Design % 20 Patterns % 20 Game "
48
+ target = "_blank"
49
+ >
50
+ { ICON_REDDIT }
51
+ </ a >
46
52
</ FooterContainer >
47
53
) ;
48
54
Original file line number Diff line number Diff line change @@ -60,3 +60,10 @@ export const ICON_LINKEDIN = (
60
60
< path d = "M8 7c0 1.657-1.343 3-3 3s-3-1.343-3-3c0-1.657 1.343-3 3-3s3 1.343 3 3z" />
61
61
</ svg >
62
62
) ;
63
+
64
+ export const ICON_REDDIT = (
65
+ < svg version = "1.1" xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 32 32" >
66
+ < title > reddit</ title >
67
+ < path d = "M8 20c0-1.105 0.895-2 2-2s2 0.895 2 2c0 1.105-0.895 2-2 2s-2-0.895-2-2zM20 20c0-1.105 0.895-2 2-2s2 0.895 2 2c0 1.105-0.895 2-2 2s-2-0.895-2-2zM20.097 24.274c0.515-0.406 1.262-0.317 1.668 0.198s0.317 1.262-0.198 1.668c-1.434 1.13-3.619 1.86-5.567 1.86s-4.133-0.73-5.567-1.86c-0.515-0.406-0.604-1.153-0.198-1.668s1.153-0.604 1.668-0.198c0.826 0.651 2.46 1.351 4.097 1.351s3.271-0.7 4.097-1.351zM32 16c0-2.209-1.791-4-4-4-1.504 0-2.812 0.83-3.495 2.057-2.056-1.125-4.561-1.851-7.29-2.019l2.387-5.36 4.569 1.319c0.411 1.167 1.522 2.004 2.83 2.004 1.657 0 3-1.343 3-3s-1.343-3-3-3c-1.142 0-2.136 0.639-2.642 1.579l-5.091-1.47c-0.57-0.164-1.173 0.116-1.414 0.658l-3.243 7.282c-2.661 0.187-5.102 0.907-7.114 2.007-0.683-1.227-1.993-2.056-3.496-2.056-2.209 0-4 1.791-4 4 0 1.635 0.981 3.039 2.387 3.659-0.252 0.751-0.387 1.535-0.387 2.341 0 5.523 6.268 10 14 10s14-4.477 14-10c0-0.806-0.134-1.589-0.387-2.34 1.405-0.62 2.387-2.025 2.387-3.66zM27 5.875c0.621 0 1.125 0.504 1.125 1.125s-0.504 1.125-1.125 1.125-1.125-0.504-1.125-1.125 0.504-1.125 1.125-1.125zM2 16c0-1.103 0.897-2 2-2 0.797 0 1.487 0.469 1.808 1.145-1.045 0.793-1.911 1.707-2.552 2.711-0.735-0.296-1.256-1.016-1.256-1.856zM16 29.625c-6.42 0-11.625-3.414-11.625-7.625s5.205-7.625 11.625-7.625c6.42 0 11.625 3.414 11.625 7.625s-5.205 7.625-11.625 7.625zM28.744 17.856c-0.641-1.003-1.507-1.918-2.552-2.711 0.321-0.676 1.011-1.145 1.808-1.145 1.103 0 2 0.897 2 2 0 0.84-0.52 1.56-1.256 1.856z" />
68
+ </ svg >
69
+ ) ;
You can’t perform that action at this time.
0 commit comments