Skip to content

Commit 681f2e5

Browse files
committed
v2.63
1 parent 85c102a commit 681f2e5

5 files changed

Lines changed: 0 additions & 410 deletions

File tree

index.html

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,6 @@ <h1 class="text-5xl font-semibold tracking-tight sm:text-7xl">
152152
Learn →
153153
</a>
154154

155-
<!-- PREMIUM (shown only when logged in) -->
156-
<a id="premium-btn" href="./plans.html"
157-
class="hidden rounded-md bg-emerald-600 px-6 py-3 text-sm font-semibold text-black hover:bg-emerald-500 shadow-lg">
158-
Premium
159-
</a>
160-
161155
</div>
162156
</div>
163157

@@ -249,21 +243,5 @@ <h1 class="text-5xl font-semibold tracking-tight sm:text-7xl">
249243
}
250244
});
251245
</script>
252-
<script>
253-
// SHOW PREMIUM ON LOGIN ONLY
254-
async function showPremiumButton() {
255-
const { data } = await _supabase.auth.getUser();
256-
const user = data?.user;
257-
258-
const premiumBtn = document.getElementById("premium-btn");
259-
260-
if (user) {
261-
// Logged in → show premium button
262-
premiumBtn.classList.remove("hidden");
263-
}
264-
}
265-
266-
showPremiumButton();
267-
</script>
268246
</body>
269247
</html>

plans.html

Lines changed: 0 additions & 139 deletions
This file was deleted.

premium.html

Lines changed: 0 additions & 109 deletions
This file was deleted.

subscription.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)