File size: 5,838 Bytes
1235104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
990929c
 
 
 
 
 
 
 
 
 
 
1235104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ThreadView Pro v6</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <link rel="stylesheet" href="style.css">
    <script src="components/navbar.js"></script>
    <script src="components/thread-card.js"></script>
</head>
<body class="bg-gray-100 min-h-screen">
    <custom-navbar></custom-navbar>
    
    <main class="container mx-auto px-4 py-8">
        <div class="flex flex-col md:flex-row gap-6">
            <!-- Sidebar -->
            <aside class="w-full md:w-1/4 lg:w-1/5">
                <div class="bg-white rounded-lg shadow p-4 sticky top-4">
                    <h2 class="text-xl font-bold mb-4">Filters</h2>
                    <div class="space-y-4">
                        <div>
                            <label class="block text-sm font-medium mb-1">Sort by</label>
                            <select class="w-full rounded border-gray-300">
                                <option>Newest</option>
                                <option>Most Popular</option>
                                <option>Trending</option>
                            </select>
                        </div>
                        <div>
                            <label class="block text-sm font-medium mb-1">Categories</label>
                            <div class="space-y-2">
                                <label class="flex items-center">
                                    <input type="checkbox" class="rounded text-indigo-600">
                                    <span class="ml-2">Technology</span>
                                </label>
                                <label class="flex items-center">
                                    <input type="checkbox" class="rounded text-indigo-600">
                                    <span class="ml-2">Business</span>
                                </label>
                                <label class="flex items-center">
                                    <input type="checkbox" class="rounded text-indigo-600">
                                    <span class="ml-2">Science</span>
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </aside>

            <!-- Threads List -->
            <div class="w-full md:w-3/4 lg:w-4/5">
                <div class="flex justify-between items-center mb-6">
                    <h1 class="text-2xl font-bold">Recent Threads</h1>
                    <div class="flex space-x-3">
                        <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center">
                            <i data-feather="plus" class="mr-2"></i>
                            New Thread
                        </button>
                        <a href="/bots.html" class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-lg flex items-center">
                            <i data-feather="code" class="mr-2"></i>
                            Trading Bots
                        </a>
                    </div>
</div>

                <div class="space-y-4">
                    <custom-thread-card 
                        title="How to implement ThreadView in PineScript v6"
                        author="John Doe" 
                        date="2 hours ago" 
                        comments="12"
                        likes="45"
                        tags="pine-script,threading"
                        category="Technology"
                    ></custom-thread-card>
                    
                    <custom-thread-card 
                        title="Best practices for multi-threading in trading bots"
                        author="Jane Smith" 
                        date="5 hours ago" 
                        comments="8"
                        likes="32"
                        tags="trading,multithreading"
                        category="Finance"
                    ></custom-thread-card>
                    
                    <custom-thread-card 
                        title="Understanding event loops in PineScript"
                        author="Mike Johnson" 
                        date="1 day ago" 
                        comments="24"
                        likes="78"
                        tags="pine-script,performance"
                        category="Education"
                    ></custom-thread-card>
                </div>

                <div class="mt-8 flex justify-center">
                    <nav class="inline-flex rounded-md shadow">
                        <a href="#" class="px-3 py-2 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">Previous</a>
                        <a href="#" class="px-3 py-2 border-t border-b border-gray-300 bg-white text-indigo-600 hover:bg-gray-50">1</a>
                        <a href="#" class="px-3 py-2 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">2</a>
                        <a href="#" class="px-3 py-2 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">3</a>
                        <a href="#" class="px-3 py-2 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">Next</a>
                    </nav>
                </div>
            </div>
        </div>
    </main>

    <script>
        feather.replace();
    </script>
    <script src="script.js"></script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>