ahmed000abdo commited on
Commit
9371307
·
verified ·
1 Parent(s): e85b124
Files changed (4) hide show
  1. README.md +8 -25
  2. gitattributes +35 -0
  3. index (2).html +964 -0
  4. style.css +28 -0
README.md CHANGED
@@ -1,29 +1,12 @@
1
  ---
2
- title: DeepSite v3
3
  emoji: 🐳
4
- colorFrom: blue
5
- colorTo: blue
6
- sdk: docker
7
- pinned: true
8
- app_port: 3000
9
- license: mit
10
- short_description: Generate any application by Vibe Coding
11
- models:
12
- - deepseek-ai/DeepSeek-V3-0324
13
- - deepseek-ai/DeepSeek-R1-0528
14
- - deepseek-ai/DeepSeek-V3.1
15
- - deepseek-ai/DeepSeek-V3.1-Terminus
16
- - deepseek-ai/DeepSeek-V3.2-Exp
17
- - Qwen/Qwen3-Coder-480B-A35B-Instruct
18
- - moonshotai/Kimi-K2-Instruct
19
- - moonshotai/Kimi-K2-Instruct-0905
20
- - zai-org/GLM-4.6
21
  ---
22
 
23
- # DeepSite 🐳
24
-
25
- DeepSite is a Vibe Coding Platform designed to make coding smarter and more efficient. Tailored for developers, data scientists, and AI engineers, it integrates generative AI into your coding projects to enhance creativity and productivity.
26
-
27
- ## How to use it locally
28
-
29
- Follow [this discussion](https://huggingface.co/spaces/enzostvs/deepsite/discussions/74)
 
1
  ---
2
+ title: tradincap
3
  emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: red
6
+ sdk: static
7
+ pinned: false
8
+ tags:
9
+ - deepsite
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
index (2).html ADDED
@@ -0,0 +1,964 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Tradincap AI - AI-Powered Chart Analysis</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body {
13
+ font-family: 'Roboto', sans-serif;
14
+ background-color: #0a0a0a;
15
+ color: #ffffff;
16
+ }
17
+ .futuristic {
18
+ font-family: 'Orbitron', sans-serif;
19
+ }
20
+ .gradient-text {
21
+ background: linear-gradient(90deg, #ff0000, #ff4d4d);
22
+ -webkit-background-clip: text;
23
+ background-clip: text;
24
+ color: transparent;
25
+ }
26
+ .dashboard-card {
27
+ background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
28
+ box-shadow: 0 4px 30px rgba(255, 0, 0, 0.1);
29
+ }
30
+ .file-upload {
31
+ border: 2px dashed #4a4a4a;
32
+ transition: all 0.3s ease;
33
+ }
34
+ .file-upload:hover {
35
+ border-color: #ff0000;
36
+ }
37
+ .analysis-result {
38
+ border-left: 4px solid #ff0000;
39
+ }
40
+ .nav-link:hover {
41
+ color: #ff0000 !important;
42
+ }
43
+ </style>
44
+ </head>
45
+ <body class="min-h-screen">
46
+ <!-- Navigation -->
47
+ <nav class="bg-black py-4 px-6 border-b border-gray-800">
48
+ <div class="max-w-7xl mx-auto flex justify-between items-center">
49
+ <div class="flex items-center space-x-2">
50
+ <span class="futuristic text-2xl font-bold gradient-text">TRADINCAP AI</span>
51
+ </div>
52
+ <div class="hidden md:flex space-x-8">
53
+ <a href="#home" class="nav-link text-white hover:text-red-500 transition">Home</a>
54
+ <a href="#pricing" class="nav-link text-white hover:text-red-500 transition">Pricing</a>
55
+ <a href="#login" class="nav-link text-white hover:text-red-500 transition">Login</a>
56
+ <a href="#signup" class="bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded-md transition">Sign Up</a>
57
+ </div>
58
+ <button class="md:hidden text-white">
59
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
60
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
61
+ </svg>
62
+ </button>
63
+ </div>
64
+ </nav>
65
+
66
+ <!-- Homepage -->
67
+ <section id="home" class="py-20 px-6">
68
+ <div class="max-w-7xl mx-auto grid md:grid-cols-2 gap-12 items-center">
69
+ <div>
70
+ <h1 class="futuristic text-4xl md:text-6xl font-bold mb-6">
71
+ <span class="gradient-text">AI-Powered</span> Chart Insights. Instantly.
72
+ </h1>
73
+ <p class="text-gray-300 text-lg mb-8">
74
+ Upload your chart. Let AI detect entries, exits, TP/SL in seconds.
75
+ Our proprietary algorithm analyzes patterns with 92.7% accuracy.
76
+ </p>
77
+ <div class="flex space-x-4">
78
+ <a href="#pricing" class="bg-red-600 hover:bg-red-700 text-white px-8 py-3 rounded-md text-lg font-medium transition">
79
+ Get Started
80
+ </a>
81
+ <a href="#" class="border border-gray-600 hover:border-red-500 text-white px-8 py-3 rounded-md text-lg font-medium transition">
82
+ Watch Demo
83
+ </a>
84
+ </div>
85
+ <div class="mt-12 flex items-center space-x-4">
86
+ <div class="flex -space-x-2">
87
+ <img class="w-10 h-10 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/12.jpg" alt="">
88
+ <img class="w-10 h-10 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
89
+ <img class="w-10 h-10 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/45.jpg" alt="">
90
+ </div>
91
+ <div>
92
+ <p class="text-gray-400 text-sm">Trusted by 5,000+ traders</p>
93
+ <div class="flex items-center">
94
+ <svg class="w-4 h-4 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"><path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path></svg>
95
+ <svg class="w-4 h-4 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"><path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path></svg>
96
+ <svg class="w-4 h-4 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"><path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path></svg>
97
+ <svg class="w-4 h-4 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"><path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path></svg>
98
+ <svg class="w-4 h-4 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"><path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path></svg>
99
+ <span class="ml-2 text-gray-400">4.9/5 (1,200 reviews)</span>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ <div class="hidden md:block">
105
+ <div class="relative">
106
+ <div class="absolute -top-6 -left-6 w-64 h-64 bg-red-900 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob"></div>
107
+ <div class="absolute -bottom-8 -right-8 w-64 h-64 bg-blue-900 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob animation-delay-2000"></div>
108
+ <div class="relative">
109
+ <img src="https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80" alt="AI Analysis" class="rounded-lg shadow-2xl border border-gray-800">
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </section>
115
+
116
+ <!-- Features -->
117
+ <section class="py-20 px-6 bg-gradient-to-b from-black to-gray-900">
118
+ <div class="max-w-7xl mx-auto">
119
+ <h2 class="futuristic text-3xl md:text-4xl font-bold text-center mb-16">
120
+ How <span class="gradient-text">Tradincap AI</span> Works
121
+ </h2>
122
+ <div class="grid md:grid-cols-3 gap-8">
123
+ <div class="bg-gray-900 p-8 rounded-lg border border-gray-800 hover:border-red-500 transition">
124
+ <div class="w-14 h-14 bg-red-900 rounded-full flex items-center justify-center mb-6">
125
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-red-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
126
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
127
+ </svg>
128
+ </div>
129
+ <h3 class="text-xl font-bold mb-3">Upload Your Chart</h3>
130
+ <p class="text-gray-400">Simply upload any trading chart screenshot. We support all timeframes and asset classes.</p>
131
+ </div>
132
+ <div class="bg-gray-900 p-8 rounded-lg border border-gray-800 hover:border-red-500 transition">
133
+ <div class="w-14 h-14 bg-red-900 rounded-full flex items-center justify-center mb-6">
134
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-red-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
135
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
136
+ </svg>
137
+ </div>
138
+ <h3 class="text-xl font-bold mb-3">AI Analysis</h3>
139
+ <p class="text-gray-400">Our proprietary AI scans for patterns, trends, and key levels with 92.7% accuracy.</p>
140
+ </div>
141
+ <div class="bg-gray-900 p-8 rounded-lg border border-gray-800 hover:border-red-500 transition">
142
+ <div class="w-14 h-14 bg-red-900 rounded-full flex items-center justify-center mb-6">
143
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-red-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
144
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
145
+ </svg>
146
+ </div>
147
+ <h3 class="text-xl font-bold mb-3">Get Actionable Signals</h3>
148
+ <p class="text-gray-400">Receive clear entry points, take profit targets, and stop loss levels in seconds.</p>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ </section>
153
+
154
+ <!-- Pricing Page -->
155
+ <section id="pricing" class="py-20 px-6 bg-black">
156
+ <div class="max-w-7xl mx-auto">
157
+ <h2 class="futuristic text-3xl md:text-4xl font-bold text-center mb-4">
158
+ Simple, <span class="gradient-text">Transparent</span> Pricing
159
+ </h2>
160
+ <p class="text-gray-400 text-center max-w-2xl mx-auto mb-16">
161
+ Choose the plan that fits your trading needs. Cancel anytime.
162
+ </p>
163
+
164
+ <div class="grid md:grid-cols-3 gap-8 max-w-5xl mx-auto">
165
+ <!-- Free Plan -->
166
+ <div class="bg-gray-900 rounded-lg border border-gray-800 overflow-hidden transition hover:border-red-500">
167
+ <div class="p-8">
168
+ <h3 class="text-xl font-bold mb-2">Free</h3>
169
+ <p class="text-gray-400 mb-6">Try basic features</p>
170
+ <div class="mb-6">
171
+ <span class="text-4xl font-bold">$0</span>
172
+ <span class="text-gray-400">/month</span>
173
+ </div>
174
+ <button onclick="selectPlan('free')" class="w-full bg-gray-800 hover:bg-gray-700 text-white py-3 rounded-md transition">
175
+ Get Started
176
+ </button>
177
+ </div>
178
+ <div class="border-t border-gray-800 p-8">
179
+ <ul class="space-y-4">
180
+ <li class="flex items-center">
181
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
182
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
183
+ </svg>
184
+ <span>1 analysis per month</span>
185
+ </li>
186
+ <li class="flex items-center">
187
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
188
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
189
+ </svg>
190
+ <span>Basic pattern recognition</span>
191
+ </li>
192
+ <li class="flex items-center text-gray-500">
193
+ <svg class="w-5 h-5 text-gray-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
194
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
195
+ </svg>
196
+ <span>No advanced indicators</span>
197
+ </li>
198
+ <li class="flex items-center text-gray-500">
199
+ <svg class="w-5 h-5 text-gray-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
200
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
201
+ </svg>
202
+ <span>No priority processing</span>
203
+ </li>
204
+ </ul>
205
+ </div>
206
+ </div>
207
+
208
+ <!-- Pro Plan -->
209
+ <div class="bg-gray-900 rounded-lg border-2 border-red-600 overflow-hidden transform hover:scale-105 transition shadow-xl shadow-red-900/20">
210
+ <div class="p-8">
211
+ <div class="flex justify-between items-start">
212
+ <div>
213
+ <h3 class="text-xl font-bold mb-2">Pro</h3>
214
+ <p class="text-gray-400 mb-6">For active traders</p>
215
+ </div>
216
+ <span class="bg-red-600 text-white text-xs px-2 py-1 rounded-full">POPULAR</span>
217
+ </div>
218
+ <div class="mb-6">
219
+ <span class="text-4xl font-bold">$17</span>
220
+ <span class="text-gray-400">/month</span>
221
+ </div>
222
+ <button onclick="selectPlan('pro')" class="w-full bg-red-600 hover:bg-red-700 text-white py-3 rounded-md transition">
223
+ Get Started
224
+ </button>
225
+ </div>
226
+ <div class="border-t border-gray-800 p-8">
227
+ <ul class="space-y-4">
228
+ <li class="flex items-center">
229
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
230
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
231
+ </svg>
232
+ <span>50 analyses per month</span>
233
+ </li>
234
+ <li class="flex items-center">
235
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
236
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
237
+ </svg>
238
+ <span>Advanced pattern recognition</span>
239
+ </li>
240
+ <li class="flex items-center">
241
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
242
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
243
+ </svg>
244
+ <span>Priority processing</span>
245
+ </li>
246
+ <li class="flex items-center">
247
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
248
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
249
+ </svg>
250
+ <span>Basic indicators included</span>
251
+ </li>
252
+ </ul>
253
+ </div>
254
+ </div>
255
+
256
+ <!-- Premium Plan -->
257
+ <div class="bg-gray-900 rounded-lg border border-gray-800 overflow-hidden transition hover:border-red-500">
258
+ <div class="p-8">
259
+ <h3 class="text-xl font-bold mb-2">Premium</h3>
260
+ <p class="text-gray-400 mb-6">For professional traders</p>
261
+ <div class="mb-6">
262
+ <span class="text-4xl font-bold">$29</span>
263
+ <span class="text-gray-400">/month</span>
264
+ </div>
265
+ <button onclick="selectPlan('premium')" class="w-full bg-gray-800 hover:bg-gray-700 text-white py-3 rounded-md transition">
266
+ Get Started
267
+ </button>
268
+ </div>
269
+ <div class="border-t border-gray-800 p-8">
270
+ <ul class="space-y-4">
271
+ <li class="flex items-center">
272
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
273
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
274
+ </svg>
275
+ <span>Unlimited analyses</span>
276
+ </li>
277
+ <li class="flex items-center">
278
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
279
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
280
+ </svg>
281
+ <span>All advanced indicators</span>
282
+ </li>
283
+ <li class="flex items-center">
284
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
285
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
286
+ </svg>
287
+ <span>Highest priority processing</span>
288
+ </li>
289
+ <li class="flex items-center">
290
+ <svg class="w-5 h-5 text-green-500 mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
291
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
292
+ </svg>
293
+ <span>Custom indicator requests</span>
294
+ </li>
295
+ </ul>
296
+ </div>
297
+ </div>
298
+ </div>
299
+ </div>
300
+ </section>
301
+
302
+ <!-- Sign Up Page -->
303
+ <section id="signup" class="py-20 px-6 bg-gradient-to-b from-black to-gray-900 hidden">
304
+ <div class="max-w-md mx-auto bg-gray-900 rounded-xl shadow-md overflow-hidden border border-gray-800">
305
+ <div class="p-8">
306
+ <div class="flex justify-center mb-8">
307
+ <span class="futuristic text-2xl font-bold gradient-text">TRADINCAP AI</span>
308
+ </div>
309
+ <h2 class="text-2xl font-bold text-center mb-6">Create Your Account</h2>
310
+
311
+ <form id="registerForm" class="space-y-6">
312
+ <div>
313
+ <label for="email" class="block text-sm font-medium text-gray-300 mb-1">Email</label>
314
+ <input type="email" id="email" name="email" required class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 text-white">
315
+ </div>
316
+ <div>
317
+ <label for="password" class="block text-sm font-medium text-gray-300 mb-1">Password</label>
318
+ <input type="password" id="password" name="password" required minlength="8" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 text-white">
319
+ </div>
320
+ <div>
321
+ <label for="confirmPassword" class="block text-sm font-medium text-gray-300 mb-1">Confirm Password</label>
322
+ <input type="password" id="confirmPassword" name="confirmPassword" required minlength="8" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 text-white">
323
+ </div>
324
+ <div class="flex items-center">
325
+ <input id="terms" name="terms" type="checkbox" required class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-700 rounded bg-gray-800">
326
+ <label for="terms" class="ml-2 block text-sm text-gray-300">
327
+ I agree to the <a href="#" class="text-red-400 hover:text-red-300">Terms of Service</a> and <a href="#" class="text-red-400 hover:text-red-300">Privacy Policy</a>
328
+ </label>
329
+ </div>
330
+ <div>
331
+ <button type="submit" class="w-full bg-red-600 hover:bg-red-700 text-white py-3 px-4 rounded-md font-medium transition">
332
+ Create Account
333
+ </button>
334
+ </div>
335
+ </form>
336
+
337
+ <div class="mt-6 text-center">
338
+ <p class="text-gray-400 text-sm">
339
+ Already have an account?
340
+ <a href="#login" class="text-red-400 hover:text-red-300 font-medium">Sign in</a>
341
+ </p>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ </section>
346
+
347
+ <!-- Login Page -->
348
+ <section id="login" class="py-20 px-6 bg-gradient-to-b from-black to-gray-900 hidden">
349
+ <div class="max-w-md mx-auto bg-gray-900 rounded-xl shadow-md overflow-hidden border border-gray-800">
350
+ <div class="p-8">
351
+ <div class="flex justify-center mb-8">
352
+ <span class="futuristic text-2xl font-bold gradient-text">TRADINCAP AI</span>
353
+ </div>
354
+ <h2 class="text-2xl font-bold text-center mb-6">Welcome Back</h2>
355
+
356
+ <form id="loginForm" class="space-y-6">
357
+ <div>
358
+ <label for="loginEmail" class="block text-sm font-medium text-gray-300 mb-1">Email</label>
359
+ <input type="email" id="loginEmail" name="email" required class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 text-white">
360
+ </div>
361
+ <div>
362
+ <label for="loginPassword" class="block text-sm font-medium text-gray-300 mb-1">Password</label>
363
+ <input type="password" id="loginPassword" name="password" required class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 text-white">
364
+ </div>
365
+ <div class="flex items-center justify-between">
366
+ <div class="flex items-center">
367
+ <input id="remember" name="remember" type="checkbox" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-700 rounded bg-gray-800">
368
+ <label for="remember" class="ml-2 block text-sm text-gray-300">Remember me</label>
369
+ </div>
370
+ <div class="text-sm">
371
+ <a href="#" class="font-medium text-red-400 hover:text-red-300">Forgot password?</a>
372
+ </div>
373
+ </div>
374
+ <div>
375
+ <button type="submit" class="w-full bg-red-600 hover:bg-red-700 text-white py-3 px-4 rounded-md font-medium transition">
376
+ Sign In
377
+ </button>
378
+ </div>
379
+ </form>
380
+
381
+ <div class="mt-6 text-center">
382
+ <p class="text-gray-400 text-sm">
383
+ Don't have an account?
384
+ <a href="#signup" class="text-red-400 hover:text-red-300 font-medium">Sign up</a>
385
+ </p>
386
+ </div>
387
+ </div>
388
+ </div>
389
+ </section>
390
+
391
+ <!-- User Dashboard -->
392
+ <section id="dashboard" class="py-12 px-6 bg-gray-900 min-h-screen hidden">
393
+ <div class="max-w-7xl mx-auto">
394
+ <div class="flex justify-between items-center mb-8">
395
+ <div>
396
+ <h1 class="futuristic text-2xl md:text-3xl font-bold">
397
+ <span class="gradient-text">Dashboard</span>
398
+ </h1>
399
+ <p class="text-gray-400">Welcome back, <span id="userEmail" class="text-red-400">[email protected]</span></p>
400
+ </div>
401
+ <div class="flex items-center space-x-4">
402
+ <button id="logoutBtn" class="text-gray-400 hover:text-white transition">
403
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
404
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" />
405
+ </svg>
406
+ </button>
407
+ </div>
408
+ </div>
409
+
410
+ <div class="grid md:grid-cols-3 gap-6 mb-8">
411
+ <!-- Plan Info -->
412
+ <div class="dashboard-card p-6 rounded-lg">
413
+ <h3 class="text-lg font-bold mb-4">Your Plan</h3>
414
+ <div class="flex items-center justify-between mb-2">
415
+ <span class="text-gray-400">Current Plan:</span>
416
+ <span id="userPlan" class="font-medium">Free</span>
417
+ </div>
418
+ <div class="flex items-center justify-between mb-4">
419
+ <span class="text-gray-400">Analyses Left:</span>
420
+ <span id="analysesLeft" class="font-medium">1/1</span>
421
+ </div>
422
+ <a href="#pricing" class="text-red-400 hover:text-red-300 text-sm font-medium">Upgrade Plan</a>
423
+ </div>
424
+
425
+ <!-- Quick Stats -->
426
+ <div class="dashboard-card p-6 rounded-lg">
427
+ <h3 class="text-lg font-bold mb-4">Quick Stats</h3>
428
+ <div class="grid grid-cols-2 gap-4">
429
+ <div>
430
+ <p class="text-gray-400 text-sm">Total Analyses</p>
431
+ <p class="text-xl font-bold">12</p>
432
+ </div>
433
+ <div>
434
+ <p class="text-gray-400 text-sm">Success Rate</p>
435
+ <p class="text-xl font-bold">78%</p>
436
+ </div>
437
+ </div>
438
+ </div>
439
+
440
+ <!-- Recent Activity -->
441
+ <div class="dashboard-card p-6 rounded-lg">
442
+ <h3 class="text-lg font-bold mb-4">Recent Activity</h3>
443
+ <div class="space-y-2">
444
+ <div class="flex items-center text-sm">
445
+ <div class="w-2 h-2 bg-red-500 rounded-full mr-2"></div>
446
+ <span>BTC/USD analysis completed</span>
447
+ <span class="text-gray-500 ml-auto">2h ago</span>
448
+ </div>
449
+ <div class="flex items-center text-sm">
450
+ <div class="w-2 h-2 bg-green-500 rounded-full mr-2"></div>
451
+ <span>Account upgraded to Pro</span>
452
+ <span class="text-gray-500 ml-auto">1d ago</span>
453
+ </div>
454
+ </div>
455
+ </div>
456
+ </div>
457
+
458
+ <!-- Analysis Section -->
459
+ <div class="dashboard-card p-6 rounded-lg mb-8">
460
+ <h3 class="text-lg font-bold mb-6">New Analysis</h3>
461
+
462
+ <div id="freeUserMessage" class="bg-gray-800 border-l-4 border-yellow-500 p-4 mb-6">
463
+ <div class="flex">
464
+ <div class="flex-shrink-0">
465
+ <svg class="h-5 w-5 text-yellow-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
466
+ <path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd" />
467
+ </svg>
468
+ </div>
469
+ <div class="ml-3">
470
+ <p class="text-sm text-yellow-200">
471
+ You have <span id="remainingAnalyses">1</span> analysis remaining this month. <a href="#pricing" class="text-yellow-400 hover:text-yellow-300 underline">Upgrade your plan</a> for unlimited analyses.
472
+ </p>
473
+ </div>
474
+ </div>
475
+ </div>
476
+
477
+ <div class="file-upload p-8 rounded-lg text-center mb-6 cursor-pointer" id="dropArea">
478
+ <input type="file" id="upload" accept="image/*" class="hidden">
479
+ <svg xmlns="http://www.w3.org/2000/svg" class="mx-auto h-12 w-12 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
480
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
481
+ </svg>
482
+ <h4 class="mt-2 text-lg font-medium text-white">Upload Trading Chart</h4>
483
+ <p class="mt-1 text-sm text-gray-400">Drag & drop your chart image here, or click to browse</p>
484
+ <p class="mt-2 text-xs text-gray-500">Supports: JPG, PNG (Max 5MB)</p>
485
+ </div>
486
+
487
+ <div class="flex justify-end">
488
+ <button onclick="analyzeImage()" class="bg-red-600 hover:bg-red-700 text-white px-6 py-2 rounded-md font-medium transition flex items-center">
489
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
490
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
491
+ </svg>
492
+ Analyze
493
+ </button>
494
+ </div>
495
+
496
+ <div id="resultBox" class="mt-6 p-4 bg-gray-800 rounded-lg hidden">
497
+ <h4 class="text-lg font-medium mb-3 text-white">Analysis Results</h4>
498
+ <pre class="text-gray-300 whitespace-pre-wrap"></pre>
499
+ </div>
500
+ </div>
501
+
502
+ <!-- Results Section -->
503
+ <div id="resultsSection" class="dashboard-card p-6 rounded-lg hidden">
504
+ <h3 class="text-lg font-bold mb-6">Analysis Results</h3>
505
+
506
+ <div class="grid md:grid-cols-2 gap-6 mb-8">
507
+ <!-- Original Chart -->
508
+ <div>
509
+ <h4 class="text-md font-medium mb-3 text-gray-300">Original Chart</h4>
510
+ <div class="bg-gray-800 rounded-lg p-4">
511
+ <img id="uploadedImage" src="" alt="Uploaded Chart" class="w-full h-auto rounded">
512
+ </div>
513
+ </div>
514
+
515
+ <!-- AI Analysis -->
516
+ <div>
517
+ <h4 class="text-md font-medium mb-3 text-gray-300">AI Analysis</h4>
518
+ <div class="analysis-result bg-gray-800 rounded-lg p-4">
519
+ <div class="grid grid-cols-2 gap-4 mb-4">
520
+ <div>
521
+ <p class="text-sm text-gray-400">Signal</p>
522
+ <p id="signalResult" class="text-lg font-bold">BUY</p>
523
+ </div>
524
+ <div>
525
+ <p class="text-sm text-gray-400">Confidence</p>
526
+ <p id="confidenceResult" class="text-lg font-bold">87%</p>
527
+ </div>
528
+ <div>
529
+ <p class="text-sm text-gray-400">Target Price</p>
530
+ <p id="targetResult" class="text-lg font-bold">$42,350</p>
531
+ </div>
532
+ <div>
533
+ <p class="text-sm text-gray-400">Stop Loss</p>
534
+ <p id="stopLossResult" class="text-lg font-bold">$38,200</p>
535
+ </div>
536
+ </div>
537
+ <div>
538
+ <p class="text-sm text-gray-400">AI Notes</p>
539
+ <p id="aiNotes" class="text-sm">
540
+ Strong bullish divergence on RSI with price making higher lows while RSI made lower lows.
541
+ Breakout above key resistance at $40,000 with increasing volume.
542
+ Next major resistance at $42,350.
543
+ </p>
544
+ </div>
545
+ </div>
546
+ </div>
547
+ </div>
548
+
549
+ <div class="border-t border-gray-800 pt-6">
550
+ <h4 class="text-md font-medium mb-3 text-gray-300">Save Analysis</h4>
551
+ <div class="flex space-x-3">
552
+ <input type="text" placeholder="Analysis name (e.g. BTC Weekly)" class="flex-1 px-4 py-2 bg-gray-800 border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500 text-white">
553
+ <button class="bg-gray-700 hover:bg-gray-600 text-white px-4 py-2 rounded-md font-medium transition">
554
+ Save
555
+ </button>
556
+ </div>
557
+ </div>
558
+ </div>
559
+
560
+ <!-- Previous Analyses -->
561
+ <div class="dashboard-card p-6 rounded-lg mt-8">
562
+ <h3 class="text-lg font-bold mb-6">Previous Analyses</h3>
563
+
564
+ <div class="overflow-x-auto">
565
+ <table class="min-w-full divide-y divide-gray-800">
566
+ <thead>
567
+ <tr>
568
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Date</th>
569
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Pair</th>
570
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Timeframe</th>
571
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Signal</th>
572
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Result</th>
573
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Actions</th>
574
+ </tr>
575
+ </thead>
576
+ <tbody class="divide-y divide-gray-800">
577
+ <tr>
578
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">2023-05-15</td>
579
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">BTC/USD</td>
580
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">4H</td>
581
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
582
+ <span class="px-2 py-1 bg-green-900 text-green-300 rounded-full text-xs">BUY</span>
583
+ </td>
584
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
585
+ <span class="px-2 py-1 bg-green-900 text-green-300 rounded-full text-xs">+8.2%</span>
586
+ </td>
587
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">
588
+ <a href="#" class="text-red-400 hover:text-red-300">View</a>
589
+ </td>
590
+ </tr>
591
+ <tr>
592
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">2023-05-10</td>
593
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">ETH/USD</td>
594
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">1D</td>
595
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
596
+ <span class="px-2 py-1 bg-red-900 text-red-300 rounded-full text-xs">SELL</span>
597
+ </td>
598
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
599
+ <span class="px-2 py-1 bg-red-900 text-red-300 rounded-full text-xs">-3.5%</span>
600
+ </td>
601
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">
602
+ <a href="#" class="text-red-400 hover:text-red-300">View</a>
603
+ </td>
604
+ </tr>
605
+ </tbody>
606
+ </table>
607
+ </div>
608
+
609
+ <div class="mt-4 text-center">
610
+ <a href="#" class="text-sm text-red-400 hover:text-red-300">View all analyses</a>
611
+ </div>
612
+ </div>
613
+ </div>
614
+ </section>
615
+
616
+ <!-- Footer -->
617
+ <footer class="bg-black py-12 px-6 border-t border-gray-800">
618
+ <div class="max-w-7xl mx-auto">
619
+ <div class="grid md:grid-cols-4 gap-8">
620
+ <div>
621
+ <span class="futuristic text-2xl font-bold gradient-text">TRADINCAP AI</span>
622
+ <p class="mt-4 text-gray-400 text-sm">
623
+ AI-powered chart analysis for traders. Get instant insights on your trading charts with our proprietary algorithm.
624
+ </p>
625
+ </div>
626
+ <div>
627
+ <h4 class="text-white font-medium mb-4">Product</h4>
628
+ <ul class="space-y-2">
629
+ <li><a href="#pricing" class="text-gray-400 hover:text-white text-sm transition">Pricing</a></li>
630
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">Features</a></li>
631
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">API</a></li>
632
+ </ul>
633
+ </div>
634
+ <div>
635
+ <h4 class="text-white font-medium mb-4">Company</h4>
636
+ <ul class="space-y-2">
637
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">About</a></li>
638
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">Blog</a></li>
639
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">Careers</a></li>
640
+ </ul>
641
+ </div>
642
+ <div>
643
+ <h4 class="text-white font-medium mb-4">Legal</h4>
644
+ <ul class="space-y-2">
645
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">Privacy</a></li>
646
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">Terms</a></li>
647
+ <li><a href="#" class="text-gray-400 hover:text-white text-sm transition">Disclaimer</a></li>
648
+ </ul>
649
+ </div>
650
+ </div>
651
+ <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
652
+ <p class="text-gray-500 text-sm">© 2023 Tradincap AI. All rights reserved.</p>
653
+ <div class="flex space-x-6 mt-4 md:mt-0">
654
+ <a href="#" class="text-gray-500 hover:text-white transition">
655
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd"></path></svg>
656
+ </a>
657
+ <a href="#" class="text-gray-500 hover:text-white transition">
658
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"></path></svg>
659
+ </a>
660
+ <a href="#" class="text-gray-500 hover:text-white transition">
661
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z" clip-rule="evenodd"></path></svg>
662
+ </a>
663
+ </div>
664
+ </div>
665
+ </div>
666
+ </footer>
667
+
668
+ <script>
669
+ // Simple state management
670
+ let currentUser = null;
671
+ let selectedPlan = 'free';
672
+ let analysesUsed = 0;
673
+
674
+ // DOM elements
675
+ const homeSection = document.querySelector('#home');
676
+ const pricingSection = document.querySelector('#pricing');
677
+ const signupSection = document.querySelector('#signup');
678
+ const loginSection = document.querySelector('#login');
679
+ const dashboardSection = document.querySelector('#dashboard');
680
+ const registerForm = document.querySelector('#registerForm');
681
+ const loginForm = document.querySelector('#loginForm');
682
+ const logoutBtn = document.querySelector('#logoutBtn');
683
+ const fileInput = document.querySelector('#fileInput');
684
+ const dropArea = document.querySelector('#dropArea');
685
+ const analyzeBtn = document.querySelector('#analyzeBtn');
686
+ const resultsSection = document.querySelector('#resultsSection');
687
+ const freeUserMessage = document.querySelector('#freeUserMessage');
688
+ const remainingAnalyses = document.querySelector('#remainingAnalyses');
689
+ const userPlan = document.querySelector('#userPlan');
690
+ const analysesLeft = document.querySelector('#analysesLeft');
691
+ const userEmail = document.querySelector('#userEmail');
692
+
693
+ // Navigation functions
694
+ function showSection(section) {
695
+ homeSection.classList.add('hidden');
696
+ pricingSection.classList.add('hidden');
697
+ signupSection.classList.add('hidden');
698
+ loginSection.classList.add('hidden');
699
+ dashboardSection.classList.add('hidden');
700
+
701
+ section.classList.remove('hidden');
702
+ }
703
+
704
+ // Navigation event listeners
705
+ document.querySelectorAll('a[href="#home"]').forEach(link => {
706
+ link.addEventListener('click', (e) => {
707
+ e.preventDefault();
708
+ showSection(homeSection);
709
+ });
710
+ });
711
+
712
+ document.querySelectorAll('a[href="#pricing"]').forEach(link => {
713
+ link.addEventListener('click', (e) => {
714
+ e.preventDefault();
715
+ showSection(pricingSection);
716
+ });
717
+ });
718
+
719
+ document.querySelectorAll('a[href="#signup"]').forEach(link => {
720
+ link.addEventListener('click', (e) => {
721
+ e.preventDefault();
722
+ showSection(signupSection);
723
+ });
724
+ });
725
+
726
+ document.querySelectorAll('a[href="#login"]').forEach(link => {
727
+ link.addEventListener('click', (e) => {
728
+ e.preventDefault();
729
+ showSection(loginSection);
730
+ });
731
+ });
732
+
733
+ // Plan selection
734
+ function selectPlan(plan) {
735
+ selectedPlan = plan;
736
+ showSection(signupSection);
737
+ }
738
+
739
+ // Registration form
740
+ registerForm.addEventListener('submit', (e) => {
741
+ e.preventDefault();
742
+
743
+ const email = document.querySelector('#email').value;
744
+ const password = document.querySelector('#password').value;
745
+ const confirmPassword = document.querySelector('#confirmPassword').value;
746
+
747
+ if (password !== confirmPassword) {
748
+ alert('Passwords do not match!');
749
+ return;
750
+ }
751
+
752
+ // Simple validation
753
+ if (email && password) {
754
+ currentUser = {
755
+ email,
756
+ plan: selectedPlan,
757
+ analysesUsed: 0
758
+ };
759
+
760
+ userEmail.textContent = email;
761
+ userPlan.textContent = selectedPlan.charAt(0).toUpperCase() + selectedPlan.slice(1);
762
+
763
+ if (selectedPlan === 'free') {
764
+ analysesLeft.textContent = '1/1';
765
+ remainingAnalyses.textContent = '1';
766
+ } else if (selectedPlan === 'pro') {
767
+ analysesLeft.textContent = '50/50';
768
+ remainingAnalyses.textContent = '50';
769
+ } else {
770
+ analysesLeft.textContent = 'Unlimited';
771
+ remainingAnalyses.textContent = 'Unlimited';
772
+ }
773
+
774
+ showSection(dashboardSection);
775
+ }
776
+ });
777
+
778
+ // Login form
779
+ loginForm.addEventListener('submit', (e) => {
780
+ e.preventDefault();
781
+
782
+ const email = document.querySelector('#loginEmail').value;
783
+ const password = document.querySelector('#loginPassword').value;
784
+
785
+ // Simple validation
786
+ if (email && password) {
787
+ currentUser = {
788
+ email,
789
+ plan: 'pro', // Default to pro for demo
790
+ analysesUsed: 3
791
+ };
792
+
793
+ userEmail.textContent = email;
794
+ userPlan.textContent = 'Pro';
795
+ analysesLeft.textContent = '47/50';
796
+ remainingAnalyses.textContent = '47';
797
+
798
+ showSection(dashboardSection);
799
+ }
800
+ });
801
+
802
+ // Logout
803
+ logoutBtn.addEventListener('click', () => {
804
+ currentUser = null;
805
+ showSection(homeSection);
806
+ });
807
+
808
+ // File upload handling
809
+ dropArea.addEventListener('click', () => {
810
+ fileInput.click();
811
+ });
812
+
813
+ fileInput.addEventListener('change', (e) => {
814
+ if (e.target.files.length) {
815
+ const file = e.target.files[0];
816
+ handleFileUpload(file);
817
+ }
818
+ });
819
+
820
+ // Drag and drop
821
+ ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
822
+ dropArea.addEventListener(eventName, preventDefaults, false);
823
+ });
824
+
825
+ function preventDefaults(e) {
826
+ e.preventDefault();
827
+ e.stopPropagation();
828
+ }
829
+
830
+ ['dragenter', 'dragover'].forEach(eventName => {
831
+ dropArea.addEventListener(eventName, highlight, false);
832
+ });
833
+
834
+ ['dragleave', 'drop'].forEach(eventName => {
835
+ dropArea.addEventListener(eventName, unhighlight, false);
836
+ });
837
+
838
+ function highlight() {
839
+ dropArea.classList.add('border-red-500');
840
+ dropArea.classList.remove('border-gray-700');
841
+ }
842
+
843
+ function unhighlight() {
844
+ dropArea.classList.remove('border-red-500');
845
+ dropArea.classList.add('border-gray-700');
846
+ }
847
+
848
+ dropArea.addEventListener('drop', (e) => {
849
+ const dt = e.dataTransfer;
850
+ const file = dt.files[0];
851
+ handleFileUpload(file);
852
+ });
853
+
854
+ function handleFileUpload(file) {
855
+ if (!file.type.match('image.*')) {
856
+ alert('Please upload an image file (JPG, PNG)');
857
+ return;
858
+ }
859
+
860
+ if (file.size > 5 * 1024 * 1024) {
861
+ alert('File size exceeds 5MB limit');
862
+ return;
863
+ }
864
+
865
+ const reader = new FileReader();
866
+ reader.onload = (e) => {
867
+ document.querySelector('#uploadedImage').src = e.target.result;
868
+ };
869
+ reader.readAsDataURL(file);
870
+ }
871
+
872
+ // Analyze button functionality
873
+ async function analyzeImage() {
874
+ const fileInput = document.getElementById("upload");
875
+ const imageFile = fileInput.files[0];
876
+ const resultBox = document.getElementById("resultBox");
877
+
878
+ if (!imageFile) {
879
+ alert("Please upload a chart image first.");
880
+ return;
881
+ }
882
+
883
+ if (currentUser.plan === 'free' && currentUser.analysesUsed >= 1) {
884
+ alert('You have used your free analysis for this month. Please upgrade to continue.');
885
+ return;
886
+ }
887
+
888
+ if (currentUser.plan === 'pro' && currentUser.analysesUsed >= 50) {
889
+ alert('You have reached your monthly analysis limit. Please upgrade to continue.');
890
+ return;
891
+ }
892
+
893
+ // Show loading state
894
+ resultBox.querySelector('pre').textContent = "Analyzing chart...";
895
+ resultBox.classList.remove('hidden');
896
+
897
+ const reader = new FileReader();
898
+ reader.onload = async function () {
899
+ const base64Image = reader.result.split(',')[1];
900
+
901
+ try {
902
+ const response = await fetch("https://api.openai.com/v1/chat/completions", {
903
+ method: "POST",
904
+ headers: {
905
+ "Content-Type": "application/json",
906
+ "Authorization": "Bearer YOUR_API_KEY" // Replace with your actual API key
907
+ },
908
+ body: JSON.stringify({
909
+ model: "gpt-4-vision-preview",
910
+ messages: [
911
+ {
912
+ role: "user",
913
+ content: [
914
+ {
915
+ type: "text",
916
+ text: "Analyze this trading chart and provide the following in a structured format:\n\n- Signal (Buy/Sell)\n- Take Profit Level\n- Stop Loss Level\n- Recommended Timeframe\n- Entry Reason\n\nBe concise and professional."
917
+ },
918
+ {
919
+ type: "image_url",
920
+ image_url: {
921
+ url: `data:image/jpeg;base64,${base64Image}`
922
+ }
923
+ }
924
+ ]
925
+ }
926
+ ],
927
+ max_tokens: 500
928
+ })
929
+ });
930
+
931
+ const data = await response.json();
932
+ const analysisResult = data.choices?.[0]?.message?.content || "No analysis available.";
933
+
934
+ // Update usage
935
+ if (currentUser.plan !== 'premium') {
936
+ currentUser.analysesUsed++;
937
+
938
+ if (currentUser.plan === 'free') {
939
+ analysesLeft.textContent = `${1 - currentUser.analysesUsed}/1`;
940
+ remainingAnalyses.textContent = `${1 - currentUser.analysesUsed}`;
941
+ } else {
942
+ analysesLeft.textContent = `${50 - currentUser.analysesUsed}/50`;
943
+ remainingAnalyses.textContent = `${50 - currentUser.analysesUsed}`;
944
+ }
945
+ }
946
+
947
+ // Display results
948
+ resultBox.querySelector('pre').textContent = analysisResult;
949
+ resultBox.scrollIntoView({ behavior: 'smooth' });
950
+
951
+ } catch (error) {
952
+ console.error("Error analyzing image:", error);
953
+ resultBox.querySelector('pre').textContent = "Error analyzing chart. Please try again.";
954
+ }
955
+ };
956
+
957
+ reader.readAsDataURL(imageFile);
958
+ }
959
+
960
+ // Initialize
961
+ showSection(homeSection);
962
+ </script>
963
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ahmed000abdo/tradincap" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
964
+ </html>
style.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ padding: 2rem;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
+ }
5
+
6
+ h1 {
7
+ font-size: 16px;
8
+ margin-top: 0;
9
+ }
10
+
11
+ p {
12
+ color: rgb(107, 114, 128);
13
+ font-size: 15px;
14
+ margin-bottom: 10px;
15
+ margin-top: 5px;
16
+ }
17
+
18
+ .card {
19
+ max-width: 620px;
20
+ margin: 0 auto;
21
+ padding: 16px;
22
+ border: 1px solid lightgray;
23
+ border-radius: 16px;
24
+ }
25
+
26
+ .card p:last-child {
27
+ margin-bottom: 0;
28
+ }