Daraapp commited on
Commit
284056b
Β·
verified Β·
1 Parent(s): 355991f

Can you remove only Quick Post in these 2 tabs

Browse files

1. Shoutlink
2. Business

Leave at Home

Files changed (2) hide show
  1. README.md +9 -5
  2. index.html +321 -17
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Truthbombs
3
- emoji: 🐠
4
- colorFrom: pink
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: TruthBombs πŸ’£
3
+ colorFrom: red
4
+ colorTo: gray
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!--
2
+ Be Honest β€” 4 Interface Mockup (Single HTML file)
3
+ Updated to reflect user's requirements:
4
+ - Product name: Be Honest
5
+ - Interfaces: Home, ShoutLink (Individual), Business, Contact
6
+ - Playful tone for Home & ShoutLink; professional for Business
7
+ - Light / Dark theme toggle
8
+ - Mobile-first responsive layout
9
+ - Mock features: create honest link (requires login modal), link preview, social-share card preview (image-style), QR placeholder, business analytics mock, rating + rant QR flows, pricing table
10
+ Note: This is a visual, non-functional front-end mockup useful for pitching and testing UX. No backend logic or real QR/image export is implemented (placeholders included).
11
+ -->
12
  <!doctype html>
13
+ <html lang="en">
14
+ <head>
15
+ <meta charset="utf-8" />
16
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
17
+ <title>Be Honest β€” Mockup</title>
18
+ <style>
19
+ /* Base / Variables */
20
+ :root{
21
+ --bg:#f6f9fc;--card:#ffffff;--muted:#556677;--accent:#ff6b6b;--accent2:#7c3aed;--glass:rgba(0,0,0,0.04);
22
+ --fun-grad:linear-gradient(90deg,var(--accent),#ff9966);
23
+ --radius:16px;--maxw:1100px
24
+ }
25
+ [data-theme="dark"]{--bg:#071122;--card:#08131c;--muted:#9fb3c8;--accent:#06b6d4;--accent2:#7c3aed;--glass:rgba(255,255,255,0.03)}
26
+
27
+ *{box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial;color:var(--text,#0b1220)}
28
+ html,body{height:100%;margin:0;background:var(--bg);color:var(--text)}
29
+ .container{max-width:var(--maxw);margin:18px auto;padding:16px}
30
+
31
+ header{display:flex;align-items:center;gap:12px}
32
+ .brand{display:flex;align-items:center;gap:12px}
33
+ .logo{width:56px;height:56px;border-radius:12px;background:var(--fun-grad);display:flex;align-items:center;justify-content:center;font-weight:800;color:white}
34
+ h1{margin:0;font-size:18px}
35
+ .tag{font-size:12px;color:var(--muted)}
36
+
37
+ nav{margin-left:auto;display:flex;gap:8px;align-items:center}
38
+ .navbtn{background:transparent;border:none;padding:8px 12px;border-radius:10px;cursor:pointer;color:var(--muted);font-weight:600}
39
+ .navbtn.active{background:var(--glass);color:inherit}
40
+ .theme-toggle{padding:8px;border-radius:8px;border:1px solid var(--glass);cursor:pointer}
41
+
42
+ main{display:grid;grid-template-columns:1fr;gap:16px;margin-top:18px}
43
+
44
+ /* Card */
45
+ .card{background:var(--card);border-radius:var(--radius);box-shadow:0 6px 24px rgba(10,20,30,0.06);padding:16px;border:1px solid var(--glass)}
46
+ .muted{color:var(--muted);font-size:13px}
47
+ .btn{background:var(--accent);border:none;color:white;padding:10px 14px;border-radius:10px;cursor:pointer;font-weight:700}
48
+ .btn.secondary{background:transparent;border:1px solid var(--glass);color:inherit}
49
+
50
+ /* Home Feed */
51
+ .feed{display:flex;flex-direction:column;gap:12px}
52
+ .post{padding:14px;border-radius:12px;border:1px solid var(--glass);background:linear-gradient(180deg, rgba(0,0,0,0.01), transparent)}
53
+ .pill{padding:6px 8px;border-radius:999px;background:rgba(0,0,0,0.03);font-size:12px}
54
+
55
+ /* Layout for wider screens */
56
+ @media(min-width:900px){
57
+ main{grid-template-columns:360px 1fr 360px}
58
+ }
59
+
60
+ /* Individual (ShoutLink) */
61
+ .center{display:flex;flex-direction:column;gap:12px}
62
+ .link-preview{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;border:1px dashed var(--glass)}
63
+ .share-card{width:100%;padding:24px;border-radius:14px;text-align:center;background:var(--fun-grad);color:white;font-weight:800;font-size:20px}
64
+ .qr{width:120px;height:120px;border-radius:12px;background:repeating-conic-gradient(#fff 0 10deg, rgba(0,0,0,0.08) 10deg 20deg);display:flex;align-items:center;justify-content:center}
65
+
66
+ /* Business analytics */
67
+ .metrics{display:flex;gap:12px;flex-wrap:wrap}
68
+ .metric{flex:1;min-width:140px;padding:12px;border-radius:12px;background:linear-gradient(180deg, rgba(0,0,0,0.02), transparent)}
69
+ .table{width:100%;border-collapse:collapse}
70
+ .table th,.table td{padding:8px;border-bottom:1px solid var(--glass);text-align:left}
71
+
72
+ /* Footer */
73
+ footer{margin-top:12px;text-align:center;color:var(--muted);font-size:13px}
74
+
75
+ /* Login modal (mock) */
76
+ .modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(2,6,23,0.5);visibility:hidden;opacity:0;transition:all .18s}
77
+ .modal.show{visibility:visible;opacity:1}
78
+ .modal .box{width:320px;background:var(--card);padding:18px;border-radius:12px}
79
+ input[type=text],input[type=password]{width:100%;padding:10px;border-radius:8px;border:1px solid var(--glass);margin-top:8px}
80
+
81
+ /* Responsive tweaks */
82
+ @media(max-width:899px){
83
+ .logo{width:44px;height:44px}
84
+ nav{gap:6px}
85
+ }
86
+ </style>
87
+ </head>
88
+ <body data-theme="light">
89
+ <div class="container">
90
+ <header>
91
+ <div class="brand">
92
+ <div class="logo">BH</div>
93
+ <div>
94
+ <h1>Be Honest</h1>
95
+ <div class="tag muted">Say it honestly. Stay anonymous.</div>
96
+ </div>
97
+ </div>
98
+
99
+ <nav>
100
+ <button class="navbtn active" data-view="home">Home</button>
101
+ <button class="navbtn" data-view="shout">ShoutLink</button>
102
+ <button class="navbtn" data-view="business">Business</button>
103
+ <button class="navbtn" data-view="contact">Contact</button>
104
+ <button class="theme-toggle" id="themeToggle">πŸŒ™</button>
105
+ </nav>
106
+ </header>
107
+
108
+ <main>
109
+ <!-- LEFT COLUMN (Filters) -->
110
+ <div class="card" id="leftCol">
111
+ <div>
112
+ <strong>Filters</strong>
113
+ <div style="margin-top:8px;display:flex;gap:8px;flex-direction:column">
114
+ <select style="padding:10px;border-radius:8px;border:1px solid var(--glass)"><option>All industries</option><option>Companies</option><option>Schools</option><option>Worklife</option></select>
115
+ <input placeholder="Country or city" style="padding:10px;border-radius:8px;border:1px solid var(--glass)" />
116
+ <div style="display:flex;gap:8px"><button class="btn secondary">Apply</button><button class="btn secondary">Clear</button></div>
117
+ </div>
118
+ </div>
119
+ </div>
120
+
121
+ <!-- CENTER COLUMN (Main View Panels) -->
122
+ <div>
123
+ <!-- HOME VIEW -->
124
+ <div class="card view" id="view-home">
125
+ <div style="display:flex;align-items:center;justify-content:space-between;gap:12px">
126
+ <div>
127
+ <h2 style="margin:0">Customer Service Stories</h2>
128
+ <div class="muted" style="margin-top:6px">Top rants & reviews from around the world.</div>
129
+ </div>
130
+ <div style="display:flex;gap:8px;align-items:center">
131
+ <div class="muted small">Sort</div>
132
+ <select style="padding:8px;border-radius:8px;border:1px solid var(--glass)"><option>Latest</option><option>Trending</option></select>
133
+ </div>
134
+ </div>
135
+
136
+ <div style="margin-top:12px" class="feed">
137
+ <div class="post">
138
+ <div style="display:flex;gap:8px;align-items:center"><div class="pill">Banking β€’ Lagos</div><div class="muted" style="margin-left:auto">2 hours ago</div></div>
139
+ <h3 style="margin:8px 0">"Teller refused to accept my complaint"</h3>
140
+ <div class="muted">I went to Zenith Bank Ikeja branch to query an incorrect fee. The teller rolled her eyes and told me to come back another day. Attached a photo of my receipt.</div>
141
+ <div style="display:flex;gap:8px;margin-top:8px"><button class="btn secondary">204 likes</button><button class="btn secondary">15 Share</button><button class="btn secondary">Report</button></div>
142
+ </div>
143
+
144
+ <div class="post">
145
+ <div style="display:flex;gap:8px;align-items:center"><div class="pill">Airlines β€’ Global</div><div class="muted" style="margin-left:auto">1 day ago</div></div>
146
+ <h3 style="margin:8px 0">"Overbooked and no help at counter"</h3>
147
+ <div class="muted">Tried to rebook after flight cancellation. Staff were dismissive and gave no clear timeline. I took screenshots of their chat replies.</div>
148
+ <div style="display:flex;gap:8px;margin-top:8px"><button class="btn secondary">567 likes</button><button class="btn secondary">20 Share</button></div>
149
+ </div>
150
+
151
+ </div>
152
+ </div>
153
+
154
+ <!-- SHOUTLINK / INDIVIDUAL VIEW -->
155
+ <div class="card view" id="view-shout" style="display:none">
156
+ <div style="display:flex;justify-content:space-between;align-items:center">
157
+ <div>
158
+ <h2 style="margin:0">ShoutLink β€” personal honest links</h2>
159
+ <div class="muted" style="margin-top:6px">Create a social-ready link where people can leave anonymous feedback about you.</div>
160
+ </div>
161
+ <div style="display:flex;gap:8px">
162
+ <button class="btn" id="loginBtn">Login / Create Account</button>
163
+ </div>
164
+ </div>
165
+
166
+ <div style="margin-top:12px" class="center">
167
+ <div style="display:flex;gap:12px;flex-direction:column">
168
+ <div>
169
+ <label class="muted">Create your question</label>
170
+ <div style="display:flex;gap:8px;margin-top:6px"><input id="shoutSlug" placeholder="e.g Tell me your secret" style="padding:10px;border-radius:8px;border:1px solid var(--glass)" /><button class="btn" id="createLink">Create Link</button></div>
171
+ <div class="muted" style="margin-top:8px">Preview: <span style="font-weight:700">behonest.me/</span><span id="slugPreview">ayodele</span></div>
172
+ </div>
173
+
174
+ <div style="display:flex;gap:12px;flex-wrap:wrap;align-items:center">
175
+ <div style="flex:1;min-width:240px">
176
+ <div class="link-preview">
177
+ <div style="flex:1">
178
+ <div style="font-weight:800;font-size:16px">behonest.me/<span id="slugPreviewLarge">ayodele</span></div>
179
+ <div class="muted" style="margin-top:6px">People can leave anonymous feedback via this link. You will see responses privately.</div>
180
+ </div>
181
+ <div style="display:flex;flex-direction:column;gap:8px;align-items:center">
182
+ <div class="qr"></div>
183
+ <div class="muted" style="font-size:12px">QR placeholder</div>
184
+ </div>
185
+ </div>
186
+ </div>
187
+
188
+ <div style="flex:1;min-width:220px">
189
+ <div class="card">
190
+ <div style="font-weight:800">Social Image Preview</div>
191
+ <div class="share-card" id="shareCard">Tell me the secret nobody knows till date β€” respond on Be Honest</div>
192
+ <div style="display:flex;gap:8px;margin-top:8px"><button class="btn secondary">Download Image</button><button class="btn secondary">Copy Link</button></div>
193
+ </div>
194
+ </div>
195
+
196
+ </div>
197
+
198
+ <div class="card">
199
+ <strong>Your Messages</strong>
200
+ <div class="muted" style="margin-top:8px">You will see messages here once people start responding to your link. Export as image or copy a shareable card for social media.</div>
201
+ <div style="margin-top:8px">
202
+ <div class="post" style="margin-bottom:8px"><div class="muted small">3 days ago - 40 response</div><div style="margin-top:6px">Tell me your secret nobody knows - Click to see all response</div></div>
203
+ <div class="post"><div class="muted small">1 week ago - 100 response</div><div style="margin-top:6px">What do you love about me? - Click to see all response</div></div>
204
+ </div>
205
+
206
+ <div style="display:flex;gap:8px;margin-top:12px"><button class="btn">Export all as image</button><button class="btn secondary">Generate printable QR</button></div>
207
+ </div>
208
+
209
+ </div>
210
+ </div>
211
+ </div>
212
+
213
+ <!-- BUSINESS VIEW -->
214
+ <div class="card view" id="view-business" style="display:none">
215
+ <div style="display:flex;justify-content:space-between;align-items:center">
216
+ <div>
217
+ <h2 style="margin:0">Business Dashboard</h2>
218
+ <div class="muted" style="margin-top:6px">Claim your business, track reviews & run campaigns to solicit ratings and rants.</div>
219
+ </div>
220
+ <div><button class="btn">Claim Business</button></div>
221
+ </div>
222
+
223
+ <div style="margin-top:12px" class="metrics">
224
+ <div class="metric"><div class="muted">Avg. Rating</div><div style="font-weight:800;font-size:20px">3.2 / 5</div></div>
225
+ <div class="metric"><div class="muted">Monthly Complaints</div><div style="font-weight:800;font-size:20px">128</div></div>
226
+ <div class="metric"><div class="muted">Customer Pulse</div><div style="font-weight:800;font-size:20px">-14%</div></div>
227
+ </div>
228
+
229
+ <div style="margin-top:12px;display:flex;gap:12px;flex-direction:column">
230
+ <div class="card">
231
+ <strong>Collect Ratings at Point-of-Sale</strong>
232
+ <div class="muted" style="margin-top:6px">Create a QR code customers scan to quickly rate (1-5) or leave a short review. Ratings feed into analytics; longer anonymous rants go to the service inbox.</div>
233
+ <div style="display:flex;gap:8px;margin-top:8px;flex-wrap:wrap"><button class="btn">Generate Rating QR</button><button class="btn secondary">Generate Rant QR</button><button class="btn secondary">Export CSV</button></div>
234
+ </div>
235
+
236
+ <div class="card">
237
+ <strong>Keyword Trends</strong>
238
+ <table class="table"><tr><th>Keyword</th><th>Mentions</th></tr><tr><td>Queue</td><td>124</td></tr><tr><td>Refund</td><td>97</td></tr><tr><td>Rude Staff</td><td>78</td></tr></table>
239
+ </div>
240
+
241
+ <div class="card">
242
+ <strong>Pricing (Preview)</strong>
243
+ <div style="display:flex;gap:12px;margin-top:8px">
244
+ <div style="flex:1;padding:12px;border-radius:12px;background:rgba(0,0,0,0.02)"><div style="font-weight:700">Starter</div><div class="muted">Basic analytics β€’ 30-day lookback</div><div style="margin-top:8px"><button class="btn">Get Started</button></div></div>
245
+ <div style="flex:1;padding:12px;border-radius:12px;background:linear-gradient(90deg, rgba(6,182,212,0.06), rgba(124,58,237,0.06))"><div style="font-weight:700">Pro</div><div class="muted">Full insights β€’ API access β€’ Export</div><div style="margin-top:8px"><button class="btn">Request Demo</button></div></div>
246
+ </div>
247
+ </div>
248
+ </div>
249
+ </div>
250
+
251
+ <!-- CONTACT VIEW -->
252
+ <div class="card view" id="view-contact" style="display:none">
253
+ <h2>Contact Us</h2>
254
+ <p class="muted">Questions, partnerships, press β€” we'd love to hear from you.</p>
255
+ <div style="display:flex;flex-direction:column;gap:8px;margin-top:12px;max-width:560px">
256
+ <input placeholder="Name" style="padding:10px;border-radius:8px;border:1px solid var(--glass)" />
257
+ <input placeholder="Email" style="padding:10px;border-radius:8px;border:1px solid var(--glass)" />
258
+ <textarea placeholder="Message" style="padding:10px;border-radius:8px;border:1px solid var(--glass)"></textarea>
259
+ <div style="display:flex;gap:8px"><button class="btn">Send</button><button class="btn secondary">Twitter</button><button class="btn secondary">Instagram</button></div>
260
+ </div>
261
+ </div>
262
+
263
+ </div>
264
+
265
+ <!-- RIGHT COLUMN (Extras / Trending) -->
266
+ <div class="card" id="rightCol" style="min-width:260px">
267
+ <div style="display:flex;justify-content:space-between;align-items:center"><strong>Trending Tags</strong><div class="muted small">#customerstories</div></div>
268
+ <div style="margin-top:8px;display:flex;flex-direction:column;gap:8px"><div class="pill">#refund</div><div class="pill">#queue</div><div class="pill">#rude-staff</div><div class="pill">#delivery</div></div>
269
+
270
+ <hr style="margin:12px 0;border:none;border-top:1px solid var(--glass)" />
271
+ <div><strong>Why Be Honest?</strong><div class="muted" style="margin-top:8px">Focused on customer service stories first β€” but supports personal anonymous links too.</div></div>
272
+ </div>
273
+
274
+ </main>
275
+
276
+ <footer class="muted">Be Honest β€’ Demo mockup β€” built for UX testing. Theme, mobile-first and playful/professional mix applied.</footer>
277
+ </div>
278
+
279
+ <!-- Login Modal (Mock) -->
280
+ <div class="modal" id="loginModal"><div class="box card"><h3>Login / Create Account</h3><div class="muted">Create a simple account to manage your ShoutLink(s)</div><input placeholder="Username" /><input placeholder="Email" /><input placeholder="Password" type="password" /><div style="display:flex;gap:8px;margin-top:12px"><button class="btn" id="mockLogin">Create</button><button class="btn secondary" id="closeModal">Cancel</button></div><div style="margin-top:8px" class="muted">Or <button class="btn secondary">Continue with Google</button></div></div></div>
281
+
282
+ <script>
283
+ // Simple view switcher
284
+ document.querySelectorAll('.navbtn').forEach(b=>b.addEventListener('click',e=>{
285
+ document.querySelectorAll('.navbtn').forEach(x=>x.classList.remove('active'));
286
+ b.classList.add('active');
287
+ const view=b.getAttribute('data-view');
288
+ document.querySelectorAll('.view').forEach(v=>v.style.display='none');
289
+ document.getElementById('view-'+(view==='home'? 'home': view)).style.display='block';
290
+
291
+ // Hide left column on shout/business views
292
+ const leftCol = document.getElementById('leftCol');
293
+ if (['shout', 'business'].includes(view)) {
294
+ leftCol.style.display = 'none';
295
+ } else {
296
+ leftCol.style.display = 'block';
297
+ }
298
+ }));
299
+ // Theme toggle
300
+ const themeToggle=document.getElementById('themeToggle');
301
+ themeToggle.addEventListener('click',()=>{
302
+ const body=document.body;const current=body.getAttribute('data-theme');
303
+ if(current==='light'){body.setAttribute('data-theme','dark');themeToggle.textContent='β˜€οΈ'}else{body.setAttribute('data-theme','light');themeToggle.textContent='πŸŒ™'}
304
+ });
305
+
306
+ // Shout slug preview
307
+ const slugInput=document.getElementById('shoutSlug');
308
+ const slugPreview=document.getElementById('slugPreview');
309
+ const slugPreviewLarge=document.getElementById('slugPreviewLarge');
310
+ slugInput.addEventListener('input',e=>{const v=e.target.value||'ayodele';slugPreview.textContent=v;slugPreviewLarge.textContent=v;});
311
+
312
+ // Mock login modal
313
+ const loginBtn=document.getElementById('loginBtn');const loginModal=document.getElementById('loginModal');const closeModal=document.getElementById('closeModal');
314
+ loginBtn.addEventListener('click',()=>loginModal.classList.add('show'));
315
+ closeModal.addEventListener('click',()=>loginModal.classList.remove('show'));
316
+ document.getElementById('mockLogin').addEventListener('click',()=>{alert('Account created (mock). You can now create ShoutLink.');loginModal.classList.remove('show');});
317
+
318
+ // Create link (mock)
319
+ document.getElementById('createLink').addEventListener('click',()=>{alert('ShoutLink created: behonest.me/'+(slugInput.value||'ayodele')+' (mock)');});
320
+
321
+ </script>
322
+ </body>
323
  </html>