Skip to content

Commit 635f378

Browse files
committed
chore: add a pro btn
1 parent 664012f commit 635f378

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

apps/web/src/app/(main)/dashboard/account/page.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ export default function AccountPage() {
3737
)}
3838
</div>
3939
</div>
40+
{!isPaidUser && (
41+
<div>
42+
<Link
43+
href="/pricing"
44+
className="inline-flex items-center justify-center px-3 py-1.5 bg-ox-purple hover:bg-ox-purple-2 text-white rounded-md transition-colors text-xs font-medium"
45+
>
46+
be a pro
47+
</Link>
48+
</div>
49+
)}
4050
</div>
4151
</div>
4252
</div>

apps/web/src/app/(main)/dashboard/sheet/page.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,15 @@ export default function SheetPage() {
176176
return (
177177
<div className="w-full h-full flex flex-col p-6 sm:p-6 overflow-hidden">
178178
<div className="flex items-center justify-between pb-6 flex-shrink-0 flex-wrap gap-4">
179-
<h2 className="text-xl sm:text-2xl md:text-3xl font-semibold text-white tracking-tight">
180-
30 days of Open Source sheet
181-
</h2>
179+
<div className="flex items-center gap-3 flex-wrap">
180+
<h2 className="text-xl sm:text-2xl md:text-3xl font-semibold text-white tracking-tight">
181+
30 days of Open Source sheet
182+
</h2>
183+
<span className="text-xs text-ox-white">
184+
(i don&apos;t have a marketing budget, please share this sheet with
185+
others 🙏 :)
186+
</span>
187+
</div>
182188
<div className="flex items-center gap-3 flex-shrink-0">
183189
{copied && (
184190
<Badge className="bg-ox-purple text-white border-0 flex items-center gap-1">
@@ -212,7 +218,9 @@ export default function SheetPage() {
212218

213219
<div className="mb-6 flex-shrink-0">
214220
<p className="text-white text-sm italic">
215-
&quot;sometimes, these modules may feel boring and hard af but that&apos;s the cost of learning something worthy. you go through it. you win. simple.&quot; — ajeet
221+
&quot;sometimes, these modules may feel boring and hard af but
222+
that&apos;s the cost of learning something worthy. you go through it.
223+
you win. simple.&quot; — ajeet
216224
</p>
217225
</div>
218226

0 commit comments

Comments
 (0)