Skip to content

Commit

Permalink
Restore main Banner with message to Join Houses
Browse files Browse the repository at this point in the history
  • Loading branch information
taesungh committed Jan 9, 2024
1 parent c3f78cd commit b153ac2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/app/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Route, Routes, Navigate } from "react-router-dom";

import { Footer, Nav } from "./components";
import { Banner, Footer, Nav } from "./components";
import { useScroll } from "./controllers";
import {
About,
Expand Down Expand Up @@ -34,7 +34,7 @@ function App() {

return (
<>
{/* <Banner /> */}
<Banner />
<Nav />
<Routes>
<Route path="/" element={<Home />} />
Expand Down
20 changes: 7 additions & 13 deletions src/app/components/Banner/Banner.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
import cn from './Banner.module.scss';
import { Link } from "react-router-dom";

const APPLICATION_FORM = 'https://forms.gle/e8zAUSGniWopQDNP9';
import cn from "./Banner.module.scss";

function Banner() {
return (
<div className={`fill black ${cn.banner}`}>
<div className={`fill blue ${cn.banner}`}>
<p>
Interested in becoming part of Design at UCI&apos;s Board? Submit a{' '}
<a
target='_blank'
rel='noreferrer'
className='color blue'
href={APPLICATION_FORM}
>
board application
</a>{' '}
by May 7th.
<Link to="/houses" className={cn.underline}>
Join the DAUCI Houses
</Link>{" "}
to connect with your own design family!
</p>
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions src/app/components/Banner/Banner.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@

padding: 1rem;
text-align: center;

.underline {
text-decoration: underline;
}
}

0 comments on commit b153ac2

Please sign in to comment.