Skip to content

Commit e2ad89c

Browse files
authored
Merge pull request #117 from rishavanand/dev
2 parents 347dbd4 + c9ec81d commit e2ad89c

11 files changed

Lines changed: 39 additions & 56 deletions

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@fortawesome/free-brands-svg-icons": "^5.14.0",
1111
"@fortawesome/free-solid-svg-icons": "^5.14.0",
1212
"@fortawesome/react-fontawesome": "^0.1.11",
13-
"antd": "^4.22.4",
13+
"antd": "^4.22.8",
1414
"emoji-mart": "^3.0.0",
1515
"gatsby": "^2.24.15",
1616
"gatsby-image": "^2.4.14",

src/components/Field/GithubReadmeStatsField.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import styles from '../../styles/fields.module.scss';
65
import { faAlignLeft, faExpandArrowsAlt } from '@fortawesome/free-solid-svg-icons';
@@ -155,9 +154,7 @@ export const GithubReadmeStatsField = ({
155154
<Col>
156155
<Dropdown overlay={variantMenu}>
157156
<Tooltip placement="top" title={<span>Variant</span>}>
158-
<Button style={{ paddingLeft: 5, paddingRight: 5 }}>
159-
Variant <DownOutlined />{' '}
160-
</Button>
157+
<Button style={{ paddingLeft: 5, paddingRight: 5 }}>Variant</Button>
161158
</Tooltip>
162159
</Dropdown>
163160
<Dropdown overlay={alignmentMenu}>
@@ -166,7 +163,7 @@ export const GithubReadmeStatsField = ({
166163
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
167164
icon={
168165
<>
169-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
166+
<FontAwesomeIcon icon={faAlignLeft} />
170167
</>
171168
}
172169
/>

src/components/Field/ImageField.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import React from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import styles from '../../styles/fields.module.scss';
65
import { faAlignLeft, faExpandArrowsAlt } from '@fortawesome/free-solid-svg-icons';
76
import { FieldProps } from '.';
8-
import { STATS_ALIGNMENT } from './GithubReadmeStatsField';
97

108
const { TextArea } = Input;
119

@@ -171,7 +169,7 @@ export const ImageField = ({
171169
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
172170
icon={
173171
<>
174-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
172+
<FontAwesomeIcon icon={faAlignLeft} />
175173
</>
176174
}
177175
/>

src/components/Field/ProfileVisitorCounterField.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import React, { useContext } from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import styles from '../../styles/fields.module.scss';
65
import { faAlignLeft } from '@fortawesome/free-solid-svg-icons';
76
import { FieldProps } from '.';
8-
import { globalContext } from '../../context/GlobalContextProvider';
97

108
const { TextArea } = Input;
119

@@ -118,7 +116,7 @@ export const ProfileVisitorCounterField = ({
118116
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
119117
icon={
120118
<>
121-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
119+
<FontAwesomeIcon icon={faAlignLeft} />
122120
</>
123121
}
124122
/>

src/components/Field/SkillsField.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { useState } from 'react';
22
import { Row, Col, Button, Dropdown, Menu, Grid, Checkbox, Tooltip, Input } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import { faArrowsAltV } from '@fortawesome/free-solid-svg-icons';
65
import { FieldProps } from '.';
@@ -144,7 +143,7 @@ export const SkillsField = ({
144143
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
145144
icon={
146145
<>
147-
<FontAwesomeIcon icon={faArrowsAltV} /> <DownOutlined />
146+
<FontAwesomeIcon icon={faArrowsAltV} />
148147
</>
149148
}
150149
/>

src/components/Field/SocialField.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Form, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import { faAlignLeft } from '@fortawesome/free-solid-svg-icons';
65
import { FieldProps } from '.';
@@ -159,7 +158,7 @@ export const SocialField = ({
159158
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
160159
icon={
161160
<>
162-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
161+
<FontAwesomeIcon icon={faAlignLeft} />
163162
</>
164163
}
165164
/>

src/components/Field/SpotifyListeningTo.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import styles from '../../styles/fields.module.scss';
65
import { faAlignLeft, faExpandArrowsAlt } from '@fortawesome/free-solid-svg-icons';
@@ -121,7 +120,7 @@ export const SpotifyListeningToField = ({
121120
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
122121
icon={
123122
<>
124-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
123+
<FontAwesomeIcon icon={faAlignLeft} />
125124
</>
126125
}
127126
/>

src/components/Field/SupportMeToField.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import { faAlignLeft } from '@fortawesome/free-solid-svg-icons';
65
import { FieldProps } from '.';
@@ -182,7 +181,7 @@ export const SupportMeField = ({
182181
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
183182
icon={
184183
<>
185-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
184+
<FontAwesomeIcon icon={faAlignLeft} />
186185
</>
187186
}
188187
/>

src/components/Field/TextField.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { Input, Row, Col, Button, Dropdown, Menu, Popover, Tooltip } from 'antd';
3-
import { DownOutlined } from '@ant-design/icons';
43
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
54
import styles from '../../styles/fields.module.scss';
65
import {
@@ -281,7 +280,7 @@ export const TextField = ({
281280
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
282281
icon={
283282
<>
284-
<FontAwesomeIcon icon={faHeading} /> <DownOutlined />
283+
<FontAwesomeIcon icon={faHeading} />
285284
</>
286285
}
287286
/>
@@ -293,7 +292,7 @@ export const TextField = ({
293292
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
294293
icon={
295294
<>
296-
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
295+
<FontAwesomeIcon icon={faAlignLeft} />
297296
</>
298297
}
299298
/>

0 commit comments

Comments
 (0)