mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-30 11:46:36 +08:00
Polish login copy and restore README community sections
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { motion } from 'framer-motion'
|
||||
import toast from 'react-hot-toast'
|
||||
import { Eye, EyeOff, ArrowRight, ShieldCheck, Lock, User } from 'lucide-react'
|
||||
import { Eye, EyeOff, ArrowRight, Lock, User } from 'lucide-react'
|
||||
import { AppFooter } from '../components/AppFooter'
|
||||
import { authAPI } from '../api/auth'
|
||||
import { useAuthStore } from '../stores/auth'
|
||||
@@ -74,7 +74,7 @@ export function LoginPage() {
|
||||
transition={{ delay: 0.35 }}
|
||||
className="mt-2 text-xs font-bold uppercase tracking-widest text-[#c9954a]"
|
||||
>
|
||||
家庭媒体私有站舱
|
||||
一站式媒体管理中心
|
||||
</motion.p>
|
||||
</div>
|
||||
|
||||
@@ -166,20 +166,6 @@ export function LoginPage() {
|
||||
)}
|
||||
</button>
|
||||
</motion.div>
|
||||
|
||||
{/* Quick Helper Credentials */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ delay: 0.55 }}
|
||||
className="flex items-center justify-center gap-1.5 rounded-xl bg-gray-50 border border-gray-100 px-4 py-2.5 text-xs text-gray-500"
|
||||
>
|
||||
<ShieldCheck size={14} className="text-brand-500" />
|
||||
<span>默认访问凭证: </span>
|
||||
<code className="rounded-lg bg-gray-200/50 px-1.5 py-0.5 font-mono text-[#111827] font-semibold">
|
||||
admin / admin123
|
||||
</code>
|
||||
</motion.div>
|
||||
</form>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
Reference in New Issue
Block a user