File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments