Skip to content

Commit 7354aa7

Browse files
committed
feat: add boss banner 2025
1 parent 0d0d934 commit 7354aa7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/components/banner/BossBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const BossBanner = ({ top }: { top: number }) => {
1414
<Banner
1515
headingText="Start your career in bitcoin open source —"
1616
linkText="APPLY TODAY"
17-
linkTo="https://learning.chaincode.com/#BOSS"
17+
linkTo="https://bosschallenge.xyz"
1818
hasBoss
1919
/>
2020
</Box>

src/components/home/HeroSection.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const HeroSection = ({ getStarted }: { getStarted: () => void }) => {
2424
className="hero-section "
2525
flexDir={"column"}
2626
width={"100%"}
27+
pt={{ lg: 14 }}
2728
id="hero-section"
2829
position={"relative"}
2930
>

src/layout/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { useRouter } from "next/router";
88
import Navbar from "@/components/navbar/Navbar";
99
import config from "@/config/config.json";
1010
import Script from "next/script";
11+
import BossBanner from "@/components/banner/BossBanner";
1112

1213
const Layout = ({ children }: { children: React.ReactNode }) => {
1314
const [isReviewSite, setIsReviewSite] = useState(false);
@@ -54,6 +55,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
5455
></meta>
5556
</Head>
5657
{!isRoot && <Navbar />}
58+
{(isRoot || isHomeRouter) && <BossBanner top={isRoot ? 0 : 12} />}
5759
<GlobalContainer
5860
flexGrow={1}
5961
py={!isRoot ? 4 : 0}

0 commit comments

Comments
 (0)