Initial commit

This commit is contained in:
2026-05-25 08:22:12 +07:00
commit a152c99cce
154 changed files with 39033 additions and 0 deletions

View File

@ -0,0 +1,359 @@
<!DOCTYPE html>
<html class="light" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Merchant Onboarding - PIC Details</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&amp;family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"tertiary-fixed": "#ffdbcd",
"on-primary": "#ffffff",
"primary-fixed-dim": "#b4c5ff",
"error-container": "#ffdad6",
"warning": "#F59E0B",
"slate-200": "#E2E8F0",
"outline-variant": "#c3c6d7",
"surface-dim": "#d9d9e5",
"on-tertiary-container": "#ffede6",
"inverse-surface": "#2e3039",
"inverse-on-surface": "#f0f0fb",
"slate-100": "#F1F5F9",
"tertiary-fixed-dim": "#ffb596",
"on-tertiary-fixed-variant": "#7d2d00",
"on-surface": "#191b23",
"on-error-container": "#93000a",
"surface-tint": "#0053db",
"inverse-primary": "#b4c5ff",
"outline": "#737686",
"slate-500": "#64748B",
"secondary": "#505f76",
"on-primary-container": "#eeefff",
"surface-variant": "#e1e2ed",
"surface-container": "#ededf9",
"success": "#16A34A",
"on-tertiary-fixed": "#360f00",
"secondary-container": "#d0e1fb",
"on-primary-fixed-variant": "#003ea8",
"surface": "#faf8ff",
"slate-900": "#0F172A",
"primary-fixed": "#dbe1ff",
"secondary-fixed-dim": "#b7c8e1",
"on-tertiary": "#ffffff",
"on-secondary-fixed": "#0b1c30",
"on-secondary-fixed-variant": "#38485d",
"on-error": "#ffffff",
"on-secondary-container": "#54647a",
"background": "#F8FAFC",
"surface-container-lowest": "#ffffff",
"on-surface-variant": "#434655",
"surface-container-low": "#f3f3fe",
"on-background": "#191b23",
"surface-container-highest": "#e1e2ed",
"info": "#0EA5E9",
"danger": "#DC2626",
"surface-bright": "#faf8ff",
"error": "#ba1a1a",
"primary-container": "#2563eb",
"primary": "#004ac6",
"tertiary": "#943700",
"secondary-fixed": "#d3e4fe",
"tertiary-container": "#bc4800",
"surface-container-high": "#e7e7f3",
"on-secondary": "#ffffff",
"on-primary-fixed": "#00174b",
"slate-700": "#334155"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"spacing": {
"page-padding": "24px",
"topbar-height": "72px",
"row-height": "52px",
"gutter": "24px",
"card-padding": "20px"
},
"fontFamily": {
"headline-md": ["Plus Jakarta Sans"],
"metric-sm": ["Inter"],
"metric-lg": ["Inter"],
"label-md": ["Inter"],
"headline-lg": ["Plus Jakarta Sans"],
"body-md": ["Inter"],
"display-lg": ["Plus Jakarta Sans"],
"body-lg": ["Inter"]
},
"fontSize": {
"headline-md": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"metric-sm": ["14px", {"lineHeight": "20px", "fontWeight": "600"}],
"metric-lg": ["32px", {"lineHeight": "40px", "fontWeight": "600"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.01em", "fontWeight": "500"}],
"headline-lg": ["28px", {"lineHeight": "36px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "600"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
}
},
},
}
</script>
<style>
body {
background-color: #F8FAFC;
font-family: 'Inter', sans-serif;
}
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
vertical-align: middle;
}
.step-active {
background-color: #004ac6;
color: #ffffff;
}
.step-completed {
background-color: #16A34A;
color: #ffffff;
}
.step-inactive {
background-color: #E2E8F0;
color: #64748B;
}
.form-input-focus:focus {
border-color: #004ac6;
ring-color: #004ac6;
}
</style>
</head>
<body class="bg-background text-on-surface min-h-screen">
<!-- Top Navigation Anchor -->
<header class="fixed top-0 right-0 left-0 h-[72px] bg-surface-container-lowest border-b border-slate-200 z-50 flex items-center justify-between px-page-padding">
<div class="flex items-center gap-4">
<div class="w-10 h-10 bg-primary flex items-center justify-center rounded-xl">
<span class="material-symbols-outlined text-on-primary" data-icon="payments">payments</span>
</div>
<div class="flex flex-col">
<span class="font-headline-md text-headline-md text-primary">Soundbox Ops</span>
<span class="font-label-md text-label-md text-slate-500 uppercase tracking-wider">Merchant Portal</span>
</div>
</div>
<div class="flex items-center gap-6">
<div class="flex items-center gap-2 text-on-surface-variant">
<span class="material-symbols-outlined" data-icon="help_outline">help_outline</span>
<span class="font-body-md text-body-md">Support</span>
</div>
<div class="h-8 w-px bg-slate-200"></div>
<div class="flex items-center gap-3">
<div class="text-right">
<p class="font-label-md text-label-md font-bold">Session ID</p>
<p class="font-label-md text-label-md text-slate-500">#OB-99281</p>
</div>
</div>
</div>
</header>
<main class="pt-[100px] pb-24 px-page-padding max-w-5xl mx-auto">
<!-- Progress Stepper -->
<div class="mb-12">
<div class="flex items-center justify-between relative">
<!-- Connector Lines -->
<div class="absolute top-1/2 left-0 w-full h-0.5 bg-slate-200 -z-10 -translate-y-1/2"></div>
<div class="absolute top-1/2 left-0 w-1/3 h-0.5 bg-success -z-10 -translate-y-1/2 transition-all duration-500"></div>
<!-- Step 1 -->
<div class="flex flex-col items-center gap-2 bg-background px-4">
<div class="w-10 h-10 rounded-full flex items-center justify-center step-completed shadow-sm">
<span class="material-symbols-outlined" data-icon="check">check</span>
</div>
<span class="font-label-md text-label-md font-bold text-success">Business Info</span>
</div>
<!-- Step 2 -->
<div class="flex flex-col items-center gap-2 bg-background px-4">
<div class="w-10 h-10 rounded-full flex items-center justify-center step-active shadow-md ring-4 ring-primary-fixed">
<span class="font-metric-sm text-metric-sm">2</span>
</div>
<span class="font-label-md text-label-md font-bold text-primary">PIC &amp; Contact</span>
</div>
<!-- Step 3 -->
<div class="flex flex-col items-center gap-2 bg-background px-4">
<div class="w-10 h-10 rounded-full flex items-center justify-center step-inactive">
<span class="font-metric-sm text-metric-sm">3</span>
</div>
<span class="font-label-md text-label-md font-bold text-slate-400">Documents</span>
</div>
<!-- Step 4 -->
<div class="flex flex-col items-center gap-2 bg-background px-4">
<div class="w-10 h-10 rounded-full flex items-center justify-center step-inactive">
<span class="font-metric-sm text-metric-sm">4</span>
</div>
<span class="font-label-md text-label-md font-bold text-slate-400">Review</span>
</div>
</div>
</div>
<div class="grid grid-cols-12 gap-8">
<!-- Left: Form Content -->
<div class="col-span-12 lg:col-span-8">
<div class="bg-surface-container-lowest border border-slate-200 rounded-xl overflow-hidden shadow-sm">
<div class="p-8 border-b border-slate-100 bg-surface-container-low">
<h1 class="font-headline-lg text-headline-lg text-on-surface mb-2">Person in Charge (PIC)</h1>
<p class="font-body-md text-body-md text-on-surface-variant">Please provide the contact details of the primary person responsible for operational decisions.</p>
</div>
<form class="p-8 space-y-6">
<!-- Full Name -->
<div class="space-y-2">
<label class="font-label-md text-label-md text-on-surface-variant block">Full Name (as per ID)</label>
<div class="relative">
<span class="material-symbols-outlined absolute left-4 top-1/2 -translate-y-1/2 text-slate-400" data-icon="person">person</span>
<input class="w-full pl-12 pr-4 py-3 bg-white border border-slate-200 rounded-lg font-body-md text-body-md focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all" placeholder="e.g. Alexander Graham" type="text"/>
</div>
</div>
<!-- Grid Row: Role & NIK -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-2">
<label class="font-label-md text-label-md text-on-surface-variant block">Role / Designation</label>
<select class="w-full px-4 py-3 bg-white border border-slate-200 rounded-lg font-body-md text-body-md focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary appearance-none transition-all">
<option value="">Select Role</option>
<option value="owner">Owner / CEO</option>
<option value="manager">Operations Manager</option>
<option value="finance">Finance Head</option>
<option value="it">IT/Technical Lead</option>
</select>
</div>
<div class="space-y-2">
<label class="font-label-md text-label-md text-on-surface-variant block">ID Card Number (NIK)</label>
<div class="relative">
<span class="material-symbols-outlined absolute left-4 top-1/2 -translate-y-1/2 text-slate-400" data-icon="badge">badge</span>
<input class="w-full pl-12 pr-4 py-3 bg-white border border-slate-200 rounded-lg font-body-md text-body-md focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all" maxlength="16" placeholder="16-digit ID number" type="text"/>
</div>
</div>
</div>
<!-- Email Address -->
<div class="space-y-2">
<label class="font-label-md text-label-md text-on-surface-variant block">Professional Email Address</label>
<div class="relative">
<span class="material-symbols-outlined absolute left-4 top-1/2 -translate-y-1/2 text-slate-400" data-icon="mail">mail</span>
<input class="w-full pl-12 pr-4 py-3 bg-white border border-slate-200 rounded-lg font-body-md text-body-md focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all" placeholder="alex@merchant.com" type="email"/>
</div>
<p class="font-label-md text-label-md text-slate-500 italic">This will be used for official settlements and system alerts.</p>
</div>
<!-- Phone Number & Verification Toggle -->
<div class="space-y-4 p-5 bg-primary-fixed/30 rounded-xl border border-primary-fixed-dim">
<div class="flex items-center justify-between">
<div class="space-y-1">
<label class="font-label-md text-label-md text-on-surface-variant block">Mobile Phone Number</label>
<div class="flex items-center gap-2">
<div class="flex items-center gap-2 px-3 py-2 bg-white border border-slate-200 rounded-lg">
<img alt="ID Flag" class="w-5 h-3" src="https://lh3.googleusercontent.com/aida-public/AB6AXuCd5-agOQDxJNq3ljI2OleLexsB7UG4a06gY13NeDHd3atVIASpBCIQHGjp1BKAyCBIRZLYDlP5NJ4SaWT4pJYbRF2uDm6Udq74qVkGdLYrfma7ibVhXcBu4keW2X0fNlfAYWY1H4_p37xEGVey59ou7ty0xa9_wvHfNppbx1JVir-AmyN37Ay-sQkoYPep5h00ssSxsEDNbes1_wMAhy-35TvlV68txfKYdEQ_FpAOVEWBmgYrRducb0-e2HGtY-0VwWN8ST2Vfvo"/>
<span class="font-body-md text-body-md text-on-surface-variant">+62</span>
</div>
<input class="flex-1 px-4 py-2 bg-white border border-slate-200 rounded-lg font-body-md text-body-md focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all" placeholder="812-xxxx-xxxx" type="tel"/>
</div>
</div>
<div class="flex flex-col items-end gap-2">
<label class="font-label-md text-label-md text-primary font-bold">Verify via WhatsApp</label>
<label class="relative inline-flex items-center cursor-pointer">
<input checked="" class="sr-only peer" type="checkbox" value=""/>
<div class="w-11 h-6 bg-slate-300 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-success"></div>
</label>
</div>
</div>
</div>
<!-- Form Actions -->
<div class="flex items-center justify-between pt-6 border-t border-slate-100">
<button class="flex items-center gap-2 px-6 py-3 border border-slate-200 rounded-lg font-label-md text-label-md font-bold text-on-surface-variant hover:bg-slate-50 transition-colors" type="button">
<span class="material-symbols-outlined" data-icon="arrow_back">arrow_back</span>
Previous Step
</button>
<button class="flex items-center gap-2 px-8 py-3 bg-primary text-on-primary rounded-lg font-label-md text-label-md font-bold shadow-lg shadow-primary/20 hover:opacity-90 active:scale-95 transition-all" type="submit">
Save &amp; Continue
<span class="material-symbols-outlined" data-icon="arrow_forward">arrow_forward</span>
</button>
</div>
</form>
</div>
</div>
<!-- Right: Contextual Help & Summary -->
<div class="col-span-12 lg:col-span-4 space-y-6">
<!-- Why this info matters -->
<div class="bg-white border border-slate-200 p-6 rounded-xl space-y-4">
<div class="w-12 h-12 bg-secondary-container rounded-full flex items-center justify-center">
<span class="material-symbols-outlined text-on-secondary-container" data-icon="verified_user">verified_user</span>
</div>
<div>
<h3 class="font-headline-md text-headline-md text-on-surface mb-2">Why we need this</h3>
<p class="font-body-md text-body-md text-on-surface-variant leading-relaxed">
To maintain a secure financial network, we require a verified Point of Contact. This ensures operational alerts, settlement reports, and device updates reach the authorized personnel promptly.
</p>
</div>
</div>
<!-- Trusted Badge -->
<div class="bg-slate-900 p-6 rounded-xl text-white relative overflow-hidden group">
<div class="relative z-10 flex flex-col gap-4">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-warning" data-icon="shield">shield</span>
<span class="font-label-md text-label-md font-bold uppercase tracking-widest">Enterprise Security</span>
</div>
<p class="font-body-md text-body-md text-slate-300">
Your data is encrypted using AES-256 standards. We never share personal contact details with third-party marketers.
</p>
</div>
<!-- Decorative background pattern -->
<div class="absolute -right-4 -bottom-4 opacity-10 group-hover:scale-110 transition-transform duration-700">
<span class="material-symbols-outlined text-[120px]" data-icon="lock">lock</span>
</div>
</div>
<!-- Assistance Card -->
<div class="p-6 border-2 border-dashed border-slate-200 rounded-xl flex flex-col items-center text-center gap-4">
<p class="font-body-md text-body-md text-on-surface-variant italic">Need help with the onboarding process?</p>
<button class="w-full py-2 px-4 bg-slate-100 rounded-lg font-label-md text-label-md font-bold text-on-surface-variant hover:bg-slate-200 transition-colors flex items-center justify-center gap-2">
<span class="material-symbols-outlined text-[20px]" data-icon="support_agent">support_agent</span>
Talk to an Onboarding Expert
</button>
</div>
</div>
</div>
</main>
<!-- Visual Accents: Blob background -->
<div class="fixed top-[-10%] right-[-10%] w-[40%] h-[40%] bg-primary/5 blur-[120px] rounded-full -z-50"></div>
<div class="fixed bottom-[-10%] left-[-10%] w-[30%] h-[30%] bg-success/5 blur-[100px] rounded-full -z-50"></div>
<script>
// Simple micro-interactions for inputs
document.querySelectorAll('input, select').forEach(element => {
element.addEventListener('focus', () => {
element.parentElement.querySelector('.material-symbols-outlined')?.classList.add('text-primary');
});
element.addEventListener('blur', () => {
element.parentElement.querySelector('.material-symbols-outlined')?.classList.remove('text-primary');
});
});
// Prevention of accidental form submission for demo
document.querySelector('form').addEventListener('submit', (e) => {
e.preventDefault();
const btn = e.target.querySelector('button[type="submit"]');
const originalContent = btn.innerHTML;
btn.innerHTML = `<span class="material-symbols-outlined animate-spin" data-icon="progress_activity">progress_activity</span> Processing...`;
btn.classList.add('opacity-80', 'pointer-events-none');
setTimeout(() => {
btn.innerHTML = `<span class="material-symbols-outlined" data-icon="check_circle">check_circle</span> Saved`;
btn.classList.remove('bg-primary');
btn.classList.add('bg-success');
setTimeout(() => {
alert('PIC details saved successfully! Proceeding to document upload...');
btn.innerHTML = originalContent;
btn.classList.remove('bg-success', 'opacity-80', 'pointer-events-none');
btn.classList.add('bg-primary');
}, 1000);
}, 1500);
});
</script>
</body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB