feat(login): 替换登录页面图标
This commit is contained in:
parent
f9777b8785
commit
2624a7086e
|
|
@ -1,11 +1,11 @@
|
||||||
'use client'
|
'use client';
|
||||||
import Image from 'next/image'
|
import Image from 'next/image';
|
||||||
import { LoginForm } from './components/login-form'
|
import { LoginForm } from './components/login-form';
|
||||||
import { LeftPanel } from './components/LeftPanel'
|
import { LeftPanel } from './components/LeftPanel';
|
||||||
import { IconButton } from '@/components/ui/button'
|
import { IconButton } from '@/components/ui/button';
|
||||||
import { useRouter } from 'next/navigation'
|
import { useRouter } from 'next/navigation';
|
||||||
|
|
||||||
const scrollBg = '/images/login/v1/bg.png'
|
const scrollBg = '/images/login/v1/bg.png';
|
||||||
const images = [
|
const images = [
|
||||||
'/images/login/v1/1.png',
|
'/images/login/v1/1.png',
|
||||||
'/images/login/v1/2.png',
|
'/images/login/v1/2.png',
|
||||||
|
|
@ -17,14 +17,14 @@ const images = [
|
||||||
'/images/login/v1/8.png',
|
'/images/login/v1/8.png',
|
||||||
'/images/login/v1/9.png',
|
'/images/login/v1/9.png',
|
||||||
'/images/login/v1/10.png',
|
'/images/login/v1/10.png',
|
||||||
]
|
];
|
||||||
|
|
||||||
export default function LoginPage() {
|
export default function LoginPage() {
|
||||||
const router = useRouter()
|
const router = useRouter();
|
||||||
|
|
||||||
const handleClose = () => {
|
const handleClose = () => {
|
||||||
router.replace('/')
|
router.replace('/');
|
||||||
}
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex h-screen realoative w-screen overflow-hidden">
|
<div className="flex h-screen realoative w-screen overflow-hidden">
|
||||||
|
|
@ -39,7 +39,7 @@ export default function LoginPage() {
|
||||||
<div className="relative flex w-full flex-col items-center justify-center px-6">
|
<div className="relative flex w-full flex-col items-center justify-center px-6">
|
||||||
{/* Logo */}
|
{/* Logo */}
|
||||||
<div className="relative mb-8 h-[48px] w-[120px] sm:mb-12 sm:h-[64px] sm:w-[160px]">
|
<div className="relative mb-8 h-[48px] w-[120px] sm:mb-12 sm:h-[64px] sm:w-[160px]">
|
||||||
<Image src="/logo.svg" alt="Crush Level" fill className="object-contain" priority />
|
<i className="iconfont-v2 iconv2-Logo" style={{ fontSize: '50px' }} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 登录表单 */}
|
{/* 登录表单 */}
|
||||||
|
|
@ -48,5 +48,5 @@ export default function LoginPage() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue