mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: add "Hello from the otter side" easter eggs
Custom 404 pages for landing and docs sites, otter greeting on the first-login sidebar, and a one-time welcome toast after password change.
This commit is contained in:
@@ -100,6 +100,7 @@ export function ChangePasswordPage() {
|
||||
return;
|
||||
}
|
||||
|
||||
localStorage.setItem("snapotter-welcome", "1");
|
||||
// Trigger browser password save prompt via real form submission + navigation
|
||||
const username = localStorage.getItem("snapotter-username") || "admin";
|
||||
triggerBrowserPasswordSave(username, newPassword);
|
||||
@@ -218,6 +219,7 @@ export function ChangePasswordPage() {
|
||||
</div>
|
||||
<div className="hidden lg:flex flex-1 bg-primary/90 items-center justify-center p-12 text-white rounded-s-3xl">
|
||||
<div className="max-w-lg space-y-6 text-center">
|
||||
<span className="text-7xl">🦦</span>
|
||||
<h2 className="text-3xl font-bold">{t.changePassword.sidebarTitle}</h2>
|
||||
<p className="text-lg text-white/80">{t.changePassword.sidebarDescription}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user