Skip to content

Commit

Permalink
fix: updated footer and navbar component to stop using old global con…
Browse files Browse the repository at this point in the history
…tainer class (#70)
  • Loading branch information
mimitorres authored Jan 11, 2024
1 parent 8263183 commit 1b84ac2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/common/footer/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import globalStyles from "assets/stylesheets/global-styles.module.scss";
import { Container } from "common/container";
import styles from "./footer.module.scss";

export const Footer = () => (
<div className={styles.container}>
<div className={globalStyles.genericContainer}>Footer</div>
<Container>Footer</Container>
</div>
);
5 changes: 3 additions & 2 deletions src/common/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { RouteName } from "routes/routes";
import globalStyles from "assets/stylesheets/global-styles.module.scss";
import { AppLink } from "common/app-link";
import { Avatar } from "common/avatar";
import { Container } from "common/container";
import styles from "./navbar.module.scss";

export const Navbar = () => (
<div className={styles.container}>
<div className={globalStyles.genericContainer}>
<Container>
<div className={styles.internalContainer}>
<div>
<AppLink routeName={RouteName.Home}>Logo goes here</AppLink>
Expand All @@ -20,6 +21,6 @@ export const Navbar = () => (
<Avatar size="s" />
</div>
</div>
</div>
</Container>
</div>
);

0 comments on commit 1b84ac2

Please sign in to comment.