Skip to content

Commit

Permalink
Fixed Facebook icon in nav bar and Apply button issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mayura-andrew committed Jan 9, 2024
1 parent 0a2cddf commit 335507c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 4 additions & 2 deletions src/components/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ const Home: React.FC = () => (
<div style={{ marginTop: '40px' }}>
<Button
className={styles.homePageMainButton}
type={'primary'}
style={{ marginRight: '20px', marginBottom: '20px' }}
style={{
marginRight: '20px',
marginBottom: '20px',
}}
>
Apply
</Button>
Expand Down
9 changes: 4 additions & 5 deletions src/components/Layout/MenuDrawer/MenuDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
TwitterOutlined,
LinkedinFilled,
InstagramOutlined,
FacebookFilled,
} from '@ant-design/icons';
import { Avatar, Button, Drawer, Space, Typography } from 'antd';

Expand Down Expand Up @@ -55,11 +56,9 @@ const MenuDrawer: React.FC<MenuDrawerProps> = ({ openMenu, setOpenMenu }) => {
target="_blank"
rel="noreferrer"
>
<Button
className={styles.antButton}
shape="circle"
icon={<img src="/facebook-icon.png" width={20} />}
/>
<Button className={styles.antButton} shape="circle">
<FacebookFilled className={styles.antIcon} />
</Button>
</a>
<a
href="https://twitter.com/goasksef"
Expand Down
9 changes: 4 additions & 5 deletions src/components/Layout/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
TwitterOutlined,
LinkedinFilled,
InstagramOutlined,
FacebookFilled,
} from '@ant-design/icons';
import { Button, Col, Row, Space, Typography } from 'antd';

Expand Down Expand Up @@ -110,11 +111,9 @@ const Navbar: React.FC = () => {
target="_blank"
rel="noreferrer"
>
<Button
className={styles.antButton}
shape="circle"
icon={<img src="/facebook-icon.png" width={20} />}
/>
<Button className={styles.antButton} shape="circle">
<FacebookFilled className={styles.antIcon} />
</Button>
</a>
<a
href="https://twitter.com/goasksef"
Expand Down

0 comments on commit 335507c

Please sign in to comment.