Spaces:
Running
Running
is pro
Browse files
components/my-projects/index.tsx
CHANGED
|
@@ -81,7 +81,7 @@ export function MyProjects({
|
|
| 81 |
)}
|
| 82 |
</header>
|
| 83 |
<div className="mt-8 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 84 |
-
{projects.length < MAX_FREE_PROJECTS ? (
|
| 85 |
<Link
|
| 86 |
href="/projects/new"
|
| 87 |
className="bg-neutral-900 rounded-xl h-44 flex items-center justify-center text-neutral-300 border border-neutral-800 hover:brightness-110 transition-all duration-200"
|
|
|
|
| 81 |
)}
|
| 82 |
</header>
|
| 83 |
<div className="mt-8 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 84 |
+
{projects.length < MAX_FREE_PROJECTS || user?.isPro ? (
|
| 85 |
<Link
|
| 86 |
href="/projects/new"
|
| 87 |
className="bg-neutral-900 rounded-xl h-44 flex items-center justify-center text-neutral-300 border border-neutral-800 hover:brightness-110 transition-all duration-200"
|