mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-10-05 09:55:25 +00:00
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 12m20s
34 lines
808 B
TypeScript
34 lines
808 B
TypeScript
import { EyeIcon } from "lucide-react";
|
|
import { Button } from "@/components/ui/button";
|
|
import {
|
|
Card,
|
|
CardDescription,
|
|
CardFooter,
|
|
CardHeader,
|
|
CardTitle,
|
|
} from "@/components/ui/card";
|
|
|
|
export function AgreementCard({ agreement }: { agreement: string }) {
|
|
return (
|
|
<Card className="w-full max-w-sm">
|
|
<CardHeader>
|
|
<CardTitle>Sarlink User Agreement</CardTitle>
|
|
<CardDescription>User agreement for Sarlink services.</CardDescription>
|
|
</CardHeader>
|
|
<CardFooter className="flex-col gap-2">
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="w-full hover:cursor-pointer"
|
|
href={agreement}
|
|
>
|
|
<Button type="button" className="w-full hover:cursor-pointer">
|
|
<EyeIcon />
|
|
View Agreement
|
|
</Button>
|
|
</a>
|
|
</CardFooter>
|
|
</Card>
|
|
);
|
|
}
|