최초 페이지 접근시 로그인 페이지로 이동및 로그인 페이지 로고 적용

This commit is contained in:
chpark 2024-12-26 12:16:28 +09:00
parent eeea475099
commit 3616472a8f
4 changed files with 19 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB

BIN
plm-app/public/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -66,15 +66,22 @@ export default function LoginPage() {
} }
return ( 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"> <Card className="w-full max-w-md">
<CardHeader className="space-y-1"> <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> </CardTitle>
<CardDescription className="text-center"> <CardDescription className="text-center">
FEMS DUCKIL PLM
</CardDescription> </CardDescription> */}
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<Form {...form}> <Form {...form}>

View File

@ -14,7 +14,15 @@ import {
BarChart3, BarChart3,
} from "lucide-react"; } from "lucide-react";
import { redirect } from 'next/navigation'
export default function Home() { export default function Home() {
//최초 페이지 접근시 로그인 페이지로 리다이렉트
redirect('/login')
// 산업 분야별 솔루션 데이터 // 산업 분야별 솔루션 데이터
const industries = [ const industries = [
{ {