최초 페이지 접근시 로그인 페이지로 이동및 로그인 페이지 로고 적용
This commit is contained in:
parent
eeea475099
commit
3616472a8f
BIN
plm-app/public/background.jpg
Normal file
BIN
plm-app/public/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 419 KiB |
BIN
plm-app/public/logo.jpg
Normal file
BIN
plm-app/public/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
@ -66,15 +66,22 @@ export default function LoginPage() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="min-h-screen flex items-center justify-center bg-gradient-to-r from-blue-600 to-blue-800 p-4">
|
||||
// <div className="min-h-screen flex items-center justify-end bg-gradient-to-r from-blue-600 to-blue-800 p-4">
|
||||
<div className="min-h-screen flex items-center justify-end bg-cover bg-center" style={{ backgroundImage: 'url(/background.jpg)' }}>
|
||||
<div className="absolute top-0 left-0 p-4 text-white">
|
||||
<p style={{ fontSize: '30px' }}>Company to make the<br />most safe automobile parts</p> <br/>
|
||||
<h2 className="text-4xl font-bold">DUCK-IL</h2>
|
||||
</div>
|
||||
|
||||
<Card className="w-full max-w-md">
|
||||
<CardHeader className="space-y-1">
|
||||
<CardTitle className="text-2xl font-bold text-center">
|
||||
<img src="/logo.jpg" alt="Logo" className="mx-auto mb-4" width="250px;" />
|
||||
{/* <CardTitle className="text-2xl font-bold text-center">
|
||||
로그인
|
||||
</CardTitle>
|
||||
<CardDescription className="text-center">
|
||||
FEMS에 오신 것을 환영합니다
|
||||
</CardDescription>
|
||||
DUCKIL PLM 에 오신 것을 환영합니다
|
||||
</CardDescription> */}
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<Form {...form}>
|
||||
|
@ -14,7 +14,15 @@ import {
|
||||
BarChart3,
|
||||
} from "lucide-react";
|
||||
|
||||
|
||||
import { redirect } from 'next/navigation'
|
||||
|
||||
|
||||
export default function Home() {
|
||||
|
||||
//최초 페이지 접근시 로그인 페이지로 리다이렉트
|
||||
redirect('/login')
|
||||
|
||||
// 산업 분야별 솔루션 데이터
|
||||
const industries = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user