vat_wms/resources/js/Pages/TermsOfService.tsx
2025-05-13 12:32:55 +02:00

29 lines
852 B
TypeScript

import React from 'react';
import AuthenticationCardLogo from '@/Components/AuthenticationCardLogo';
import { Head } from '@inertiajs/react';
interface Props {
terms: string;
}
export default function TermsOfService({ terms }: Props) {
return (
<div className="font-sans text-gray-900 dark:text-gray-100 antialiased">
<Head title="Terms of Service" />
<div className="pt-4 bg-gray-100 dark:bg-gray-900">
<div className="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
<div>
<AuthenticationCardLogo />
</div>
<div
className="w-full sm:max-w-2xl mt-6 p-6 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg prose dark:prose-invert"
dangerouslySetInnerHTML={{ __html: terms }}
/>
</div>
</div>
</div>
);
}