feat: enhance MAC address guide with contact button for assistance
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m16s

This commit is contained in:
i701 2025-05-31 00:02:25 +05:00
parent 07349cda05
commit c705addccc
Signed by: i701
GPG Key ID: 54A0DA1E26D8E587
2 changed files with 17 additions and 3 deletions

View File

@ -103,7 +103,7 @@ export default function DevicesToPay({
onClick={async () => {
setVerifyingTransferPayment(true);
try {
const res = await verifyPayment({
await verifyPayment({
id: payment?.id ?? "",
method: "TRANSFER"
});

View File

@ -4,6 +4,10 @@ import {
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion"
import { Button } from "@/components/ui/button"
import { PhoneIcon } from "lucide-react"
import Link from "next/link"
export function GetMacAccordion() {
return (
@ -17,7 +21,7 @@ export function GetMacAccordion() {
<AccordionContent className="flex flex-col gap-4 text-balance">
<p>
A MAC (Media Access Control) address is a unique identifier assigned
to a device's network. It is used to identify the device on a
to a device`&apos;`s network. It is used to identify the device on a
network, helping to differentiate devices on a network.
</p>
<Accordion type="single" collapsible className="w-full">
@ -49,7 +53,17 @@ export function GetMacAccordion() {
<AccordionItem value="other">
<AccordionTrigger>Other Device</AccordionTrigger>
<AccordionContent>
Please contact SAR Link for assistance.
<p>
Please contact SAR Link for assistance.
</p>
<Link
href="tel:+9609198026"
>
<Button className="mt-4">
<PhoneIcon className="mr-2" />
9198026
</Button>
</Link>
</AccordionContent>
</AccordionItem>
</Accordion>