-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforum.html
More file actions
553 lines (480 loc) · 23.2 KB
/
Copy pathforum.html
File metadata and controls
553 lines (480 loc) · 23.2 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Ventarys Community | Forum</title>
<!-- AdSense Configuration -->
<meta name="google-adsense-account" content="ca-pub-9019277340139989">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9019277340139989"
crossorigin="anonymous"></script>
<!-- SEO and Metadata -->
<link rel="icon" href="logo.png">
<meta name="description"
content="Ventarys Community. Share ideas, ask questions, and collaborate in our open AI forum." />
<!-- Material Web Components -->
<script type="module" src="https://esm.run/@material/web/all.js"></script>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Fonts & Icons -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link
href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap"
rel="stylesheet">
<script>
tailwind.config = {
darkMode: 'media',
theme: {
extend: {
fontFamily: {
sans: ['"Outfit"', 'sans-serif'],
body: ['"Inter"', 'sans-serif'],
mono: ['"JetBrains Mono"', 'monospace'],
},
colors: {
ventarys: {
black: '#000000',
white: '#ffffff',
gray: { 50: '#fafafa', 100: '#f5f5f5', 200: '#e5e5e5', 300: '#d4d4d4', 800: '#262626', 900: '#171717', 950: '#0a0a0a' },
accent: '#888888'
}
},
animation: {
'fade-in': 'fadeIn 1s ease-out forwards',
'fade-in-up': 'fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards',
},
keyframes: {
fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' } },
fadeInUp: { '0%': { opacity: '0', transform: 'translateY(20px)' }, '100%': { opacity: '1', transform: 'translateY(0)' } },
}
}
}
}
</script>
<style>
/* Monochromatic Material 3 Overrides - Ultra Minimalist */
:root {
--md-sys-color-primary: #000000;
--md-sys-color-on-primary: #ffffff;
--md-sys-color-outline: #e5e5e5;
--md-sys-color-surface: #ffffff;
--md-sys-color-on-surface: #000000;
--md-sys-typescale-label-large-font: 'Outfit', sans-serif;
--md-sys-shape-corner-full: 4px;
color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
:root {
--md-sys-color-primary: #ffffff;
--md-sys-color-on-primary: #000000;
--md-sys-color-outline: #262626;
--md-sys-color-surface: #0a0a0a;
--md-sys-color-on-surface: #ffffff;
}
}
body {
background-color: theme('colors.white');
color: theme('colors.black');
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
body {
background-color: theme('colors.ventarys.950');
color: theme('colors.white');
}
}
/* Ultra-subtle Glass Nav */
.glass-nav {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
@media (prefers-color-scheme: dark) {
.glass-nav {
background: rgba(10, 10, 10, 0.8);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
}
/* Minimalist Cards */
.minimal-card {
background-color: transparent;
border: 1px solid theme('colors.ventarys.gray.200');
border-radius: 8px;
position: relative;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
.minimal-card {
border-color: theme('colors.ventarys.gray.800');
}
}
.logo-mono {
filter: brightness(0);
transition: filter 0.3s ease;
}
@media (prefers-color-scheme: dark) {
.logo-mono {
filter: brightness(0) invert(1);
}
}
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
md-icon {
font-family: 'Material Symbols Rounded', sans-serif;
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
/* Ultra subtle Grid Background */
.bg-grid {
background-size: 60px 60px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}
@media (prefers-color-scheme: dark) {
.bg-grid {
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}
}
/* HTML Comment Box Overrides for Minimalist UI */
#HCB_comment_box {
color: inherit !important;
font-family: inherit !important;
}
#HCB_comment_box textarea,
#HCB_comment_box input[type="text"],
#HCB_comment_box .hcb-text-box {
background-color: transparent !important;
color: inherit !important;
border: 1px solid theme('colors.ventarys.gray.200') !important;
border-radius: 4px !important;
padding: 12px !important;
width: 100% !important;
box-shadow: none !important;
font-family: 'Inter', sans-serif !important;
font-size: 14px !important;
resize: vertical;
min-height: 100px;
}
@media (prefers-color-scheme: dark) {
#HCB_comment_box textarea,
#HCB_comment_box input[type="text"] {
border-color: theme('colors.ventarys.gray.800') !important;
}
}
#HCB_comment_box .btn,
#HCB_comment_box .submit {
background-color: theme('colors.black') !important;
color: theme('colors.white') !important;
background-image: none !important;
text-shadow: none !important;
border: none !important;
border-radius: 4px !important;
padding: 10px 24px !important;
font-weight: 500 !important;
cursor: pointer;
font-family: 'Outfit', sans-serif !important;
text-transform: uppercase;
letter-spacing: 0.05em;
font-size: 12px;
margin-top: 10px;
transition: opacity 0.2s;
}
@media (prefers-color-scheme: dark) {
#HCB_comment_box .btn,
#HCB_comment_box .submit {
background-color: theme('colors.white') !important;
color: theme('colors.black') !important;
}
}
#HCB_comment_box .btn:hover {
opacity: 0.8;
}
.comment {
border: 1px solid theme('colors.ventarys.gray.200') !important;
border-radius: 8px !important;
padding: 20px !important;
margin-bottom: 20px !important;
background-color: transparent !important;
}
@media (prefers-color-scheme: dark) {
.comment {
border-color: theme('colors.ventarys.gray.800') !important;
}
}
/* Hide ugly HCB default elements */
.hcb-icon,
.home-desc,
.hcb-link,
#hcb_msg {
display: none !important;
}
.hcb-mod {
font-size: 12px;
opacity: 0.7;
}
.comment>span.author {
font-family: 'Outfit', sans-serif;
font-weight: 600;
font-size: 16px;
}
.comment>span.date {
font-size: 11px;
opacity: 0.5;
font-family: 'JetBrains Mono', monospace;
margin-left: 10px;
}
.comment>div {
margin-top: 10px;
line-height: 1.6;
}
/* Hide scrollbar for nav */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
</head>
<body
class="transition-colors duration-500 relative font-body selection:bg-black selection:text-white dark:selection:bg-white dark:selection:text-black min-h-screen flex flex-col">
<div class="fixed inset-0 z-0 pointer-events-none bg-grid opacity-50"></div>
<!-- Elegant Navigation -->
<nav id="main-nav" class="fixed w-full z-50 glass-nav top-0 transition-all duration-300">
<div class="max-w-7xl mx-auto px-6 h-20 flex items-center justify-between">
<a href="index.html" class="flex items-center gap-4 group">
<img src="logo.png" alt="Ventarys Logo"
class="w-6 h-6 object-contain logo-mono opacity-80 group-hover:opacity-100 transition-opacity">
<span class="text-xl font-sans font-medium tracking-wide">Ventarys Community</span>
</a>
<div class="hidden md:flex items-center gap-10 translate-yes">
<a href="index.html"
class="text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white transition-colors">Platform
Home</a>
<a href="https://github.com/Juanoto2012/Ventarys-AI" target="_blank"
class="text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white transition-colors">GitHub</a>
</div>
<div class="flex items-center gap-4 translate-yes">
<div class="hidden md:block ml-4">
<md-outlined-button href="https://perchance.org/ventarys-ai/.html">
Launch AI
</md-outlined-button>
</div>
<md-icon-button id="mobile-menu-btn" class="md:hidden">
<md-icon class="notranslate" translate="no">menu</md-icon>
</md-icon-button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobile-menu"
class="hidden md:hidden absolute top-[80px] left-0 w-full bg-white/95 dark:bg-ventarys-950/95 backdrop-blur-xl border-b border-gray-200 dark:border-gray-800 shadow-2xl transition-all translate-yes">
<div class="flex flex-col p-6 gap-6 font-sans text-lg">
<a href="index.html" class="font-medium text-gray-800 dark:text-gray-200"
onclick="document.getElementById('mobile-menu').classList.add('hidden')">Platform Home</a>
<a href="https://github.com/Juanoto2012/Ventarys-AI"
class="font-medium text-gray-800 dark:text-gray-200"
onclick="document.getElementById('mobile-menu').classList.add('hidden')">GitHub</a>
<md-filled-button href="https://perchance.org/ventarys-ai/" class="w-full">Launch AI</md-filled-button>
</div>
</div>
</nav>
<!-- [APP LAYOUT] -->
<div class="max-w-7xl mx-auto w-full px-6 pt-32 pb-24 flex-grow flex flex-col md:flex-row gap-10 relative z-10">
<!-- Channels Sidebar -->
<aside class="w-full md:w-64 flex-shrink-0">
<!-- Mobile Horizontal Scroll / Desktop Vertical List -->
<div class="md:sticky md:top-32 flex md:flex-col gap-2 overflow-x-auto no-scrollbar pb-4 md:pb-0">
<div class="hidden md:block text-[10px] font-bold tracking-widest uppercase mb-4 text-gray-400 mt-2">
Channels</div>
<button onclick="switchChannel('global')" id="nav-global"
class="channel-link flex-shrink-0 flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors bg-gray-100 dark:bg-gray-900 text-black dark:text-white">
<md-icon class="text-[18px]">public</md-icon> General Discussion
</button>
<button onclick="switchChannel('showcase')" id="nav-showcase"
class="channel-link flex-shrink-0 flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors text-gray-500 hover:bg-gray-50 dark:hover:bg-gray-900/50">
<md-icon class="text-[18px]">palette</md-icon> Creations Showcase
</button>
<button onclick="switchChannel('questions')" id="nav-questions"
class="channel-link flex-shrink-0 flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors text-gray-500 hover:bg-gray-50 dark:hover:bg-gray-900/50">
<md-icon class="text-[18px]">help</md-icon> Q&A & Support
</button>
<button onclick="switchChannel('devs')" id="nav-devs"
class="channel-link flex-shrink-0 flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors text-gray-500 hover:bg-gray-50 dark:hover:bg-gray-900/50">
<md-icon class="text-[18px]">code</md-icon> API & Developers
</button>
<button onclick="switchChannel('ideas')" id="nav-ideas"
class="channel-link flex-shrink-0 flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors text-gray-500 hover:bg-gray-50 dark:hover:bg-gray-900/50">
<md-icon class="text-[18px]">lightbulb</md-icon> Feature Requests
</button>
<button onclick="switchChannel('reports')" id="nav-reports"
class="channel-link flex-shrink-0 flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors text-gray-500 hover:bg-gray-50 dark:hover:bg-gray-900/50">
<md-icon class="text-[18px]">bug_report</md-icon> Bug Reports
</button>
</div>
</aside>
<!-- Main Content Area -->
<main class="flex-grow min-w-0">
<div class="mb-10 animate-fade-in-up">
<div class="inline-flex items-center gap-2 text-[10px] font-mono tracking-widest uppercase mb-4 text-gray-500"
id="channel-tag">
#global
</div>
<h1 id="channel-title" class="text-3xl md:text-5xl font-sans font-semibold tracking-tight mb-4">General
Discussion</h1>
<p id="channel-desc" class="text-gray-500 dark:text-gray-400 text-lg font-light">
Join the general conversation about Ventarys AI. Introduce yourself, chat about AI trends, and
connect.
</p>
</div>
<!-- Comment Box Integration -->
<div class="minimal-card p-6 md:p-10 animate-fade-in-up" style="animation-delay: 100ms;">
<div id="HCB_comment_box">
<div class="py-12 flex justify-center">
<!-- Custom minimal loader -->
<div class="w-8 h-8 border-t-2 border-black dark:border-white rounded-full animate-spin"></div>
</div>
</div>
</div>
</main>
<!-- Right Sidebar (Guidelines) -->
<aside class="hidden lg:block w-72 flex-shrink-0 animate-fade-in">
<div class="sticky top-32 minimal-card p-6">
<div class="flex items-center gap-2 text-sm font-sans font-medium mb-4">
<md-icon class="text-[18px]">gavel</md-icon> Community Guidelines
</div>
<ul class="text-xs text-gray-500 dark:text-gray-400 font-light space-y-4">
<li><strong class="text-black dark:text-white font-medium">1. Be Respectful:</strong> Treat everyone
with kindness. Harassment or toxic behavior will result in a ban.</li>
<li><strong class="text-black dark:text-white font-medium">2. Keep it Safe:</strong> This is a safe
environment. Do not post or request any inappropriate, illegal, or harmful content.</li>
<li><strong class="text-black dark:text-white font-medium">3. Stay on Topic:</strong> Use the
appropriate channels for bugs, feature requests, or coding help.</li>
<li><strong class="text-black dark:text-white font-medium">4. Protect Privacy:</strong> Do not share
personal information, API keys, or sensitive data in the public forum.</li>
</ul>
</div>
</aside>
</div>
<!-- Elegant Footer -->
<footer
class="bg-white dark:bg-ventarys-950 pt-20 pb-12 relative z-10 border-t border-gray-100 dark:border-gray-900 mt-auto">
<div class="max-w-7xl mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center gap-6 text-sm text-gray-500">
<div class="flex items-center gap-3">
<img src="logo.png" alt="Logo" class="w-5 h-5 object-contain logo-mono">
<span class="font-sans font-medium tracking-wide">Ventarys AI</span>
</div>
<div class="flex gap-6">
<a href="terms.html" class="hover:text-black dark:hover:text-white transition-colors">Terms</a>
<a href="privacy.html" class="hover:text-black dark:hover:text-white transition-colors">Privacy</a>
<a href="https://github.com/Juanoto2012/Ventarys-AI" target="_blank"
class="hover:text-black dark:hover:text-white transition-colors">GitHub</a>
</div>
<div class="text-xs font-light">© 2026 Ventarys. All rights reserved.</div>
</div>
</div>
</footer>
<!-- CORE SCRIPTS -->
<script>
// --- CHANNELS DATA ---
const channelsData = {
'global': {
title: 'General Discussion',
desc: 'Join the general conversation about Ventarys AI. Introduce yourself, chat about AI trends, and connect.',
tag: '#global'
},
'showcase': {
title: 'Creations Showcase',
desc: 'Share the cool things you have built or generated using Ventarys tools.',
tag: '#showcase'
},
'questions': {
title: 'Q&A & Support',
desc: 'Need help with prompts, setups, or errors? Ask the community here.',
tag: '#questions'
},
'devs': {
title: 'API & Developers',
desc: 'Discuss API integrations, local model setups, BYOK, and IDX extensions.',
tag: '#devs'
},
'ideas': {
title: 'Feature Requests',
desc: 'Have a great idea for the next update? Let us know what we should build next.',
tag: '#ideas'
},
'reports': {
title: 'Bug Reports',
desc: 'Found a glitch? Describe the issue so we can investigate and patch it.',
tag: '#reports'
}
};
// --- FORUM LOGIC ---
function switchChannel(channelId) {
if (!channelsData[channelId]) channelId = 'global';
// Update UI Text
document.getElementById('channel-title').innerText = channelsData[channelId].title;
document.getElementById('channel-desc').innerText = channelsData[channelId].desc;
document.getElementById('channel-tag').innerText = channelsData[channelId].tag;
window.location.hash = channelId;
// Update Sidebar Active States
const activeClasses = ['bg-gray-100', 'dark:bg-gray-900', 'text-black', 'dark:text-white'];
const inactiveClasses = ['text-gray-500', 'hover:bg-gray-50', 'dark:hover:bg-gray-900/50'];
document.querySelectorAll('.channel-link').forEach(link => {
link.classList.remove(...activeClasses);
link.classList.add(...inactiveClasses);
});
const activeLink = document.getElementById('nav-' + channelId);
if (activeLink) {
activeLink.classList.remove(...inactiveClasses);
activeLink.classList.add(...activeClasses);
}
// Reload HTMLCommentBox for the specific channel
loadCommentsForChannel(channelId);
}
function loadCommentsForChannel(channelId) {
// Set unique page ID for the channel
window.hcb_user = {
PAGE: 'ventarys-forum-v2-' + channelId,
MAX_CHARS: 2000 // Limit chars to keep UI clean
};
// Show loader
const box = document.getElementById('HCB_comment_box');
box.innerHTML = '<div class="py-12 flex justify-center"><div class="w-8 h-8 border-t-2 border-black dark:border-white rounded-full animate-spin"></div></div>';
// Remove old script
const oldScript = document.getElementById('hcb-script');
if (oldScript) oldScript.remove();
// Inject new script
var s = document.createElement("script");
s.setAttribute("type", "text/javascript");
s.setAttribute("id", "hcb-script");
s.setAttribute("src", "https://www.htmlcommentbox.com/jread?page=" + encodeURIComponent(window.hcb_user.PAGE).replace("+", "%2B") + "&mod=%241%24wq1rdBcg%24436UmqC2OsQ48Vr%2FhM7NG0&opts=16798&num=15&ts=" + Date.now());
document.getElementsByTagName("head")[0].appendChild(s);
}
// --- MOBILE MENU ---
const mobileMenuBtn = document.getElementById('mobile-menu-btn');
const mobileMenu = document.getElementById('mobile-menu');
if (mobileMenuBtn && mobileMenu) {
mobileMenuBtn.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
}
// --- INIT ---
window.addEventListener('DOMContentLoaded', () => {
let hash = window.location.hash.substring(1);
if (!channelsData[hash]) hash = 'global';
switchChannel(hash);
});
</script>
</body>
</html>