-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcash-command.html
More file actions
212 lines (190 loc) · 12 KB
/
Copy pathcash-command.html
File metadata and controls
212 lines (190 loc) · 12 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cash Command Center | Moonshine Capital</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Space+Grotesk:wght@500;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: { sans: ['Inter', 'sans-serif'], display: ['Space Grotesk', 'sans-serif'] },
colors: { brand: { 500: '#00F0FF', 900: '#003B45' }, dark: { 900: '#050505', 800: '#0A0A0A', 700: '#111111' } }
}
}
}
</script>
<style>
body { background-color: #050505; color: #ffffff; }
.glass-panel { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.06); }
</style>
</head>
<body class="antialiased selection:bg-brand-500 selection:text-dark-900 overflow-x-hidden">
<div class="fixed top-[-20%] right-[-10%] w-[50vw] h-[50vw] rounded-full bg-blue-900/10 blur-[120px] pointer-events-none z-0"></div>
<!-- Borrower Header -->
<header class="relative z-10 border-b border-white/5 bg-dark-900/80 backdrop-blur-md px-6 py-4 flex justify-between items-center">
<div>
<h1 class="font-display font-bold text-xl uppercase tracking-tighter text-white">Moonshine Capital</h1>
<p class="text-[9px] font-mono text-gray-500 uppercase tracking-widest">Cash Command Center</p>
</div>
<div class="flex items-center gap-3">
<div class="text-right hidden sm:block">
<div class="text-xs font-bold text-white">Acme Logistics LLC</div>
<div class="text-[9px] font-mono text-gray-500 uppercase tracking-widest">Facility ID: MC-8492</div>
</div>
<div class="w-10 h-10 rounded-full bg-brand-500 text-dark-900 flex items-center justify-center font-bold text-sm">AL</div>
</div>
</header>
<main class="relative z-10 p-6 md:p-10 max-w-6xl mx-auto space-y-8">
<!-- Welcome Message & Partner Attribution -->
<div class="flex justify-between items-end">
<div>
<h2 class="font-display text-3xl font-bold uppercase tracking-tighter">Facility Overview</h2>
<p class="text-sm text-gray-400 mt-1">Manage your active lines and request drawdowns.</p>
</div>
<!-- HIDDEN LTV TRACKER: This proves to the partner they get paid on renewals -->
<div class="text-right">
<p class="text-[9px] font-bold text-gray-500 uppercase tracking-widest mb-1">Originating Partner</p>
<div class="px-3 py-1 bg-white/5 rounded border border-white/10 text-xs font-mono text-brand-500">APEX-2026</div>
</div>
</div>
<!-- Master Metrics -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="glass-panel p-8 rounded-3xl border-white/10 bg-gradient-to-br from-brand-900/20 to-transparent">
<div class="text-[10px] font-bold text-brand-500 uppercase tracking-widest mb-2">Available Liquidity</div>
<div class="text-5xl font-display font-black text-white tracking-tighter">$125,000</div>
<div class="mt-6">
<button onclick="requestDraw()" class="w-full bg-brand-500 text-dark-900 py-3 rounded-xl font-bold text-sm uppercase tracking-widest hover:bg-white transition-all shadow-[0_0_15px_rgba(0,240,255,0.2)]">
Request Drawdown
</button>
</div>
</div>
<div class="glass-panel p-8 rounded-3xl border-white/10 flex flex-col justify-center">
<div class="text-[10px] font-bold text-gray-500 uppercase tracking-widest mb-2">Total Approved Facility</div>
<div class="text-3xl font-display font-bold text-white tracking-tighter mb-4">$250,000</div>
<div class="w-full bg-dark-900 rounded-full h-2 mb-2 border border-white/5">
<div class="bg-brand-500 h-2 rounded-full" style="width: 50%"></div>
</div>
<div class="flex justify-between text-[10px] font-mono text-gray-500">
<span>50% Drawn</span>
<span>$125k Remaining</span>
</div>
</div>
<div class="glass-panel p-8 rounded-3xl border-white/10 flex flex-col justify-center">
<div class="text-[10px] font-bold text-gray-500 uppercase tracking-widest mb-2">Next Payment Due</div>
<div class="text-3xl font-display font-bold text-white tracking-tighter mb-1">Auto-Draft</div>
<div class="text-sm text-gray-400 mb-4 font-mono">Oct 24, 2026</div>
<div class="flex items-center gap-2 text-xs font-bold text-green-400 bg-green-400/10 px-3 py-2 rounded-lg border border-green-400/20 w-max">
<span class="w-2 h-2 rounded-full bg-green-400"></span> Account in Good Standing
</div>
</div>
</div>
<!-- Recent Ledger -->
<div class="glass-panel rounded-3xl border-white/10 overflow-hidden mt-8">
<div class="p-6 border-b border-white/5 flex justify-between items-center bg-white/[0.02]">
<h3 class="font-display font-bold text-lg uppercase tracking-tight">Recent Transactions</h3>
</div>
<div class="overflow-x-auto">
<table class="w-full text-left text-sm whitespace-nowrap">
<thead class="bg-white/5 text-gray-500 font-mono text-[10px] uppercase tracking-widest">
<tr>
<th class="p-6 border-b border-white/5">Date</th>
<th class="p-6 border-b border-white/5">Type</th>
<th class="p-6 border-b border-white/5">Status</th>
<th class="p-6 border-b border-white/5 text-right">Amount</th>
</tr>
</thead>
<tbody class="divide-y divide-white/5">
<tr class="hover:bg-white/[0.02] transition-colors">
<td class="p-6 text-gray-300 font-mono">Oct 17, 2026</td>
<td class="p-6 text-white font-bold">ACH Payment</td>
<td class="p-6"><span class="px-2 py-1 bg-green-500/10 text-green-500 rounded text-[10px] font-bold uppercase">Cleared</span></td>
<td class="p-6 text-right text-brand-500 font-mono">+$2,450.00</td>
</tr>
<tr class="hover:bg-white/[0.02] transition-colors">
<td class="p-6 text-gray-300 font-mono">Oct 10, 2026</td>
<td class="p-6 text-white font-bold">ACH Payment</td>
<td class="p-6"><span class="px-2 py-1 bg-green-500/10 text-green-500 rounded text-[10px] font-bold uppercase">Cleared</span></td>
<td class="p-6 text-right text-brand-500 font-mono">+$2,450.00</td>
</tr>
<tr class="hover:bg-white/[0.02] transition-colors">
<td class="p-6 text-gray-300 font-mono">Sept 01, 2026</td>
<td class="p-6 text-white font-bold">Initial Drawdown</td>
<td class="p-6"><span class="px-2 py-1 bg-blue-500/10 text-blue-400 rounded text-[10px] font-bold uppercase">Funded</span></td>
<td class="p-6 text-right text-red-400 font-mono">-$125,000.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</main>
<!-- Drawdown Modal -->
<div id="drawModal" class="fixed inset-0 z-50 bg-black/80 backdrop-blur-sm hidden flex items-center justify-center p-4 opacity-0 transition-opacity duration-300">
<div class="glass-panel w-full max-w-md bg-dark-900 border border-brand-500/30 p-8 rounded-3xl shadow-[0_0_50px_rgba(0,240,255,0.1)] transform scale-95 transition-transform duration-300" id="modalContent">
<h3 class="font-display text-2xl font-bold uppercase tracking-tight mb-2">Request Liquidity</h3>
<p class="text-xs text-gray-400 mb-8">Funds will be wired to your primary operating account ending in *8492.</p>
<div class="mb-6">
<label class="block text-[10px] font-bold text-gray-500 uppercase tracking-widest mb-2">Draw Amount</label>
<div class="relative flex items-center">
<span class="absolute left-4 text-white font-bold text-xl">$</span>
<input type="number" max="125000" placeholder="50,000" class="w-full bg-dark-800 border border-white/10 rounded-xl p-4 pl-8 text-xl text-white outline-none focus:border-brand-500 font-mono">
</div>
<div class="text-[10px] font-mono text-brand-500 mt-2 text-right">Max Available: $125,000</div>
</div>
<div class="flex gap-4 mt-8">
<button onclick="closeModal()" class="w-1/3 bg-white/5 py-4 rounded-xl font-bold text-xs uppercase tracking-widest hover:bg-white/10 transition-colors">Cancel</button>
<button onclick="submitDraw()" id="submitDrawBtn" class="w-2/3 bg-brand-500 text-dark-900 py-4 rounded-xl font-bold text-xs uppercase tracking-widest hover:bg-white transition-colors flex justify-center items-center gap-2">
<span>Confirm Wire</span>
<div id="drawSpinner" class="hidden w-4 h-4 border-2 border-dark-900 border-t-transparent rounded-full animate-spin"></div>
</button>
</div>
<!-- Attribution Logic Reminder for User -->
<p class="text-[8px] text-gray-600 mt-6 text-center font-mono uppercase tracking-widest">Renewal commission assigned to Partner: APEX-2026</p>
</div>
</div>
<script>
const modal = document.getElementById('drawModal');
const modalContent = document.getElementById('modalContent');
function requestDraw() {
modal.classList.remove('hidden');
// Small delay to allow display:block to apply before animating opacity/transform
setTimeout(() => {
modal.classList.remove('opacity-0');
modalContent.classList.remove('scale-95');
}, 10);
}
function closeModal() {
modal.classList.add('opacity-0');
modalContent.classList.add('scale-95');
setTimeout(() => {
modal.classList.add('hidden');
}, 300);
}
function submitDraw() {
const btn = document.getElementById('submitDrawBtn');
const spinner = document.getElementById('drawSpinner');
// Simulate Webhook / API Call
btn.disabled = true;
spinner.classList.remove('hidden');
setTimeout(() => {
spinner.classList.add('hidden');
btn.innerHTML = "Draw Scheduled ✓";
btn.classList.add('bg-green-500');
btn.classList.remove('bg-brand-500');
setTimeout(() => {
closeModal();
// Reset button for future demos
setTimeout(() => {
btn.disabled = false;
btn.innerHTML = `<span>Confirm Wire</span><div id="drawSpinner" class="hidden w-4 h-4 border-2 border-dark-900 border-t-transparent rounded-full animate-spin"></div>`;
btn.classList.remove('bg-green-500');
btn.classList.add('bg-brand-500');
}, 500);
}, 1500);
}, 1500);
}
</script>
</body>
</html>