feat: onboarding trial flow, Google sign-in, dark mode hotspot fixes

- Move trial creation from auth hook to dedicated /subscriptions/trial endpoint
  with eligibility checks (3-day Full Paket trial)
- Add animated onboarding progress (Remotion) with confetti on completion
- Register redirects to subscription page with welcome flow
- Add Google social login/signup support with config injection
- Improve hotspot overlay visibility in dark mode
- Show "Panele Git" on landing page when authenticated
- Turkish translations for API error messages
- Add toast utility wrapper, UUID generation for auth IDs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sase Dev
2026-02-15 14:53:57 +00:00
parent a5ee147675
commit 87d8eea298
50 changed files with 1116 additions and 298 deletions

View File

@@ -16,7 +16,7 @@ export class PlansService {
async findById(id: string) {
const result = await this.db.select().from(plans).where(eq(plans.id, id)).limit(1);
if (result.length === 0) throw new NotFoundException("Plan not found");
if (result.length === 0) throw new NotFoundException("Plan bulunamadı");
return result[0];
}
@@ -34,7 +34,7 @@ export class PlansService {
.set({ ...data, updatedAt: new Date() })
.where(eq(plans.id, id))
.returning();
if (!plan) throw new NotFoundException("Plan not found");
if (!plan) throw new NotFoundException("Plan bulunamadı");
return plan;
}
}