Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 1x 1x 1x 1x 1x 1x | import React from "react";
import { Button, Input } from "@/components/ui";
const Discount = () => {
return (
<div className="lg:max-w-[670px] w-full">
<form>
{/* <!-- coupon box --> */}
<div className="bg-white dark:bg-gray-800 shadow-1 rounded-[10px]">
<div className="border-b border-gray-3 dark:border-gray-700 py-5 px-4 sm:px-5.5">
<h3 className="dark:text-gray-200">Have any discount code?</h3>
</div>
<div className="py-8 px-4 sm:px-8.5">
<div className="flex flex-wrap gap-4 xl:gap-5.5">
<div className="max-w-[426px] w-full">
<Input
type="text"
name="coupon"
id="coupon"
placeholder="Enter coupon code"
fullWidth
className="rounded-md border-gray-3 dark:border-gray-600 bg-gray-1 dark:bg-gray-700 placeholder:text-dark-5 dark:placeholder:text-gray-400 dark:text-gray-200 py-2.5 px-5 focus:shadow-input"
/>
</div>
<Button
type="submit"
variant="primary"
size="md"
>
Apply Code
</Button>
</div>
</div>
</div>
</form>
</div>
);
};
export default Discount;
|