102 lines
4.7 KiB
TypeScript
102 lines
4.7 KiB
TypeScript
import { Head, Link, usePage } from '@inertiajs/react';
|
|
import { Cloud, Network, Server, ShieldCheck } from 'lucide-react';
|
|
import { dashboard, login } from '@/routes';
|
|
|
|
export default function Welcome() {
|
|
const { auth } = usePage().props;
|
|
const features = [
|
|
{
|
|
icon: Network,
|
|
title: 'Centralized NDM',
|
|
text: 'Kelola akun dan perangkat jaringan multi-vendor dari satu tempat.',
|
|
},
|
|
{
|
|
icon: ShieldCheck,
|
|
title: 'Tenant Isolation',
|
|
text: 'Data, role, credential, dan operasi setiap ISP dipisahkan di backend.',
|
|
},
|
|
{
|
|
icon: Cloud,
|
|
title: 'Managed Cloud',
|
|
text: 'Gunakan layanan terpusat RADIQ NDM tanpa mengelola server aplikasi.',
|
|
},
|
|
{
|
|
icon: Server,
|
|
title: 'Self Hosted',
|
|
text: 'Instal di server sendiri dengan lisensi yang tetap dikelola control plane RADIQ.',
|
|
},
|
|
];
|
|
|
|
return (
|
|
<>
|
|
<Head title="Network Device Management" />
|
|
<main className="min-h-screen bg-slate-950 text-white">
|
|
<div className="mx-auto flex min-h-screen max-w-6xl flex-col px-6">
|
|
<header className="flex items-center justify-between py-6">
|
|
<div className="flex items-center gap-3">
|
|
<img
|
|
src="/images/radiq-ndm-logo.png"
|
|
alt="RADIQ NDM"
|
|
className="size-14 object-contain"
|
|
/>
|
|
<div>
|
|
<div className="font-semibold tracking-wide">
|
|
RADIQ NDM
|
|
</div>
|
|
<div className="text-xs text-sky-300">
|
|
Network Device Management
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<Link
|
|
href={auth.user ? dashboard() : login()}
|
|
className="rounded-lg bg-sky-500 px-5 py-2.5 text-sm font-semibold text-slate-950 hover:bg-sky-400"
|
|
>
|
|
{auth.user ? 'Dashboard' : 'Login'}
|
|
</Link>
|
|
</header>
|
|
<section className="grid flex-1 items-center gap-12 py-16 lg:grid-cols-2">
|
|
<div>
|
|
<div className="mb-4 inline-flex rounded-full border border-sky-400/30 bg-sky-400/10 px-3 py-1 text-xs font-medium text-sky-300">
|
|
Built for ISP & Network Operations
|
|
</div>
|
|
<h1 className="text-4xl font-bold tracking-tight sm:text-6xl">
|
|
Kelola akses perangkat jaringan dengan aman.
|
|
</h1>
|
|
<p className="mt-6 max-w-xl text-lg leading-8 text-slate-300">
|
|
Saat karyawan berpindah tugas atau keluar, akun
|
|
perangkat dapat dinonaktifkan secara terpusat
|
|
tanpa membuka setiap router, OLT, switch, atau
|
|
access point satu per satu.
|
|
</p>
|
|
</div>
|
|
<div className="flex justify-center">
|
|
<img
|
|
src="/images/radiq-ndm-logo.png"
|
|
alt="RADIQ NDM network logo"
|
|
className="w-full max-w-lg object-contain drop-shadow-[0_0_40px_rgba(14,165,233,0.25)]"
|
|
/>
|
|
</div>
|
|
</section>
|
|
<section className="grid gap-4 pb-16 sm:grid-cols-2 lg:grid-cols-4">
|
|
{features.map((feature) => (
|
|
<article
|
|
key={feature.title}
|
|
className="rounded-2xl border border-white/10 bg-white/5 p-5"
|
|
>
|
|
<feature.icon className="mb-4 size-6 text-sky-400" />
|
|
<h2 className="font-semibold">
|
|
{feature.title}
|
|
</h2>
|
|
<p className="mt-2 text-sm leading-6 text-slate-400">
|
|
{feature.text}
|
|
</p>
|
|
</article>
|
|
))}
|
|
</section>
|
|
</div>
|
|
</main>
|
|
</>
|
|
);
|
|
}
|