Skip to content

Commit

Permalink
feat: added footer component (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
OshriAsulin authored Oct 6, 2023
1 parent c8f4fc6 commit 7d784ee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { Requests } from "./pages/requests/requests";
import { ServiceRequest } from "./pages/service-request/service-request";
import { Service } from "./pages/service/service";
import { useThemeStore } from "./stores/themeStore";
import Footer from "./components/footer/footer";

function App(): React.JSX.Element {
const { mode } = useThemeStore();
Expand Down Expand Up @@ -67,6 +68,7 @@ function App(): React.JSX.Element {
<PageTemplate>
<GettingStarted />
<AuthUI />
<Footer />
</PageTemplate>
}
/>
Expand Down
5 changes: 5 additions & 0 deletions client/src/components/footer/footer.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.footer_container {
border-top: 1px solid lightgray;
padding: 5px;
text-align: center;
}
11 changes: 11 additions & 0 deletions client/src/components/footer/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import styles from "./footer.module.scss";

const Footer = () => {
return (
<div className={styles.footer_container}>
<p>&copy; Sharkio Team. All Rights Reserved.</p>
</div>
);
};

export default Footer;

0 comments on commit 7d784ee

Please sign in to comment.