|
1 | | -import GlassCard from "./components/ui/GlassCard" |
2 | | -import NeonButton from "./components/ui/NeonButton" |
3 | 1 | import AnimatedBackground from "./components/animations/AnimatedBackground" |
4 | | -import Sidebar from "./components/layout/Sidebar" |
5 | 2 | import WebsiteStatusCard from "./components/dashboard/WebsiteStatusCard" |
6 | 3 | import TrackerIntelligenceCard from "./components/dashboard/TrackerIntelligenceCard" |
| 4 | +import ProtectionStatusCard from "./components/dashboard/ProtectionStatusCard" |
| 5 | +import NeonButton from "./components/ui/NeonButton" |
7 | 6 |
|
8 | 7 | function App() { |
9 | 8 | return ( |
10 | 9 | <> |
11 | 10 | <AnimatedBackground /> |
12 | | - <Sidebar /> |
13 | 11 |
|
14 | | - <main className="ml-72 min-h-screen p-10"> |
15 | | - |
16 | | - <div className="max-w-6xl mx-auto"> |
| 12 | + <div className="min-h-screen flex items-center justify-center p-6"> |
| 13 | + |
| 14 | + {/* Extension Popup */} |
| 15 | + <div |
| 16 | + className=" |
| 17 | + w-[380px] |
| 18 | + rounded-3xl |
| 19 | + border border-white/10 |
| 20 | + bg-[#0d1117]/95 |
| 21 | + backdrop-blur-xl |
| 22 | + shadow-2xl |
| 23 | + overflow-hidden |
| 24 | + " |
| 25 | + > |
17 | 26 |
|
18 | 27 | {/* Header */} |
19 | | - <div className="mb-10"> |
20 | | - <h1 className="text-5xl font-bold text-cyan-400"> |
21 | | - Security Overview |
22 | | - </h1> |
23 | | - |
24 | | - <p className="text-gray-400 mt-3"> |
25 | | - Monitor threats, privacy exposure, and browser security. |
26 | | - </p> |
27 | | - </div> |
| 28 | + <div className="px-5 py-4 border-b border-white/5"> |
| 29 | + |
| 30 | + <div className="flex items-center justify-between"> |
28 | 31 |
|
29 | | - {/* Dashboard Grid */} |
30 | | - <div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6"> |
| 32 | + <div> |
| 33 | + <h1 className="text-lg font-semibold text-white"> |
| 34 | + Ubiqui_Shield |
| 35 | + </h1> |
31 | 36 |
|
32 | | - <GlassCard> |
33 | | - <h2 className="text-xl font-semibold text-cyan-300"> |
34 | | - Privacy Score |
35 | | - </h2> |
| 37 | + <p className="text-xs text-gray-400 mt-1"> |
| 38 | + Browser Protection Active |
| 39 | + </p> |
| 40 | + </div> |
36 | 41 |
|
37 | | - <p className="text-5xl font-bold mt-6 text-white"> |
38 | | - 92% |
39 | | - </p> |
40 | | - </GlassCard> |
| 42 | + <div className=" |
| 43 | + w-3 |
| 44 | + h-3 |
| 45 | + rounded-full |
| 46 | + bg-green-400 |
| 47 | + " /> |
41 | 48 |
|
42 | | - <GlassCard> |
43 | | - <h2 className="text-xl font-semibold text-cyan-300"> |
44 | | - Threat Alerts |
45 | | - </h2> |
| 49 | + </div> |
46 | 50 |
|
47 | | - <p className="text-5xl font-bold mt-6 text-red-400"> |
48 | | - 0 |
49 | | - </p> |
50 | | - </GlassCard> |
| 51 | + </div> |
| 52 | + |
| 53 | + {/* Content */} |
| 54 | + <div className="p-4 space-y-4"> |
51 | 55 |
|
52 | 56 | <WebsiteStatusCard /> |
53 | 57 |
|
54 | 58 | <TrackerIntelligenceCard /> |
55 | 59 |
|
56 | | - </div> |
| 60 | + <ProtectionStatusCard /> |
57 | 61 |
|
58 | | - {/* Action Panel */} |
59 | | - <div className="mt-10"> |
60 | | - <GlassCard className="flex items-center justify-between flex-wrap gap-4"> |
61 | | - |
62 | | - <div> |
63 | | - <h2 className="text-2xl font-bold text-cyan-300"> |
64 | | - Real-Time Analysis |
65 | | - </h2> |
| 62 | + {/* Action Buttons */} |
| 63 | + <div className="grid grid-cols-2 gap-3"> |
66 | 64 |
|
67 | | - <p className="text-gray-400 mt-2"> |
68 | | - Analyze websites, detect phishing, and improve privacy. |
69 | | - </p> |
70 | | - </div> |
71 | | - |
72 | | - <NeonButton> |
73 | | - Launch Scan |
| 65 | + <NeonButton className="text-sm py-2"> |
| 66 | + Scan Site |
74 | 67 | </NeonButton> |
75 | 68 |
|
76 | | - </GlassCard> |
| 69 | + <button |
| 70 | + className=" |
| 71 | + rounded-xl |
| 72 | + border border-white/10 |
| 73 | + bg-white/5 |
| 74 | + text-gray-300 |
| 75 | + text-sm |
| 76 | + hover:bg-white/10 |
| 77 | + transition |
| 78 | + " |
| 79 | + > |
| 80 | + Settings |
| 81 | + </button> |
| 82 | + |
| 83 | + </div> |
| 84 | + |
77 | 85 | </div> |
78 | 86 |
|
79 | 87 | </div> |
80 | 88 |
|
81 | | - </main> |
| 89 | + </div> |
82 | 90 | </> |
83 | 91 | ) |
84 | 92 | } |
|
0 commit comments