dark mode

This commit is contained in:
M1ngdaXie
2026-02-08 16:23:06 -08:00
parent 10110e26b3
commit 10fd9cdecb
14 changed files with 207 additions and 6 deletions

View File

@@ -2,6 +2,8 @@ import { useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import { useAuth } from '../contexts/AuthContext';
import { API_BASE_URL } from '../config';
import DocNestLogo from '../assets/docnest/docnest-icon-128.png';
import ThemeToggle from '../components/ThemeToggle';
import './LoginPage.css';
function LoginPage() {
@@ -34,8 +36,14 @@ function LoginPage() {
return (
<div className="login-page">
<div className="login-theme-toggle">
<ThemeToggle />
</div>
<div className="login-container">
<h1 className="login-title">DocNest</h1>
<div className="login-brand">
<img src={DocNestLogo} alt="DocNest" className="login-logo" />
<h1 className="login-title">DocNest</h1>
</div>
<p className="login-subtitle">Collaborate in real time with your team</p>
<div className="login-buttons">