forked from crowetic/commerce
Changes
This commit is contained in:
7
components/core/Footer/Footer.module.css
Normal file
7
components/core/Footer/Footer.module.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.root {
|
||||
@apply p-0;
|
||||
}
|
||||
|
||||
.container {
|
||||
@apply flex justify-between items-center flex-row px-4 py-5;
|
||||
}
|
20
components/core/Footer/Footer.tsx
Normal file
20
components/core/Footer/Footer.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import cn from "classnames";
|
||||
import React, { FunctionComponent } from "react";
|
||||
import s from "./Footer.module.css";
|
||||
import { Container } from "@components/ui";
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
children?: any;
|
||||
}
|
||||
|
||||
const Footer: FunctionComponent<Props> = ({ className }) => {
|
||||
const rootClassName = cn(s.root, className);
|
||||
return (
|
||||
<footer className={rootClassName}>
|
||||
<Container className={s.container}></Container>
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
1
components/core/Footer/index.ts
Normal file
1
components/core/Footer/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default } from "./Footer";
|
Reference in New Issue
Block a user