Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 26 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@fortawesome/free-brands-svg-icons": "^5.14.0",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@fortawesome/react-fontawesome": "^0.1.11",
"antd": "^4.22.4",
"antd": "^4.22.8",
"emoji-mart": "^3.0.0",
"gatsby": "^2.24.15",
"gatsby-image": "^2.4.14",
Expand Down
7 changes: 2 additions & 5 deletions src/components/Field/GithubReadmeStatsField.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styles from '../../styles/fields.module.scss';
import { faAlignLeft, faExpandArrowsAlt } from '@fortawesome/free-solid-svg-icons';
Expand Down Expand Up @@ -155,9 +154,7 @@ export const GithubReadmeStatsField = ({
<Col>
<Dropdown overlay={variantMenu}>
<Tooltip placement="top" title={<span>Variant</span>}>
<Button style={{ paddingLeft: 5, paddingRight: 5 }}>
Variant <DownOutlined />{' '}
</Button>
<Button style={{ paddingLeft: 5, paddingRight: 5 }}>Variant</Button>
</Tooltip>
</Dropdown>
<Dropdown overlay={alignmentMenu}>
Expand All @@ -166,7 +163,7 @@ export const GithubReadmeStatsField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
4 changes: 1 addition & 3 deletions src/components/Field/ImageField.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styles from '../../styles/fields.module.scss';
import { faAlignLeft, faExpandArrowsAlt } from '@fortawesome/free-solid-svg-icons';
import { FieldProps } from '.';
import { STATS_ALIGNMENT } from './GithubReadmeStatsField';

const { TextArea } = Input;

Expand Down Expand Up @@ -171,7 +169,7 @@ export const ImageField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
4 changes: 1 addition & 3 deletions src/components/Field/ProfileVisitorCounterField.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React, { useContext } from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styles from '../../styles/fields.module.scss';
import { faAlignLeft } from '@fortawesome/free-solid-svg-icons';
import { FieldProps } from '.';
import { globalContext } from '../../context/GlobalContextProvider';

const { TextArea } = Input;

Expand Down Expand Up @@ -118,7 +116,7 @@ export const ProfileVisitorCounterField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
3 changes: 1 addition & 2 deletions src/components/Field/SkillsField.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useState } from 'react';
import { Row, Col, Button, Dropdown, Menu, Grid, Checkbox, Tooltip, Input } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faArrowsAltV } from '@fortawesome/free-solid-svg-icons';
import { FieldProps } from '.';
Expand Down Expand Up @@ -144,7 +143,7 @@ export const SkillsField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faArrowsAltV} /> <DownOutlined />
<FontAwesomeIcon icon={faArrowsAltV} />
</>
}
/>
Expand Down
3 changes: 1 addition & 2 deletions src/components/Field/SocialField.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Form, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faAlignLeft } from '@fortawesome/free-solid-svg-icons';
import { FieldProps } from '.';
Expand Down Expand Up @@ -159,7 +158,7 @@ export const SocialField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
3 changes: 1 addition & 2 deletions src/components/Field/SpotifyListeningTo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styles from '../../styles/fields.module.scss';
import { faAlignLeft, faExpandArrowsAlt } from '@fortawesome/free-solid-svg-icons';
Expand Down Expand Up @@ -121,7 +120,7 @@ export const SpotifyListeningToField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
3 changes: 1 addition & 2 deletions src/components/Field/SupportMeToField.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Form, Switch, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faAlignLeft } from '@fortawesome/free-solid-svg-icons';
import { FieldProps } from '.';
Expand Down Expand Up @@ -182,7 +181,7 @@ export const SupportMeField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
5 changes: 2 additions & 3 deletions src/components/Field/TextField.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Input, Row, Col, Button, Dropdown, Menu, Popover, Tooltip } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styles from '../../styles/fields.module.scss';
import {
Expand Down Expand Up @@ -281,7 +280,7 @@ export const TextField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faHeading} /> <DownOutlined />
<FontAwesomeIcon icon={faHeading} />
</>
}
/>
Expand All @@ -293,7 +292,7 @@ export const TextField = ({
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faAlignLeft} /> <DownOutlined />
<FontAwesomeIcon icon={faAlignLeft} />
</>
}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
Space,
Tooltip,
} from 'antd';
import { PlusOutlined, FireOutlined, DownOutlined, RedoOutlined } from '@ant-design/icons';
import { PlusOutlined, FireOutlined, RedoOutlined } from '@ant-design/icons';
import { globalContext, GlobalContext } from '../context/GlobalContextProvider';
import Field, { FieldProps } from '../components/Field';
import { FIELD_TYPES } from '../config/global';
Expand Down Expand Up @@ -230,7 +230,7 @@ const Section = (section: SectionProps) => {
style={{ paddingLeft: 5, paddingRight: 5, width: 50 }}
icon={
<>
<FontAwesomeIcon icon={faColumns} /> <DownOutlined />
<FontAwesomeIcon icon={faColumns} />
</>
}
size={buttonSize}
Expand Down