|
|
@ -1,24 +1,40 @@ |
|
|
|
|
|
|
|
import { isLoggedIn } from '../../lib/jwt.ts'; |
|
|
|
|
|
|
|
import { showLoginPopup } from '../../lib/popup.ts'; |
|
|
|
|
|
|
|
|
|
|
|
export function RoadmapsPageHeader() { |
|
|
|
export function RoadmapsPageHeader() { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="bg-white py-3 sm:py-12"> |
|
|
|
<div className="bg-white py-3 sm:py-12"> |
|
|
|
<div className="container"> |
|
|
|
<div className="container"> |
|
|
|
<div className="flex flex-col items-start sm:items-center bg-white"> |
|
|
|
<div className="flex flex-col items-start bg-white sm:items-center"> |
|
|
|
<h1 className="text-2xl sm:text-5xl font-bold">Developer Roadmaps</h1> |
|
|
|
<h1 className="text-2xl font-bold sm:text-5xl">Developer Roadmaps</h1> |
|
|
|
<p className="mb-3 mt-1 sm:my-3 text-sm sm:text-lg"> |
|
|
|
<p className="mb-3 mt-1 text-sm sm:my-3 sm:text-lg"> |
|
|
|
Browse the ever-growing list of up-to-date, community driven roadmaps |
|
|
|
Browse the ever-growing list of up-to-date, community driven |
|
|
|
|
|
|
|
roadmaps |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<p className="flex flex-col sm:flex-row gap-1.5 sm:gap-3 w-full sm:w-auto mb-3 sm:mb-0"> |
|
|
|
<p className="mb-3 flex w-full flex-col gap-1.5 sm:mb-0 sm:w-auto sm:flex-row sm:gap-3"> |
|
|
|
<a |
|
|
|
<a |
|
|
|
className="inline-block rounded-md bg-black px-3.5 py-2 sm:py-1.5 text-sm sm:text-base text-white" |
|
|
|
className="inline-block rounded-md bg-black px-3.5 py-2 text-sm text-white sm:py-1.5 sm:text-base" |
|
|
|
href="#" |
|
|
|
href="https://draw.roadmap.sh" |
|
|
|
|
|
|
|
onClick={(e) => { |
|
|
|
|
|
|
|
if (!isLoggedIn()) { |
|
|
|
|
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
showLoginPopup(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|
Draw your own roadmap |
|
|
|
Draw your own roadmap |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a |
|
|
|
<a |
|
|
|
className="inline-block rounded-md bg-gray-300 px-3.5 py-2 sm:py-1.5 text-sm sm:text-base text-black" |
|
|
|
className="inline-block rounded-md bg-gray-300 px-3.5 py-2 text-sm text-black sm:py-1.5 sm:text-base" |
|
|
|
href="#" |
|
|
|
href="https://roadmap.sh/ai" |
|
|
|
|
|
|
|
onClick={(e) => { |
|
|
|
|
|
|
|
if (!isLoggedIn()) { |
|
|
|
|
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
showLoginPopup(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|
Generate Roadmap with AI |
|
|
|
Generate Roadmaps with AI |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|