diff --git a/src/components/SponsorBanner/index.tsx b/src/components/SponsorBanner/index.tsx index 784921d7..c1f1dd90 100644 --- a/src/components/SponsorBanner/index.tsx +++ b/src/components/SponsorBanner/index.tsx @@ -1,15 +1,22 @@ -import React from 'react'; +import React, { useState, useEffect } from 'react'; import Banner from '../Banner'; -const BANNER_LOCAL_STORAGE_KEY = '2026-03-03-mechanize-survey-banner'; +const BANNER_LOCAL_STORAGE_KEY = '2026-04-14-mechanize-survey-banner'; const SPONSOR_LINK = 'https://jobs.ashbyhq.com/mechanize?utm_source=gt-scheduler'; -function Content(): React.ReactElement { +const SLOGANS = [ + 'Better at coding than AI? Prove it. Mechanize: $300k + equity.', + 'Mechanize is hiring junior software engineers. 300k base + equity.', + "We hire engineers to outsmart AI. It's harder than you think. $300k + equity.", + "Most engineers can't beat Claude on our take-home. Think you can? $300k + equity for junior SWEs at Mechanize.", +]; + +function Content({ text }: { text: string }): React.ReactElement { return ( - Mechanize is hiring junior software engineers. 300k base + equity.{' '} + {text}{' '} { + const randomIndex = Math.floor(Math.random() * SLOGANS.length); + setSlogan(SLOGANS[randomIndex]); + }, []); + + if (!slogan) { + return null; + } + return ( } - mobileContent={} + content={} + mobileContent={} /> ); }