Add Notification and new mini desing
This commit is contained in:
@@ -11,7 +11,7 @@ export default function Auth({ onLogin }) {
|
||||
const [showPassword, setShowPassword] = useState(false);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [error, setError] = useState('');
|
||||
const [theme] = useState(localStorage.getItem('theme') || 'dark');
|
||||
const [theme] = useState(localStorage.getItem('theme') || 'modern');
|
||||
const [oidcProviders, setOidcProviders] = useState({});
|
||||
|
||||
const currentTheme = getTheme(theme);
|
||||
@@ -182,7 +182,7 @@ export default function Auth({ onLogin }) {
|
||||
{isLogin && (
|
||||
<div className={`mt-6 text-center text-sm ${currentTheme.textSecondary}`}>
|
||||
<p>Учётные данные по умолчанию:</p>
|
||||
<p className={`${currentTheme.text} font-mono mt-1`}>Sofa12345 / arkonsad123</p>
|
||||
<p className={`${currentTheme.text} font-mono mt-1`}>none / none</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user