-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: apply Prettier formatting to existing files
- Loading branch information
1 parent
d782914
commit cec5df1
Showing
20 changed files
with
599 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,40 @@ | ||
import { Box, Container, Link, Typography } from '@mui/material'; | ||
import { Link as RouterLink } from "react-router-dom"; | ||
import { Link as RouterLink } from 'react-router-dom'; | ||
import { GitHub } from '@mui/icons-material'; | ||
const Footer = () => { | ||
return ( | ||
<Box | ||
py={4} | ||
bgcolor="black" | ||
color="white" | ||
textAlign="center" | ||
component="footer" | ||
> | ||
<Container maxWidth="md"> | ||
<Typography variant="h6" component="div" gutterBottom> | ||
Connect with Us | ||
</Typography> | ||
<Box display="flex" justifyContent="center" alignItems="center" gap={4}> | ||
{/* TODO: Add link to about-us page */} | ||
<Link | ||
underline="hover" | ||
component={RouterLink} | ||
to="/" | ||
color="inherit" | ||
> | ||
About us | ||
</Link> | ||
<Link | ||
underline="hover" | ||
href="https://github.com/activecourses/Upwork-Clone-Front" | ||
color="inherit" | ||
|
||
> | ||
<GitHub /> | ||
</Link> | ||
</Box> | ||
<Typography variant="body2" color="inherit" mt={2}> | ||
© {new Date().getFullYear()}{" "} | ||
<Link href="https://github.com/activecourses"> | ||
Active courses | ||
</Link> | ||
. All rights reserved. | ||
</Typography> | ||
</Container> | ||
</Box> | ||
) | ||
} | ||
py={4} | ||
bgcolor='black' | ||
color='white' | ||
textAlign='center' | ||
component='footer' | ||
> | ||
<Container maxWidth='md'> | ||
<Typography variant='h6' component='div' gutterBottom> | ||
Connect with Us | ||
</Typography> | ||
<Box display='flex' justifyContent='center' alignItems='center' gap={4}> | ||
{/* TODO: Add link to about-us page */} | ||
<Link underline='hover' component={RouterLink} to='/' color='inherit'> | ||
About us | ||
</Link> | ||
<Link | ||
underline='hover' | ||
href='https://github.com/activecourses/Upwork-Clone-Front' | ||
color='inherit' | ||
> | ||
<GitHub /> | ||
</Link> | ||
</Box> | ||
<Typography variant='body2' color='inherit' mt={2}> | ||
© {new Date().getFullYear()}{' '} | ||
<Link href='https://github.com/activecourses'>Active courses</Link>. | ||
All rights reserved. | ||
</Typography> | ||
</Container> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default Footer | ||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.