Skip to content

Commit e78292a

Browse files
committed
made sure free demo page redirects to sign up page
1 parent 73059d5 commit e78292a

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,6 @@ You dont even need Python installed to follow the lessons in the browser, but if
125125

126126
Its built by Vedant Daga [https://github.com/DagaVedant](https://github.com/DagaVedant)
127127

128-
Also using different fonts from [Google Fonts](https://fonts.google.com)
128+
Also using different fonts from [Google Fonts](https://fonts.google.com)
129+
130+
I have used AI to help with coding (mainly supabase setup) and other integrations, but most of the design was done by me like Figma design for website and I made all the questions and information on the lessons

lesson.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ <h1 id="h1"></h1>
10931093
const i = +btn.dataset.index;
10941094
const fb = document.getElementById(`practice-feedback-${i}`);
10951095
fb.className = 'practice-ai-row show';
1096-
fb.innerHTML = 'Create a free account to save your work and get AI feedback — <a href="login.html">sign in</a>.';
1096+
fb.innerHTML = 'Create a free account to save your work and get AI feedback — <a href="signup.html">sign in</a>.';
10971097
});
10981098
});
10991099
}
@@ -1103,7 +1103,7 @@ <h1 id="h1"></h1>
11031103
const { data: { session } } = await db.auth.getSession();
11041104

11051105
if (!session) {
1106-
if (!isFree) { window.location.href = 'login.html'; return; }
1106+
if (!isFree) { window.location.href = 'signup.html'; return; }
11071107
enablePreviewMode();
11081108
return;
11091109
}

0 commit comments

Comments
 (0)