1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-25 00:21:28 +02:00

Add upgrade button on ai page

This commit is contained in:
Kamran Ahmed
2025-04-17 10:57:35 +01:00
parent 69d9dd23b2
commit 3f0db1526d

View File

@@ -83,7 +83,7 @@ export function AICourse(props: AICourseProps) {
<UpgradeAccountModal onClose={() => setIsUpgradeModalOpen(false)} />
)}
{!isPaidUser && isLoggedIn() && (
<div className="absolute bottom-full left-1/2 -translate-x-1/2 -translate-y-8 text-gray-500">
<div className="absolute max-md:hidden bottom-full left-1/2 -translate-x-1/2 -translate-y-8 text-gray-500">
You are on the free plan
<button
onClick={() => setIsUpgradeModalOpen(true)}