2026-05-04-03-08-20 更新系统标题和logo并部署4000端口

This commit is contained in:
2026-05-04 03:12:53 +08:00
parent 2017348cf1
commit a6f3836460
8 changed files with 273 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { motion } from 'motion/react';
import { Layout, Lock, User, CheckCircle2 } from 'lucide-react';
import { Lock, User } from 'lucide-react';
interface LoginProps {
onLogin: () => void;
@@ -28,12 +28,16 @@ export default function Login({ onLogin }: LoginProps) {
className="w-full max-w-md"
>
<div className="bg-white rounded-2xl shadow-xl overflow-hidden border border-neutral-200">
<div className="bg-blue-600 p-8 text-white text-center">
<div className="inline-flex items-center justify-center w-16 h-16 bg-white/20 rounded-2xl mb-4 backdrop-blur-sm">
<Layout size={32} />
<div className="bg-slate-950 p-8 text-white text-center">
<div className="inline-flex items-center justify-center w-24 h-24 mb-4">
<img
src="/logo.png"
alt="模型逆向系统"
className="h-full w-full object-contain"
/>
</div>
<h1 className="text-xl font-bold leading-tight px-4">DICOM分割标注系统</h1>
<p className="text-blue-100 mt-2 font-medium"></p>
<h1 className="text-2xl font-bold leading-tight px-4"></h1>
<p className="text-slate-300 mt-2 font-medium">DICOM分割标注系</p>
</div>
<form onSubmit={handleSubmit} className="p-8 space-y-6">

View File

@@ -41,8 +41,12 @@ export default function Sidebar({
className="h-screen bg-slate-900 text-slate-300 flex flex-col relative z-20 transition-all duration-300 shadow-2xl"
>
<div className="p-6 flex items-center gap-3 overflow-hidden">
<div className="w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center text-white shrink-0">
<Box size={24} />
<div className="w-10 h-10 rounded-xl flex items-center justify-center shrink-0 overflow-hidden">
<img
src="/logo.png"
alt="模型逆向系统"
className="h-full w-full object-contain"
/>
</div>
{!collapsed && (
<motion.div