Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/banner/BossBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const BossBanner = ({ top }: { top: number }) => {
>
<Banner
headingText="Start your career in bitcoin open source —"
linkText="APPLY TODAY"
linkTo="https://learning.chaincode.com/#BOSS"
linkText="APPLY FOR THE ₿OSS CHALLENGE TODAY"
linkTo="https://bosschallenge.xyz"
hasBoss
/>
</Box>
Expand Down
1 change: 1 addition & 0 deletions src/components/home/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const HeroSection = ({ getStarted }: { getStarted: () => void }) => {
className="hero-section "
flexDir={"column"}
width={"100%"}
pt={{ lg: 14 }}
id="hero-section"
position={"relative"}
>
Expand Down
2 changes: 2 additions & 0 deletions src/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useRouter } from "next/router";
import Navbar from "@/components/navbar/Navbar";
import config from "@/config/config.json";
import Script from "next/script";
import BossBanner from "@/components/banner/BossBanner";

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