Первая постановка на уведомления

This commit is contained in:
mi
2026-07-26 13:20:23 +03:00
parent 8c3c454998
commit 8822ae609f
15 changed files with 698 additions and 271 deletions
+17
View File
@@ -1,6 +1,7 @@
import { useState } from 'react';
import { useNavigate } from 'react-router';
import { ArrowRight } from 'lucide-react';
import { setAuthStatus } from '../data/session';
export function AuthPhone() {
const navigate = useNavigate();
@@ -88,6 +89,22 @@ export function AuthPhone() {
</form>
</div>
{/* Низ страницы */}
<div className="space-y-4 text-center">
<button
type="button"
onClick={() => { setAuthStatus('guest'); navigate('/'); }}
className="w-full text-sm text-muted-foreground hover:text-foreground transition-colors py-1"
>
Войти как гость
</button>
<p className="text-xs text-muted-foreground leading-relaxed">
Нажимая «Получить код», вы соглашаетесь с{' '}
<span className="text-foreground/70 underline underline-offset-2">условиями использования</span>
{' '}и{' '}
<span className="text-foreground/70 underline underline-offset-2">политикой конфиденциальности</span>
</p>
</div>
</div>
</div>
);