Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the positioning issue of the Facebook icon and the Apply button. #68

Merged
merged 8 commits into from
Jan 11, 2024
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',
}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use tailwind css here @mayura-andrew

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay sure

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applyandseemore.mp4

>
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