computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
889 B
30 lines
889 B
12 months ago
|
import { type ReactNode } from 'react';
|
||
|
import { SectionBadge } from './SectionBadge.tsx';
|
||
|
|
||
|
type RoleRoadmapsProps = {
|
||
|
badge: string;
|
||
|
title: string;
|
||
|
description: string;
|
||
|
children: ReactNode;
|
||
|
};
|
||
|
|
||
|
export function RoleRoadmaps(props: RoleRoadmapsProps) {
|
||
|
const { badge, title, description, children } = props;
|
||
|
|
||
|
return (
|
||
|
<div className="bg-gradient-to-b from-gray-100 to-white py-5 sm:py-8 md:py-12">
|
||
|
<div className="container">
|
||
|
<div className="text-left">
|
||
|
<SectionBadge title={badge} />
|
||
|
</div>
|
||
|
<div className="my-4 sm:my-7 text-left">
|
||
|
<h2 className="mb-1 text-xl sm:text-3xl font-semibold">{title}</h2>
|
||
|
<p className="text-sm sm:text-base text-gray-500">{description}</p>
|
||
|
|
||
|
<div className="mt-4 sm:mt-7 grid sm:grid-cols-2 md:grid-cols-3 gap-3">{children}</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
}
|