Skip to content

Commit fe30e12

Browse files
committed
add bp-26 interest banners
1 parent 62a5a78 commit fe30e12

File tree

2 files changed

+49
-31
lines changed

2 files changed

+49
-31
lines changed

src/DesktopLayout.tsx

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
1-
import { Routes, Route, Link } from "react-router-dom";
2-
import logo from "/images/logo.png";
3-
import Footer from "./components/sections/Footer";
1+
import { Link, Route, Routes } from "react-router-dom";
42
import About from "./components/sections/About";
5-
import Tracks from "./components/sections/Tracks";
63
import Faq from "./components/sections/FAQ";
4+
import Footer from "./components/sections/Footer";
5+
import Home from "./components/sections/Home";
76
import Photos from "./components/sections/Photos";
87
import Schedule from "./components/sections/Schedule";
9-
import Home from "./components/sections/Home";
10-
import Countdown from "./components/Countdown";
8+
import Tracks from "./components/sections/Tracks";
9+
import logo from "/images/logo.png";
1110

1211
function DesktopLayout() {
1312
return (
1413
<div className="flex flex-col h-screen overflow-hidden justify-between relative">
15-
<div className="flex flex-col justify-start">
16-
<div className="fixed top-4 w-full px-8 flex justify-between items-center z-50">
17-
<Link to="/">
18-
<img
19-
src={logo}
20-
alt="HackMIT Logo"
21-
className="w-24 h-24 object-contain"
22-
/>
23-
</Link>
14+
<div className="w-full flex justify-center bg-magenta text-light-pink text-xl py-2">
15+
<div>
16+
Interested in Blueprint 2026? Fill out our{" "}
2417
<a
25-
href="https://plume.hackmit.org"
26-
target="_blank"
27-
className="bg-magenta text-light-pink px-4 py-2 rounded-lg font-medium text-4xl hover:opacity-80 transition-opacity"
18+
className="text-pale-yellow underline cursor-pointer"
19+
href="https://go.hackmit.org/bp-interest"
2820
>
29-
Apply
30-
</a>
21+
interest form
22+
</a>{" "}
23+
to receive updates as soon as applications open!
3124
</div>
32-
<div className="fixed top-28 w-full flex items-center justify-between text-magenta font-medium text-xl px-8 z-30">
33-
<div>3.1 - 3.2 2025</div>
34-
<Countdown
35-
className="flex flex-col items-end"
36-
to={new Date("February 3, 2025 23:59:59 EST")}
37-
/>
25+
</div>
26+
<div className="relative flex flex-col justify-start">
27+
<div className="absolute w-full px-8 flex justify-between items-center z-50">
28+
<div>
29+
<Link to="/">
30+
<img
31+
src={logo}
32+
alt="HackMIT Logo"
33+
className="w-24 h-24 object-contain"
34+
/>
35+
</Link>
36+
<div>3.1 - 3.2 2025</div>
37+
</div>
38+
<div />
3839
</div>
3940
<div></div>
4041
</div>

src/MobileLayout.tsx

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
1+
import AboutMobile from "./components/mobile/AboutMobile";
2+
import FaqMobile from "./components/mobile/FAQMobile";
13
import FooterMobile from "./components/mobile/FooterMobile";
2-
import Navbar from "./components/mobile/Navbar";
34
import HomeMobile from "./components/mobile/HomeMobile";
4-
import AboutMobile from "./components/mobile/AboutMobile";
5-
import TracksMobile from "./components/mobile/TracksMobile";
6-
import ScheduleMobile from "./components/mobile/ScheduleMobile";
5+
import Navbar from "./components/mobile/Navbar";
76
import PhotosMobile from "./components/mobile/PhotosMobile";
8-
import FaqMobile from "./components/mobile/FAQMobile";
7+
import ScheduleMobile from "./components/mobile/ScheduleMobile";
8+
import TracksMobile from "./components/mobile/TracksMobile";
99

1010
const MobileLayout = () => {
1111
return (
1212
<>
13+
<div
14+
className={
15+
"w-full flex justify-center bg-magenta text-light-pink text-xl " +
16+
"py-2 px-3 rounded-bl-md rounded-br-md"
17+
}
18+
>
19+
<div>
20+
Interested in Blueprint 2026? Fill out our{" "}
21+
<a
22+
className="text-pale-yellow underline cursor-pointer"
23+
href="https://go.hackmit.org/bp-interest"
24+
>
25+
interest form
26+
</a>{" "}
27+
to receive updates as soon as applications open!
28+
</div>
29+
</div>
1330
<Navbar />
1431
<HomeMobile />
1532
<AboutMobile />

0 commit comments

Comments
 (0)