diff --git a/.github/ISSUE_TEMPLATE/04-roadmap-contribution.yml b/.github/ISSUE_TEMPLATE/04-roadmap-contribution.yml index a59e632a2..8753d54c4 100644 --- a/.github/ISSUE_TEMPLATE/04-roadmap-contribution.yml +++ b/.github/ISSUE_TEMPLATE/04-roadmap-contribution.yml @@ -14,24 +14,12 @@ body: placeholder: e.g. Roadmap to learn Data Science validations: required: true - - type: dropdown - id: browsers - attributes: - label: Is this roadmap prepared by you or someone else? - options: - - I prepared this roadmap - - I found this roadmap online (please provide a link below) - type: textarea id: roadmap-description attributes: - label: Roadmap Items - description: Please submit a nested list of items which we can convert into the visual. Here is an [example of roadmap items list.](https://gist.github.com/kamranahmedse/98758d2c73799b3a6ce17385e4c548a5). + label: Roadmap Link + description: Please create the roadmap [using our roadmap editor](https://twitter.com/kamrify/status/1708293162693767426) and submit the roadmap link. placeholder: | - - Item 1 - - Subitem 1 - - Subitem 2 - - Item 2 - - Subitem 1 - - Subitem 2 + https://roadmap.sh/xyz validations: - required: true \ No newline at end of file + required: true diff --git a/readme.md b/readme.md index 9e3c0b457..8e095c591 100644 --- a/readme.md +++ b/readme.md @@ -9,8 +9,8 @@ best practices - - videos + + videos roadmaps diff --git a/src/components/CustomRoadmap/CustomRoadmap.tsx b/src/components/CustomRoadmap/CustomRoadmap.tsx index 06be83417..4551b8922 100644 --- a/src/components/CustomRoadmap/CustomRoadmap.tsx +++ b/src/components/CustomRoadmap/CustomRoadmap.tsx @@ -40,17 +40,6 @@ export interface RoadmapContentDocument { }[]; } -export type CreatorType = { - id: string; - name: string; - avatar: string; -}; - -export type GetRoadmapResponse = RoadmapDocument & { - canManage: boolean; - creator?: CreatorType; -}; - export function hideRoadmapLoader() { const loaderEl = document.querySelector( '[data-roadmap-loader]' diff --git a/src/components/CustomRoadmap/RoadmapHeader.tsx b/src/components/CustomRoadmap/RoadmapHeader.tsx index 6a8d1243f..320451a87 100644 --- a/src/components/CustomRoadmap/RoadmapHeader.tsx +++ b/src/components/CustomRoadmap/RoadmapHeader.tsx @@ -15,12 +15,7 @@ export function RoadmapHeader(props: RoadmapHeaderProps) { const $canManageCurrentRoadmap = useStore(canManageCurrentRoadmap); const $currentRoadmap = useStore(currentRoadmap); - const { - title, - description, - _id: roadmapId, - creator, - } = useStore(currentRoadmap) || {}; + const { title, description, _id: roadmapId } = useStore(currentRoadmap) || {}; const [isSharing, setIsSharing] = useState(false); const toast = useToast(); @@ -66,13 +61,7 @@ export function RoadmapHeader(props: RoadmapHeaderProps) { return (
-
- -

- {creator?.name || 'Anonymous'} -

-
-
+

{title}

{description} diff --git a/src/components/CustomRoadmap/SkeletonRoadmapHeader.tsx b/src/components/CustomRoadmap/SkeletonRoadmapHeader.tsx index 2879e9f9f..8548e6d78 100644 --- a/src/components/CustomRoadmap/SkeletonRoadmapHeader.tsx +++ b/src/components/CustomRoadmap/SkeletonRoadmapHeader.tsx @@ -2,11 +2,7 @@ export function SkeletonRoadmapHeader() { return (

-
-
-
-
-
+