forked from InsurNiffy/niff-Stellar-shurance
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.tsx
More file actions
54 lines (51 loc) · 1.96 KB
/
Copy pathpage.tsx
File metadata and controls
54 lines (51 loc) · 1.96 KB
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
44
45
46
47
48
49
50
51
52
53
54
import { QuoteForm } from '@/components/quote/quote-form'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { Shield, Calculator } from 'lucide-react'
export default function QuotePage() {
return (
<div className="container mx-auto px-4 py-8">
<div className="text-center mb-8">
<div className="flex items-center justify-center mb-4">
<Calculator className="h-8 w-8 text-blue-600 mr-2" />
<h1 className="text-3xl font-bold text-gray-900">Get Insurance Quote</h1>
</div>
<p className="text-lg text-gray-600 max-w-2xl mx-auto">
Calculate your premium for smart contract insurance coverage on the Stellar network.
</p>
</div>
<div className="mb-8">
<Card>
<CardHeader>
<CardTitle className="flex items-center gap-2">
<Shield className="h-5 w-5" />
How It Works
</CardTitle>
</CardHeader>
<CardContent>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 text-sm">
<div>
<h3 className="font-semibold mb-2">1. Provide Details</h3>
<p className="text-gray-600">
Enter your contract address, coverage amount, and risk factors.
</p>
</div>
<div>
<h3 className="font-semibold mb-2">2. Get Quote</h3>
<p className="text-gray-600">
Our algorithm calculates your premium based on risk assessment.
</p>
</div>
<div>
<h3 className="font-semibold mb-2">3. Purchase Policy</h3>
<p className="text-gray-600">
Accept the quote and pay the premium to activate coverage.
</p>
</div>
</div>
</CardContent>
</Card>
</div>
<QuoteForm />
</div>
)
}