mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-03-12 17:51:53 +08:00
Update forkable roadmap
This commit is contained in:
@@ -71,7 +71,6 @@ export function CreateVersion(props: CreateVersionProps) {
|
||||
import.meta.env.PUBLIC_EDITOR_APP_URL
|
||||
}/${response?.roadmapId}`;
|
||||
|
||||
setIsCreating(false);
|
||||
window.open(roadmapEditorUrl, '_blank');
|
||||
}
|
||||
|
||||
@@ -122,7 +121,7 @@ export function CreateVersion(props: CreateVersionProps) {
|
||||
return (
|
||||
<button
|
||||
disabled={isCreating}
|
||||
className="flex items-center justify-center rounded-md border bg-gray-50 px-2.5 py-1 text-xs font-medium text-black hover:bg-gray-200 disabled:cursor-not-allowed disabled:bg-gray-100 disabled:hover:bg-gray-100 max-sm:hidden sm:text-sm"
|
||||
className="flex items-center justify-center rounded-md border border-gray-300 bg-gray-50 px-2.5 py-1 text-xs font-medium text-black hover:bg-gray-200 disabled:cursor-not-allowed disabled:bg-gray-100 disabled:hover:bg-gray-100 max-sm:hidden sm:text-sm"
|
||||
onClick={() => {
|
||||
if (!isLoggedIn()) {
|
||||
showLoginPopup();
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"type": "title",
|
||||
"position": {
|
||||
"x": -209.5,
|
||||
"y": -102.59925177765109
|
||||
"y": -62.59925177765109
|
||||
},
|
||||
"selected": false,
|
||||
"data": {
|
||||
@@ -90,7 +90,7 @@
|
||||
"dragging": false,
|
||||
"positionAbsolute": {
|
||||
"x": -209.5,
|
||||
"y": -102.59925177765109
|
||||
"y": -62.59925177765109
|
||||
},
|
||||
"focusable": true
|
||||
},
|
||||
@@ -1436,12 +1436,12 @@
|
||||
},
|
||||
{
|
||||
"width": 20,
|
||||
"height": 150,
|
||||
"height": 67,
|
||||
"id": "LEijbLyxg4RyutKEM2Y5g",
|
||||
"type": "vertical",
|
||||
"position": {
|
||||
"x": -137,
|
||||
"y": -252.5992517776511
|
||||
"y": -129.5992517776511
|
||||
},
|
||||
"selected": false,
|
||||
"data": {
|
||||
@@ -1450,17 +1450,22 @@
|
||||
"strokeDasharray": "0.8 8",
|
||||
"strokeLinecap": "round",
|
||||
"strokeWidth": 3.5,
|
||||
"stroke": "black"
|
||||
"stroke": "#0A33FF"
|
||||
},
|
||||
"oldId": "xD07fJ1NmNeAarVCEfubU"
|
||||
},
|
||||
"zIndex": 999,
|
||||
"positionAbsolute": {
|
||||
"x": -137,
|
||||
"y": -252.5992517776511
|
||||
"y": -129.5992517776511
|
||||
},
|
||||
"dragging": false,
|
||||
"focusable": true
|
||||
"focusable": true,
|
||||
"style": {
|
||||
"width": 20,
|
||||
"height": 67
|
||||
},
|
||||
"resizing": false
|
||||
},
|
||||
{
|
||||
"width": 176,
|
||||
@@ -3876,7 +3881,7 @@
|
||||
"selected": false,
|
||||
"data": {
|
||||
"label": "Performance Best Practices",
|
||||
"href": "",
|
||||
"href": "https://roadmap.sh/best-practices/frontend-performance",
|
||||
"color": "#ffffff",
|
||||
"backgroundColor": "#4136d6",
|
||||
"style": {
|
||||
|
||||
Reference in New Issue
Block a user