login-atasan-rekan.blade.php 5.56 KB
<!DOCTYPE html>
<html lang="id">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Login Atasan & Rekan Kerja | BKPSDM Surakarta</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    <style>
        /* General Styling */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        body {
            background: linear-gradient(to bottom, #f8f9fa, #e0e0e0);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
        }

        /* Header */
        .header {
            background: #f5e1e1;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
            width: 100%;
        }

        .header .logo {
            width: 80px;
            margin-right: 15px;
        }

        .header h1 {
            font-size: 45px;
            font-weight: bold;
            background: linear-gradient(to right, #b30059, #6a00c7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin: 0;
        }

        .header h4 {
            font-size: 20px;
            color: #444;
            font-weight: bold;
            margin: 0;
            margin-left: 5px;
        }

        /* Navbar */
        .header2 {
            background: linear-gradient(to right, #b30059, #6a00c7);
            color: white;
            padding: 23px 20px;
            text-align: right;
            font-size: 14px;
            font-weight: bold;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.2);
            width: 100%;
        }

        .header2 a {
            color: white;
            text-decoration: none;
            margin-left: 20px;
        }

        .header2 a:hover {
            text-decoration: underline;
        }

        /* Login Container */
        .login-container {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 400px;
            text-align: center;
            margin-top: 200px;
        }

        .login-container h2 {
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }

        .form-group {
            margin-bottom: 15px;
            text-align: left;
        }

        .form-group label {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

        .error {
            color: red;
            font-size: 14px;
            margin-top: 5px;
        }

        .login-btn {
            background: #b30059;
            color: white;
            border: none;
            padding: 12px;
            width: 100%;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: 0.3s;
        }

        .login-btn:hover {
            background: #6a00c7;
        }

        .register-link {
            display: block;
            margin-top: 10px;
            font-size: 14px;
            color: #6a00c7;
            text-decoration: none;
        }

        .register-link:hover {
            text-decoration: underline;
        }

        /* Footer */
        .footer {
            background: linear-gradient(to right, #b30059, #6a00c7);
            color: white;
            padding: 15px 20px;
            text-align: right;
            font-size: 14px;
            font-weight: bold;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.2);
            position: absolute;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>

<body>
    <!-- Header -->
    <div class="header2">
    </div>

    <!-- Navbar -->
    <div class="header">
        <img src="{{ asset('images/surakarta.png') }}" alt="Logo Surakarta" class="logo">
        <div>
            <h1>BKPSDM</h1>
            <h4>KOTA SURAKARTA</h4>
        </div>
    </div>

    <!-- Login Container -->
    <div class="login-container">
        <h2>Login Atasan dan Rekan Kerja</h2>

        @if ($errors->any())
            <p class="error">
                {{ $errors->first() }}
            </p>
        @endif


        <form method="POST" action="{{ route('login.atasan-rekan') }}">
            @csrf
            <div class="form-group">
                <label for="nip">NIP</label>
                <input type="text" id="nip" name="nip" placeholder="Nomor Induk Pegawai" required>
            </div>
            <button type="submit" class="login-btn">Masuk</button>
        </form>

        <a href="register-atasan-rekan" class="register-link">Belum Memiliki Akun? Registrasi</a>
    </div>
    <!-- Footer -->
    <div class="footer">
        BKPSDM Surakarta &copy; 2025
    </div>

</body>

</html>