mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +00:00
Add footer component
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { FC } from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
const StyledFooter = styled.footer`
|
||||
display: grid;
|
||||
justify-content: flex-end;
|
||||
align-content: center;
|
||||
padding: 1rem 0rem;
|
||||
|
||||
p {
|
||||
display: inline;
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
`;
|
||||
|
||||
const Footer: FC = () => {
|
||||
return (
|
||||
<StyledFooter>
|
||||
<p>Hazem Krimi © {new Date().getFullYear()}</p>
|
||||
</StyledFooter>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
Reference in New Issue
Block a user