Skip to content

Commit

Permalink
Clean up some console logging as well as removed banner from designat…
Browse files Browse the repository at this point in the history
…hon pages
  • Loading branch information
ryqndev committed Apr 6, 2024
1 parent 24feb00 commit 5508cb6
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 195 deletions.
5 changes: 4 additions & 1 deletion src/app/components/Banner/Banner.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { Link } from "react-router-dom";
import { Link, useLocation } from "react-router-dom";

import cn from "./Banner.module.scss";

function Banner() {
const location = useLocation();
if (location.pathname.includes("/designathon")) return null;

return (
<div className={`fill blue ${cn.banner}`}>
<p>
Expand Down
Loading

0 comments on commit 5508cb6

Please sign in to comment.