File size: 13,799 Bytes
fca9012
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Community - Racer's Edge</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <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>
    <style>
        .community-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.1), 0 10px 10px -5px rgba(239, 68, 68, 0.04);
        }
        .filter-active {
            background-color: #ef4444;
            color: white;
        }
    </style>
</head>
<body class="bg-gray-900 text-white">
    <div class="min-h-screen flex flex-col">
        <!-- Header -->
        <header class="py-6 px-4 sm:px-6 lg:px-8 bg-black bg-opacity-70 backdrop-blur-sm">
            <div class="flex justify-between items-center">
                <div class="flex items-center">
                    <i data-feather="flag" class="w-8 h-8 text-red-500 mr-3"></i>
                    <h1 class="text-2xl font-bold bg-gradient-to-r from-red-500 to-yellow-500 bg-clip-text text-transparent">Racer's Edge</h1>
                </div>
                <nav class="hidden md:flex space-x-8">
                    <a href="index.html" class="hover:text-red-400 transition">Home</a>
                    <a href="cars.html" class="hover:text-red-400 transition">Cars</a>
                    <a href="tracks.html" class="hover:text-red-400 transition">Tracks</a>
                    <a href="community.html" class="text-red-400">Community</a>
                </nav>
                <button class="md:hidden">
                    <i data-feather="menu" class="w-6 h-6"></i>
                </button>
            </div>
        </header>

        <!-- Main Content -->
        <main class="container mx-auto px-4 py-16 flex-grow">
            <div class="mb-12">
                <h1 class="text-4xl font-bold mb-6">Community</h1>
                <p class="text-gray-300 max-w-3xl">Join our growing community of sim racers. Share setups, get feedback, and improve your lap times together.</p>
            </div>

            <!-- Community Stats -->
            <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-12">
                    <div class="bg-gray-800 rounded-lg p-6 text-center">
                        <i data-feather="users" class="w-10 h-10 mx-auto mb-4 text-red-500"></i>
                        <h3 class="text-2xl font-bold mb-2">5,247</h3>
                        <p class="text-sm text-gray-300">Active Members</p>
                    </div>
                    <div class="bg-gray-800 rounded-lg p-6 text-center">
                        <i data-feather="download" class="w-10 h-10 mx-auto mb-4 text-red-500"></i>
                        <h3 class="text-2xl font-bold mb-2">12,896</h3>
                        <p class="text-sm text-gray-300">Setups Downloaded</p>
                    </div>
                    <div class="bg-gray-800 rounded-lg p-6 text-center">
                        <i data-feather="star" class="w-10 h-10 mx-auto mb-4 text-red-500"></i>
                        <h3 class="text-2xl font-bold mb-2">4.8</h3>
                        <p class="text-sm text-gray-300">Average Rating</p>
                    </div>
                    <div class="bg-gray-800 rounded-lg p-6 text-center">
                        <i data-feather="message-circle" class="w-10 h-10 mx-auto mb-4 text-red-500"></i>
                        <h3 class="text-2xl font-bold mb-2">347</h3>
                        <p class="text-sm text-gray-300">Active Discussions</p>
                    </div>
                </div>

            <!-- Recent Discussions -->
            <section class="mb-12">
                <h2 class="text-3xl font-bold mb-8">Recent Discussions</h2>
                <div class="space-y-4">
                    <!-- Discussion 1 -->
                    <div class="bg-gray-800 rounded-lg p-6 community-card transition duration-300">
                        <div class="flex items-start justify-between">
                            <div class="flex-1">
                                <h3 class="text-xl font-bold mb-2">Best Monza setup for Ferrari 488 GT3?</h3>
                                <p class="text-gray-300 mb-4">Looking for a stable Monza setup that can handle the heavy braking zones while maintaining good top speed.</p>
                                <div class="flex items-center text-sm text-gray-400">
                                    <img src="http://static.photos/people/40x40/1" alt="User" class="w-6 h-6 rounded-full mr-2">
                                    <span>SimRacer42</span>
                                    <span class="mx-2"></span>
                                    <span>3 hours ago</span>
                                    <span class="mx-2"></span>
                                    <span>12 replies</span>
                                </div>
                            </div>
                            <span class="bg-red-600 text-white text-xs px-2 py-1 rounded-full">GT3</span>
                        </div>
                    </div>
                    <!-- Discussion 2 -->
                    <div class="bg-gray-800 rounded-lg p-6 community-card transition duration-300">
                        <div class="flex items-start justify-between">
                            <div class="flex-1">
                                <h3 class="text-xl font-bold mb-2">Spa wet weather setups</h3>
                                <p class="text-gray-300 mb-4">Need help with wet weather configurations for Spa. My current setup feels too loose in the rain.</p>
                                <div class="flex items-center text-sm text-gray-400">
                                <img src="http://static.photos/people/40x40/2" alt="User" class="w-6 h-6 rounded-full mr-2">
                                <span>TrackMasterPro</span>
                                <span class="mx-2"></span>
                                <span>5 hours ago</span>
                                <span class="mx-2"></span>
                                <span>8 replies</span>
                            </div>
                        </div>
                        <span class="bg-red-600 text-white text-xs px-2 py-1 rounded-full">GT3</span>
                    </div>
                </div>
                <!-- Discussion 3 -->
                <div class="bg-gray-800 rounded-lg p-6 community-card transition duration-300">
                    <div class="flex items-start justify-between">
                        <div class="flex-1">
                            <h3 class="text-xl font-bold mb-2">BMW M4 GT4 vs Porsche 718 GT4 comparison</h3>
                    <p class="text-gray-300 mb-4">Detailed analysis of both GT4 cars including strengths, weaknesses, and optimal track types.</p>
                    <div class="flex items-center text-sm text-gray-400">
                        <img src="http://static.photos/people/40x40/3" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>GT4Enthusiast</span>
                        <span class="mx-2"></span>
                        <span>1 day ago</span>
                        <span class="mx-2"></span>
                        <span>23 replies</span>
                    </div>
                </div>
                <span class="bg-blue-600 text-white text-xs px-2 py-1 rounded-full">GT4</span>
            </div>
        </div>
    </div>
</section>

            <!-- Top Contributors -->
            <section class="mb-12">
                <h2 class="text-3xl font-bold mb-8">Top Contributors</h2>
                <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
                    <!-- Contributor 1 -->
                    <div class="bg-gray-800 rounded-lg p-6 text-center community-card transition duration-300">
                    <img src="http://static.photos/people/80x80/4" alt="Contributor" class="w-20 h-20 rounded-full mx-auto mb-4">
                    <h3 class="text-xl font-bold mb-2">SimSetupMaster</h3>
                    <p class="text-gray-300 mb-4">Specializes in Porsche setups with 142 shared configurations</p>
                    <div class="flex justify-center items-center text-yellow-400">
                        <i data-feather="star" class="w-4 h-4 mr-1"></i>
                    <span class="text-sm">4.9 rating</span>
                </div>
                <div class="flex justify-center space-x-2">
                    <span class="bg-red-600 text-white text-xs px-2 py-1 rounded-full">Expert</span>
                </div>
            </div>
            <!-- Contributor 2 -->
            <div class="bg-gray-800 rounded-lg p-6 text-center community-card transition duration-300">
                <img src="http://static.photos/people/80x80/5" alt="Contributor" class="w-20 h-20 rounded-full mx-auto mb-4">
                <h3 class="text-xl font-bold mb-2">DriftDoctor</h3>
                <p class="text-gray-300 mb-4">Focuses on stable, easy-to-drive setups for all car classes</p>
                <div class="flex justify-center items-center text-yellow-400">
                    <i data-feather="star" class="w-4 h-4 mr-1"></i>
                    <span class="text-sm">4.8 rating</span>
                </div>
                <div class="flex justify-center space-x-2">
                    <span class="bg-red-600 text-white text-xs px-2 py-1 rounded-full">Pro</span>
                </div>
            </div>
            <!-- Contributor 3 -->
            <div class="bg-gray-800 rounded-lg p-6 text-center community-card transition duration-300">
                    <img src="http://static.photos/people/80x80/6" alt="Contributor" class="w-20 h-20 rounded-full mx-auto mb-4">
                    <h3 class="text-xl font-bold mb-2">AeroAce</h3>
                    <p class="text-gray-300 mb-4">Aerodynamics specialist with deep knowledge of downforce optimization</p>
                    <div class="flex justify-center items-center text-yellow-400">
                        <i data-feather="star" class="w-4 h-4 mr-1"></i>
                        <span class="text-sm">4.7 rating</span>
                    </div>
                    <div class="flex justify-center space-x-2">
                            <span class="bg-red-600 text-white text-xs px-2 py-1 rounded-full">Advanced</span>
                        </div>
                    </div>
                </div>
            </section>

            <!-- Join Community CTA -->
            <section class="bg-gradient-to-r from-red-600 to-red-800 rounded-xl p-8 text-center">
                    <h2 class="text-3xl font-bold mb-4">Ready to join our community?</h2>
                    <p class="text-gray-200 mb-6 max-w-2xl mx-auto">Share your own setups, get feedback from experienced racers, and help others improve their performance.</p>
                    <div class="flex flex-col sm:flex-row justify-center gap-4">
                        <button class="bg-white hover:bg-gray-100 text-red-600 px-8 py-3 rounded-lg font-medium transition transform hover:scale-105">
                            Sign Up Free
                        </button>
                        <button class="bg-transparent hover:bg-red-700 border-2 border-white text-white px-8 py-3 rounded-lg font-medium transition transform hover:scale-105">
                            Learn More
                        </button>
                    </div>
                </section>
        </main>

        <!-- Footer -->
        <footer class="bg-gray-900 py-12 px-4 border-t border-gray-800">
            <div class="container mx-auto">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-6 md:mb-0">
                        <div class="flex items-center">
                            <i data-feather="flag" class="w-6 h-6 text-red-500 mr-2"></i>
                            <span class="text-lg font-bold">Racer's Edge</span>
                        </div>
                        <p class="text-gray-400 mt-2">The ultimate setup resource for ACC</p>
                    </div>
                    <div class="flex space-x-6">
                        <a href="#" class="text-gray-400 hover:text-white transition">
                            <i data-feather="twitter" class="w-5 h-5"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition">
                                <i data-feather="youtube" class="w-5 h-5"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition">
                                <i data-feather="discord" class="w-5 h-5"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition">
                                    <i data-feather="github" class="w-5 h-5"></i>
                        </a>
                    </div>
                </div>
                <div class="border-t border-gray-800 mt-8 pt-8 text-center">
                            <p class="text-gray-400 text-sm">© 2023 Racer's Edge. All setups are community-contributed and not affiliated with Kunos Simulazioni.</p>
                </div>
            </div>
        </footer>
    </div>
    <script>
        // Initialize feather icons
        document.addEventListener('DOMContentLoaded', function() {
            feather.replace();
        });
    </script>
</body>
</html>