forked from Nova-reward/Nova-Rewards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWelcomeScreen.js
More file actions
70 lines (66 loc) · 3.62 KB
/
Copy pathWelcomeScreen.js
File metadata and controls
70 lines (66 loc) · 3.62 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/**
* Welcome screen for first-run experience
*/
export default function WelcomeScreen({ onGetStarted }) {
return (
<div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 to-indigo-100 px-4">
<div className="max-w-md w-full text-center">
<div className="mb-8">
<div className="w-24 h-24 mx-auto bg-blue-600 rounded-full flex items-center justify-center mb-6">
<svg className="w-12 h-12 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</div>
<h1 className="text-4xl font-bold text-gray-900 mb-4">
Welcome to NovaRewards
</h1>
<p className="text-lg text-gray-600">
Earn and redeem rewards seamlessly with blockchain-powered loyalty points
</p>
</div>
<div className="space-y-4 mb-8">
<div className="flex items-start text-left">
<div className="flex-shrink-0 w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<svg className="w-5 h-5 text-blue-600" fill="currentColor" viewBox="0 0 20 20">
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
</svg>
</div>
<div>
<h3 className="font-semibold text-gray-900">Secure & Transparent</h3>
<p className="text-sm text-gray-600">Your rewards are stored on the Stellar blockchain</p>
</div>
</div>
<div className="flex items-start text-left">
<div className="flex-shrink-0 w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<svg className="w-5 h-5 text-blue-600" fill="currentColor" viewBox="0 0 20 20">
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
</svg>
</div>
<div>
<h3 className="font-semibold text-gray-900">Easy to Use</h3>
<p className="text-sm text-gray-600">Connect your wallet and start earning instantly</p>
</div>
</div>
<div className="flex items-start text-left">
<div className="flex-shrink-0 w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<svg className="w-5 h-5 text-blue-600" fill="currentColor" viewBox="0 0 20 20">
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
</svg>
</div>
<div>
<h3 className="font-semibold text-gray-900">Real Value</h3>
<p className="text-sm text-gray-600">Redeem rewards for products and services</p>
</div>
</div>
</div>
<button
onClick={onGetStarted}
className="w-full bg-blue-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-blue-700 transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"
aria-label="Get started with NovaRewards"
>
Get Started
</button>
</div>
</div>
);
}