Currency Api Dashboard

TypeScript

Modern currency exchange rate dashboard with real-time market data, conversion tools, analytics, historical trends, and responsive admin interface.

Stars
18
Forks
1
Downloads
N/A
Open Issues
0
Files main

Repository Files

Loading file structure...
resources/js/pages/terms.tsx
import { Head } from '@inertiajs/react';
import { Shield } from 'lucide-react';
import React from 'react';
import {
    Card,
    CardContent,
    CardDescription,
    CardHeader,
    CardTitle,
} from '@/components/ui/card';

export default function TermsPage() {
    return (
        <>
            <Head title="Terms of Service" />
            <div className="mx-auto max-w-4xl space-y-8 px-4 py-12 md:py-20">
                {/* Header */}
                <div className="flex items-center gap-2.5 border-b border-border pb-6">
                    <span className="rounded-xl bg-primary/10 p-2.5 text-primary">
                        <Shield className="h-6 w-6" />
                    </span>
                    <div>
                        <h1 className="text-3xl font-extrabold tracking-tight text-foreground">
                            Terms of Service
                        </h1>
                        <p className="text-sm text-muted-foreground">
                            Last updated: June 1, 2026
                        </p>
                    </div>
                </div>

                {/* Main Content */}
                <Card className="border border-border bg-card text-card-foreground shadow-md">
                    <CardHeader>
                        <CardTitle className="text-xl font-bold">
                            API Terms of Use
                        </CardTitle>
                        <CardDescription>
                            Rules and guidelines governing our currency data
                            conversion endpoints.
                        </CardDescription>
                    </CardHeader>
                    <CardContent className="space-y-6 text-sm leading-relaxed text-muted-foreground">
                        <section className="space-y-2">
                            <h3 className="text-base font-bold text-foreground">
                                1. Acceptance of Terms
                            </h3>
                            <p>
                                By generating an API access token or requesting
                                rate data from our endpoints, you agree to be
                                legally bound by these Terms of Service. If you
                                do not agree with any part, please immediately
                                cease using our API.
                            </p>
                        </section>

                        <section className="space-y-2">
                            <h3 className="text-base font-bold text-foreground">
                                2. Developer Key Security
                            </h3>
                            <p>
                                Each API access key generated through our
                                dashboard is private and tied to your account.
                                You are solely responsible for protecting your
                                credentials. Under no circumstances should you
                                expose your private token in client-facing
                                applications or public code repositories.
                            </p>
                        </section>

                        <section className="space-y-2">
                            <h3 className="text-base font-bold text-foreground">
                                3. Usage Policies and Rate Limiting
                            </h3>
                            <p>
                                We reserve the right to throttle or rate-limit
                                requests to maintain server stability. Standard
                                keys default to cache-driven rate queries to
                                optimize performance. Scraping or sending
                                intentionally high volume traffic to bypass
                                limits may result in token revocation.
                            </p>
                        </section>

                        <section className="space-y-2">
                            <h3 className="text-base font-bold text-foreground">
                                4. Source Data and Disclaimer
                            </h3>
                            <p>
                                Rates are synced once daily from our background
                                providers. While we strive to maintain accurate
                                live calculations, the information is provided
                                on an "as-is" and "as-available" basis. We make
                                no warranty that exchange rates will be
                                perfectly precise, timely, or fit for financial
                                trading applications. Use at your own risk.
                            </p>
                        </section>

                        <section className="space-y-2">
                            <h3 className="text-base font-bold text-foreground">
                                5. Service Modifications
                            </h3>
                            <p>
                                Our platform reserves the right to alter,
                                update, or discontinue API endpoints or rate
                                metrics at any time. We will endeavor to notify
                                registered developers of major changes.
                            </p>
                        </section>
                    </CardContent>
                </Card>
            </div>
        </>
    );
}