|
1 | | -import { ArrowRight, Edit3, Timer, Link2, Zap } from "lucide-react"; |
2 | | -import { Card, CardContent } from "~/components/ui/card"; |
| 1 | +import { Edit3, Shield, Link2, Eye, Clock, Zap } from "lucide-react"; |
| 2 | +import { Card, CardContent, CardHeader, CardTitle } from "~/components/ui/card"; |
3 | 3 |
|
4 | 4 | export function LandingProcessFlow() { |
5 | 5 | return ( |
6 | | - <div className="lg:pl-4"> |
7 | | - <Card className="shadow-sm border-2 border-slate-200 dark:border-slate-700 bg-slate-50/50 dark:bg-slate-800/30 hover:border-indigo-200 dark:hover:border-indigo-700 transition-colors py-2"> |
8 | | - <CardContent className="py-2"> |
9 | | - <div className="flex items-center justify-center md:justify-start text-xs text-slate-600 dark:text-slate-300"> |
10 | | - <div className="text-lg font-medium text-slate-700 dark:text-slate-200 mb-1"> |
11 | | - Share secrets on a whim |
| 6 | + <div> |
| 7 | + <Card className="shadow-sm border-2 border-slate-200 dark:border-slate-700 bg-slate-50/50 dark:bg-slate-800/30 hover:border-indigo-200 dark:hover:border-indigo-700 transition-colors"> |
| 8 | + <CardHeader className="pb-4"> |
| 9 | + <CardTitle className="text-xl text-slate-900 dark:text-slate-100 flex items-center gap-2"> |
| 10 | + <Shield className="w-5 h-5 text-indigo-600 dark:text-indigo-400" /> |
| 11 | + How It Works |
| 12 | + </CardTitle> |
| 13 | + </CardHeader> |
| 14 | + <CardContent className="space-y-4"> |
| 15 | + {/* Step 1 */} |
| 16 | + <div className="flex items-start gap-3"> |
| 17 | + <div className="flex-shrink-0 w-8 h-8 bg-indigo-100 dark:bg-indigo-900/50 rounded-full flex items-center justify-center"> |
| 18 | + <span className="text-indigo-600 dark:text-indigo-400 font-semibold text-sm"> |
| 19 | + 1 |
| 20 | + </span> |
| 21 | + </div> |
| 22 | + <div className="flex-1"> |
| 23 | + <div className="flex items-center gap-2 mb-1"> |
| 24 | + <Edit3 className="w-4 h-4 text-indigo-600 dark:text-indigo-400" /> |
| 25 | + <h3 className="font-semibold text-sm text-slate-900 dark:text-slate-100"> |
| 26 | + Write Your Secret |
| 27 | + </h3> |
| 28 | + </div> |
| 29 | + <p className="text-sm text-slate-600 dark:text-slate-300"> |
| 30 | + Type your sensitive information (API keys, passwords, private |
| 31 | + notes) into the secure form. |
| 32 | + </p> |
12 | 33 | </div> |
13 | 34 | </div> |
14 | | - <div className="flex items-center justify-between md:justify-start gap-1.5 text-base text-slate-600 dark:text-slate-300"> |
15 | | - <div className="flex md:flex-row flex-col items-center gap-1.5"> |
16 | | - <Edit3 className="size-4" /> |
17 | | - <span>Write</span> |
18 | | - </div> |
19 | | - <ArrowRight className="size-4 text-slate-400 dark:text-slate-500" /> |
20 | | - <div className="flex md:flex-row flex-col items-center gap-1.5"> |
21 | | - <Timer className="size-4" /> |
22 | | - <span>Time</span> |
23 | | - </div> |
24 | | - <ArrowRight className="size-4 text-slate-400 dark:text-slate-500" /> |
25 | | - <div className="flex md:flex-row flex-col items-center gap-1.5"> |
26 | | - <Link2 className="size-4" /> |
27 | | - <span>Share</span> |
28 | | - </div> |
29 | | - <ArrowRight className="size-4 text-slate-400 dark:text-slate-500" /> |
30 | | - <div className="flex md:flex-row flex-col items-center gap-1.5"> |
31 | | - <Zap className="size-4" /> |
32 | | - <span>Vanish</span> |
| 35 | + |
| 36 | + {/* Step 2 */} |
| 37 | + <div className="flex items-start gap-3"> |
| 38 | + <div className="flex-shrink-0 w-8 h-8 bg-indigo-100 dark:bg-indigo-900/50 rounded-full flex items-center justify-center"> |
| 39 | + <span className="text-indigo-600 dark:text-indigo-400 font-semibold text-sm"> |
| 40 | + 2 |
| 41 | + </span> |
| 42 | + </div> |
| 43 | + <div className="flex-1"> |
| 44 | + <div className="flex items-center gap-2 mb-1"> |
| 45 | + <Shield className="w-4 h-4 text-indigo-600 dark:text-indigo-400" /> |
| 46 | + <h3 className="font-semibold text-sm text-slate-900 dark:text-slate-100"> |
| 47 | + Encrypt & Generate |
| 48 | + </h3> |
| 49 | + </div> |
| 50 | + <p className="text-sm text-slate-600 dark:text-slate-300"> |
| 51 | + Your secret is encrypted {/*end-to-end*/} and a unique URL + |
| 52 | + one-time password (OTP) are generated. |
| 53 | + </p> |
33 | 54 | </div> |
34 | 55 | </div> |
| 56 | + |
| 57 | + {/* Step 3 */} |
| 58 | + <div className="flex items-start gap-3"> |
| 59 | + <div className="flex-shrink-0 w-8 h-8 bg-indigo-100 dark:bg-indigo-900/50 rounded-full flex items-center justify-center"> |
| 60 | + <span className="text-indigo-600 dark:text-indigo-400 font-semibold text-sm"> |
| 61 | + 3 |
| 62 | + </span> |
| 63 | + </div> |
| 64 | + <div className="flex-1"> |
| 65 | + <div className="flex items-center gap-2 mb-1"> |
| 66 | + <Link2 className="w-4 h-4 text-indigo-600 dark:text-indigo-400" /> |
| 67 | + <h3 className="font-semibold text-sm text-slate-900 dark:text-slate-100"> |
| 68 | + Share the Link & OTP |
| 69 | + </h3> |
| 70 | + </div> |
| 71 | + <p className="text-sm text-slate-600 dark:text-slate-300"> |
| 72 | + Send the URL and OTP to your recipient through separate channels |
| 73 | + for maximum security. |
| 74 | + </p> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + |
| 78 | + {/* Step 4 */} |
| 79 | + <div className="flex items-start gap-3"> |
| 80 | + <div className="flex-shrink-0 w-8 h-8 bg-indigo-100 dark:bg-indigo-900/50 rounded-full flex items-center justify-center"> |
| 81 | + <span className="text-indigo-600 dark:text-indigo-400 font-semibold text-sm"> |
| 82 | + 4 |
| 83 | + </span> |
| 84 | + </div> |
| 85 | + <div className="flex-1"> |
| 86 | + <div className="flex items-center gap-2 mb-1"> |
| 87 | + <Eye className="w-4 h-4 text-indigo-600 dark:text-indigo-400" /> |
| 88 | + <h3 className="font-semibold text-sm text-slate-900 dark:text-slate-100"> |
| 89 | + One-Time Access |
| 90 | + </h3> |
| 91 | + </div> |
| 92 | + <p className="text-sm text-slate-600 dark:text-slate-300"> |
| 93 | + The recipient opens the link, enters the OTP, and views your |
| 94 | + secret once. |
| 95 | + </p> |
| 96 | + </div> |
| 97 | + </div> |
| 98 | + |
| 99 | + {/* Step 5 */} |
| 100 | + <div className="flex items-start gap-3"> |
| 101 | + <div className="flex-shrink-0 w-8 h-8 bg-red-100 dark:bg-red-900/50 rounded-full flex items-center justify-center"> |
| 102 | + <span className="text-red-600 dark:text-red-400 font-semibold text-sm"> |
| 103 | + 5 |
| 104 | + </span> |
| 105 | + </div> |
| 106 | + <div className="flex-1"> |
| 107 | + <div className="flex items-center gap-2 mb-1"> |
| 108 | + <Zap className="w-4 h-4 text-red-600 dark:text-red-400" /> |
| 109 | + <h3 className="font-semibold text-sm text-slate-900 dark:text-slate-100"> |
| 110 | + Automatic Destruction |
| 111 | + </h3> |
| 112 | + </div> |
| 113 | + <p className="text-sm text-slate-600 dark:text-slate-300"> |
| 114 | + The secret is permanently deleted from our servers immediately |
| 115 | + after being viewed. |
| 116 | + </p> |
| 117 | + </div> |
| 118 | + </div> |
| 119 | + |
| 120 | + {/* Security Note */} |
| 121 | + {/* <div className="bg-indigo-50 dark:bg-indigo-900/20 border border-indigo-200 dark:border-indigo-800 rounded-lg p-3 mt-4"> |
| 122 | + <div className="flex items-start gap-2"> |
| 123 | + <Clock className="w-4 h-4 text-indigo-600 dark:text-indigo-400 mt-0.5 flex-shrink-0" /> |
| 124 | + <div className="text-sm text-indigo-800 dark:text-indigo-200"> |
| 125 | + <p className="font-medium mb-1">Zero-Knowledge Security</p> |
| 126 | + <p className="text-indigo-700 dark:text-indigo-300"> |
| 127 | + Your secret is encrypted in your browser before being sent to |
| 128 | + our servers. We never see your data in plain text. |
| 129 | + </p> |
| 130 | + </div> |
| 131 | + </div> |
| 132 | + </div> */} |
35 | 133 | </CardContent> |
36 | 134 | </Card> |
37 | 135 | </div> |
|
0 commit comments