62 lines
1.7 KiB
TypeScript
62 lines
1.7 KiB
TypeScript
import React from 'react'
|
|
import { Link } from 'react-router'
|
|
|
|
import { LeftArrow } from '~/components/icons/left-arrow'
|
|
import { APP } from '~/data/meta'
|
|
|
|
export default function FormSubscription() {
|
|
return (
|
|
<div className="flex items-center justify-center">
|
|
<div className="w-full max-w-md p-6">
|
|
<div className="absolute top-[80px] left-[50px]">
|
|
<Link
|
|
to="/#"
|
|
className="mt-2 h-full py-2"
|
|
>
|
|
<LeftArrow
|
|
width={'70px'}
|
|
height={'70px'}
|
|
></LeftArrow>
|
|
</Link>
|
|
</div>
|
|
|
|
<div className="mb-6 flex justify-center">
|
|
<Link to="/news">
|
|
<img
|
|
src={APP.logo}
|
|
alt={APP.title}
|
|
className="h-[80px]"
|
|
/>
|
|
</Link>
|
|
</div>
|
|
|
|
<div className="mb-4 p-4 text-center">
|
|
<p className="text-[#565658]">
|
|
Selamat Datang, silakan Pilih Subscription Anda untuk melanjutkan!
|
|
</p>
|
|
</div>
|
|
|
|
<form>
|
|
{/* Subscribe*/}
|
|
<div className="mb-4">
|
|
<label
|
|
htmlFor="subscription"
|
|
className="mb-1 block text-gray-700"
|
|
>
|
|
Subscription
|
|
</label>
|
|
<select className="focus:inheriten w-full rounded-md border border-[#DFDFDF] p-2">
|
|
<option selected>Subscription</option>
|
|
</select>
|
|
</div>
|
|
|
|
{/* Tombol Masuk */}
|
|
<button className="mt-5 w-full rounded-md bg-[#2E2F7C] py-2 text-white transition hover:bg-blue-800">
|
|
Daftar
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|