Skip to content

Commit d23ba31

Browse files
committed
remove dead code
1 parent c442810 commit d23ba31

File tree

6 files changed

+0
-34
lines changed

6 files changed

+0
-34
lines changed

src/components/FacebookAnchor.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import React from 'react';
2-
// import styled from 'styled-components';
32

43
import { SocialIcon } from './Social';
54

6-
// const StyledFacebookAnchor = styled(SocialIcon)``;
7-
85
const FacebookLogo = () => (
96
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
107
<path d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z" />

src/components/GetStarted.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import styled from 'styled-components';
33
import * as Scroll from 'react-scroll';
44

5-
import Emoji from 'components/Emoji';
65
import Button from 'components/Button';
76

87
import pjson from '../../package.json';
@@ -54,28 +53,6 @@ const GitHubStar = () => (
5453
</StyledGitHubStar>
5554
);
5655

57-
const StyledPointer = styled.div`
58-
margin-top: 3rem;
59-
`;
60-
61-
const Pointer = () => (
62-
<StyledPointer>
63-
{/* eslint-disable jsx-a11y/accessible-emoji */}
64-
<div className="animated bounce infinite slow">
65-
<Emoji
66-
ariaLabel="Get Started"
67-
style={{
68-
position: 'absolute',
69-
transform: 'translateX(-50%)',
70-
textShadow: '0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.25)'
71-
}}
72-
>
73-
👇
74-
</Emoji>
75-
</div>
76-
</StyledPointer>
77-
);
78-
7956
const StyledGitHubButton = styled(Button)`
8057
@media (max-width: 425px) {
8158
display: none;
@@ -97,7 +74,6 @@ const GetStarted = () => (
9774
<GitHubButton />
9875
</Buttons>
9976
<GitHubStar />
100-
{/* <Pointer /> */}
10177
</StyledGetStarted>
10278
);
10379

src/components/GithubAnchor.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import React from 'react';
2-
// import styled from 'styled-components';
32

43
import { SocialIcon } from './Social';
54

65
import pjson from '../../package.json';
76

8-
// const StyledGitHubAnchor = styled(SocialIcon)``;
9-
107
const GitHubAnchor = () => (
118
<SocialIcon>
129
<a target="_blank" rel="noopener noreferrer" href={pjson.repository.url}>

src/components/Title.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import styled from 'styled-components';
44
import pjson from '../../package.json';
55

66
const StyledTitle = styled.span`
7-
// visibility: hidden;
8-
97
@media (max-width: 425px) {
108
display: none;
119
}

src/images/angle-left-solid.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/images/angle-right-solid.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)