Standard Form
Preview
Formulir Pendaftaran Profil
Lengkapi data di bawah ini untuk memperbarui profil dan portofolio Anda.
Code
<div class="max-w-3xl mx-auto bg-white p-8 rounded-2xl shadow-sm border border-gray-100">
<div class="mb-8 border-b border-gray-100 pb-5">
<h2 class="text-2xl font-bold text-gray-800">Formulir Pendaftaran Profil</h2>
<p class="text-gray-500 text-sm mt-1">Lengkapi data di bawah ini untuk memperbarui profil dan portofolio Anda.</p>
</div>
<form action="#" method="POST">
<!-- Grid Layout untuk Input Berjejer di Layar Besar -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<!-- 1. Text Input (Nama Lengkap) -->
<div>
<label for="fullName" class="block text-sm font-semibold text-gray-700 mb-2">Nama Lengkap</label>
<input type="text" id="fullName" name="fullName" placeholder="Contoh: Riski Abiyantoro"
class="w-full px-4 py-2.5 bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 focus:bg-white outline-none transition-all duration-300">
</div>
<!-- 2. Email Input -->
<div>
<label for="email" class="block text-sm font-semibold text-gray-700 mb-2">Alamat Email</label>
<input type="email" id="email" name="email" placeholder="nama@email.com"
class="w-full px-4 py-2.5 bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 focus:bg-white outline-none transition-all duration-300">
</div>
<!-- 3. Password Input -->
<div>
<label for="password" class="block text-sm font-semibold text-gray-700 mb-2">Kata Sandi</label>
<input type="password" id="password" name="password" placeholder="Minimal 8 karakter"
class="w-full px-4 py-2.5 bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 focus:bg-white outline-none transition-all duration-300">
</div>
<!-- 4. Select Dropdown (Posisi/Role) -->
<div>
<label for="role" class="block text-sm font-semibold text-gray-700 mb-2">Posisi Utama</label>
<select id="role" name="role"
class="w-full px-4 py-2.5 bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 focus:bg-white outline-none transition-all duration-300 appearance-none">
<option value="" disabled selected>Pilih spesialisasi Anda...</option>
<option value="programmer">Programmer Laravel</option>
<option value="staff">Staff Manning Agency</option>
<option value="3d_artist">3D Modeler / Animator</option>
<option value="other">Lainnya</option>
</select>
</div>
</div>
<!-- 5. Checkbox (Keahlian / Minat) - Rentang Lebar Penuh -->
<div class="mb-6">
<label class="block text-sm font-semibold text-gray-700 mb-3">Teknologi & Minat yang Dikuasai</label>
<div class="flex flex-wrap gap-4">
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox" value="laravel" class="w-5 h-5 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2">
<span class="text-sm text-gray-700">Laravel / PHP</span>
</label>
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox" value="unity" class="w-5 h-5 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2">
<span class="text-sm text-gray-700">Unity 3D</span>
</label>
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox" value="blender" class="w-5 h-5 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2">
<span class="text-sm text-gray-700">Blender</span>
</label>
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox" value="anime" class="w-5 h-5 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2">
<span class="text-sm text-gray-700">Animasi / Anime</span>
</label>
</div>
</div>
<!-- 6. Radio Button (Status Pekerjaan) -->
<div class="mb-6">
<label class="block text-sm font-semibold text-gray-700 mb-3">Status Ketersediaan</label>
<div class="flex items-center gap-6">
<label class="flex items-center gap-2 cursor-pointer">
<input type="radio" name="status" value="fulltime" class="w-5 h-5 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 focus:ring-2">
<span class="text-sm text-gray-700">Tersedia (Siap Bekerja)</span>
</label>
<label class="flex items-center gap-2 cursor-pointer">
<input type="radio" name="status" value="freelance" class="w-5 h-5 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 focus:ring-2">
<span class="text-sm text-gray-700">Hanya Freelance/Project</span>
</label>
</div>
</div>
<!-- 7. Textarea (Bio/Deskripsi) -->
<div class="mb-6">
<label for="bio" class="block text-sm font-semibold text-gray-700 mb-2">Tentang Anda & Portofolio</label>
<textarea id="bio" name="bio" rows="4" placeholder="Ceritakan pengalaman Anda membuat sistem, atau project 3D yang pernah dieksplorasi..."
class="w-full px-4 py-3 bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 focus:bg-white outline-none transition-all duration-300 resize-y"></textarea>
<p class="text-xs text-gray-500 mt-1.5">Tuliskan ringkasan singkat maksimal 500 karakter.</p>
</div>
<!-- 8. File Input (Unggah CV/Dokumen) -->
<div class="mb-8">
<label class="block text-sm font-semibold text-gray-700 mb-2">Unggah CV atau Dokumen</label>
<input class="block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 file:mr-4 file:py-2.5 file:px-4 file:rounded-l-lg file:border-0 file:text-sm file:font-semibold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100 transition-all duration-300" id="file_input" type="file">
</div>
<!-- Action Buttons -->
<div class="flex items-center justify-end gap-3 pt-5 border-t border-gray-100">
<button type="button" class="px-6 py-2.5 rounded-lg text-sm font-semibold text-gray-700 hover:bg-gray-100 border border-transparent hover:border-gray-300 transition-all duration-300">
Batal
</button>
<button type="submit" class="px-6 py-2.5 rounded-lg text-sm font-semibold text-white bg-blue-600 hover:bg-blue-700 shadow-sm transition-colors duration-300 focus:ring-4 focus:ring-blue-200">
Simpan Profil
</button>
</div>
</form>
</div>