Update signup popup message

pull/8331/head
Kamran Ahmed 1 month ago
parent ebb88721b6
commit 6d28ab40a8
  1. 2
      src/components/AuthenticationFlow/LoginPopup.astro
  2. 2
      src/components/GenerateCourse/UserCoursesList.tsx

@ -7,7 +7,7 @@ import { AuthenticationForm } from './AuthenticationForm';
<Popup id='login-popup' title='' subtitle=''>
<div class='mb-7 text-center'>
<p class='mb-3 text-2xl font-semibold leading-5 text-slate-900'>
Login to your account
Login or Signup
</p>
<p class='mt-2 text-sm leading-4 text-slate-600'>
You must be logged in to perform this action.

@ -144,7 +144,7 @@ export function UserCoursesList(props: UserCoursesListProps) {
</div>
)}
{!isUserAiCoursesLoading && !isInitialLoading && courses.length === 0 && (
{!isUserAiCoursesLoading && !isInitialLoading && courses.length === 0 && isAuthenticated && (
<div className="flex min-h-[152px] items-center justify-center rounded-lg border border-gray-200 bg-white py-4">
<p className="text-sm text-gray-600">
You haven't generated any courses yet.

Loading…
Cancel
Save