|
|
@ -33,6 +33,8 @@ let jsonLdSchema: any[] = []; |
|
|
|
|
|
|
|
|
|
|
|
const ogImageUrl = projectData?.seo?.ogImageUrl || '/images/og-img.png'; |
|
|
|
const ogImageUrl = projectData?.seo?.ogImageUrl || '/images/og-img.png'; |
|
|
|
const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/master/src/data/projects/${projectId}.md`; |
|
|
|
const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/master/src/data/projects/${projectId}.md`; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const parentRoadmapId = projectData?.roadmapIds?.[0] || ''; |
|
|
|
--- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
<BaseLayout |
|
|
|
<BaseLayout |
|
|
@ -47,11 +49,13 @@ const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/maste |
|
|
|
> |
|
|
|
> |
|
|
|
<div class='bg-gray-50'> |
|
|
|
<div class='bg-gray-50'> |
|
|
|
<div class='container'> |
|
|
|
<div class='container'> |
|
|
|
<ProjectTabs projectId={projectId} activeTab='details' /> |
|
|
|
<ProjectTabs parentRoadmapId={parentRoadmapId} projectId={projectId} activeTab='details' /> |
|
|
|
|
|
|
|
|
|
|
|
<div class='mb-4 rounded-lg border bg-gradient-to-b from-gray-100 to-white to-10% py-2 p-4 sm:p-5'> |
|
|
|
<div |
|
|
|
|
|
|
|
class='mb-4 rounded-lg border bg-gradient-to-b from-gray-100 to-white to-10% p-4 py-2 sm:p-5' |
|
|
|
|
|
|
|
> |
|
|
|
<div class='relative'> |
|
|
|
<div class='relative'> |
|
|
|
<div class='mb-4 hidden sm:flex items-center justify-between'> |
|
|
|
<div class='mb-4 hidden items-center justify-between sm:flex'> |
|
|
|
<div class='flex flex-row flex-wrap gap-1.5'> |
|
|
|
<div class='flex flex-row flex-wrap gap-1.5'> |
|
|
|
{ |
|
|
|
{ |
|
|
|
projectData.skills.map((skill) => ( |
|
|
|
projectData.skills.map((skill) => ( |
|
|
@ -61,9 +65,13 @@ const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/maste |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<Badge variant='yellow' text={projectData.difficulty} /> |
|
|
|
<Badge variant='yellow' text={projectData.difficulty} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="my-2 sm:my-7"> |
|
|
|
<div class='my-2 sm:my-7'> |
|
|
|
<h1 class='mb-1 sm:mb-2 text-xl sm:text-3xl font-semibold'>{projectData.title}</h1> |
|
|
|
<h1 class='mb-1 text-xl font-semibold sm:mb-2 sm:text-3xl'> |
|
|
|
<p class='text-balance text-sm text-gray-500'>{projectData.description}</p> |
|
|
|
{projectData.title} |
|
|
|
|
|
|
|
</h1> |
|
|
|
|
|
|
|
<p class='text-balance text-sm text-gray-500'> |
|
|
|
|
|
|
|
{projectData.description} |
|
|
|
|
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|