1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-29 20:21:50 +02:00

Update button design for cards

This commit is contained in:
Kamran Ahmed
2024-09-23 12:00:23 +01:00
parent 9b865678b2
commit 3355b91aa0
3 changed files with 15 additions and 21 deletions

View File

@@ -3,6 +3,6 @@
"enabled": false "enabled": false
}, },
"_variables": { "_variables": {
"lastUpdateCheck": 1725962974592 "lastUpdateCheck": 1727087951727
} }
} }

View File

@@ -28,18 +28,15 @@ export function DashboardAiRoadmaps(props: DashboardAiRoadmapsProps) {
<> <>
<div className="mb-2 mt-6 flex items-center justify-between gap-2"> <div className="mb-2 mt-6 flex items-center justify-between gap-2">
<h2 className="text-xs uppercase text-gray-400"> <h2 className="text-xs uppercase text-gray-400">
AI Generated Roadmaps My AI Roadmaps
</h2> </h2>
{!isLoading && roadmaps.length !== 0 && ( <a
<a href="/ai/explore"
href="/ai/explore" className="rounded-full bg-gray-200 px-2.5 py-0.5 text-xs font-medium text-gray-700 hover:bg-gray-300 hover:text-black"
className="flex items-center gap-1 text-xs text-gray-500 hover:text-black" >
> AI Generated Roadmaps
<ArrowUpRight size={12} /> </a>
AI Generated Roadmaps
</a>
)}
</div> </div>
{!isLoading && roadmaps.length === 0 && ( {!isLoading && roadmaps.length === 0 && (

View File

@@ -48,18 +48,15 @@ export function ListDashboardCustomProgress(
<div className="mb-2 mt-6 flex items-center justify-between gap-2"> <div className="mb-2 mt-6 flex items-center justify-between gap-2">
<h2 className="text-xs uppercase text-gray-400"> <h2 className="text-xs uppercase text-gray-400">
{isAIGeneratedRoadmaps ? 'AI Generated Roadmaps' : 'Custom Roadmaps'} {isAIGeneratedRoadmaps ? 'My AI Roadmaps' : 'My Custom Roadmaps'}
</h2> </h2>
{!isLoading && progresses.length !== 0 && ( <a
<a href="/community"
href="/ai/explore" className="rounded-full bg-gray-200 px-2.5 py-0.5 text-xs font-medium text-gray-700 hover:bg-gray-300 hover:text-black"
className="flex items-center gap-1 text-xs text-gray-500 hover:text-black" >
> Community Roadmaps
<ArrowUpRight size={12} /> </a>
Community Roadmaps
</a>
)}
</div> </div>
{!isLoading && progresses.length === 0 && isAIGeneratedRoadmaps && ( {!isLoading && progresses.length === 0 && isAIGeneratedRoadmaps && (