File size: 10,989 Bytes
f6ec6c1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Generation Bridge Wiki - Connecting Generations Through Language</title>
    <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>πŸŒ‰</text></svg>">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900 min-h-screen text-white">
    
    <custom-navbar></custom-navbar>

    <!-- Hero Section -->
    <section class="relative overflow-hidden pt-20 pb-32 px-4">
        <div class="absolute inset-0 bg-gradient-to-r from-purple-500/20 via-transparent to-blue-500/20 animate-gradient-shift"></div>
        <div class="max-w-6xl mx-auto relative z-10">
            <div class="text-center mb-12">
                <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-purple-400 via-pink-400 to-blue-400 bg-clip-text text-transparent animate-gradient">
                    Generation Bridge Wiki
                </h1>
                <p class="text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto leading-relaxed">
                    Bridging the communication gap between generations through language, culture, and shared experiences
                </p>
            </div>
            
            <!-- Search Bar -->
            <div class="max-w-2xl mx-auto mb-16">
                <div class="relative group">
                    <input type="text" id="mainSearch" placeholder="Search for a term, slang, or phrase..." 
                           class="w-full px-6 py-4 rounded-2xl bg-white/10 backdrop-blur-lg border border-white/20 
                                  focus:border-purple-400 focus:ring-4 focus:ring-purple-400/20 transition-all duration-300
                                  placeholder-gray-400 text-white text-lg">
                    <div class="absolute right-4 top-1/2 transform -translate-y-1/2">
                        <i data-feather="search" class="w-6 h-6 text-gray-400 group-focus-within:text-purple-400 transition-colors"></i>
                    </div>
                </div>
            </div>

            <!-- Generation Selector -->
            <div class="grid grid-cols-2 md:grid-cols-5 gap-4 max-w-5xl mx-auto">
                <button class="generation-btn" data-gen="boomer">
                    <div class="text-3xl mb-2">πŸ‘΄</div>
                    <div class="font-bold">Boomers</div>
                    <div class="text-sm opacity-75">1946-1964</div>
                </button>
                <button class="generation-btn" data-gen="genx">
                    <div class="text-3xl mb-2">🎸</div>
                    <div class="font-bold">Gen X</div>
                    <div class="text-sm opacity-75">1965-1980</div>
                </button>
                <button class="generation-btn" data-gen="millennial">
                    <div class="text-3xl mb-2">πŸ“±</div>
                    <div class="font-bold">Millennials</div>
                    <div class="text-sm opacity-75">1981-1996</div>
                </button>
                <button class="generation-btn" data-gen="genz">
                    <div class="text-3xl mb-2">πŸ’«</div>
                    <div class="font-bold">Gen Z</div>
                    <div class="text-sm opacity-75">1997-2012</div>
                </button>
                <button class="generation-btn" data-gen="genalpha">
                    <div class="text-3xl mb-2">πŸš€</div>
                    <div class="font-bold">Gen Alpha</div>
                    <div class="text-sm opacity-75">2013+</div>
                </button>
            </div>
        </div>
    </section>

    <!-- Featured Terms Section -->
    <section class="py-20 px-4">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold text-center mb-4 bg-gradient-to-r from-pink-400 to-orange-400 bg-clip-text text-transparent">
                Trending Terms
            </h2>
            <p class="text-center text-gray-300 mb-12 max-w-2xl mx-auto">
                Discover the latest slang and phrases making waves across generations
            </p>
            
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6" id="featuredTerms">
                <!-- Terms will be populated by JavaScript -->
            </div>
        </div>
    </section>

    <!-- Translation Tool -->
    <section class="py-20 px-4 bg-white/5 backdrop-blur-lg">
        <div class="max-w-4xl mx-auto">
            <h2 class="text-4xl font-bold text-center mb-12 bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent">
                Translation Tool
            </h2>
            <div class="bg-white/10 backdrop-blur-xl rounded-3xl p-8 border border-white/20">
                <div class="grid md:grid-cols-2 gap-6">
                    <div>
                        <label class="block text-sm font-bold mb-3 text-gray-200">From Generation</label>
                        <select id="fromGen" class="w-full p-3 rounded-xl bg-white/10 border border-white/20 focus:border-purple-400 focus:ring-4 focus:ring-purple-400/20 transition-all">
                            <option value="boomer">Boomers (1946-1964)</option>
                            <option value="genx">Gen X (1965-1980)</option>
                            <option value="millennial">Millennials (1981-1996)</option>
                            <option value="genz">Gen Z (1997-2012)</option>
                        </select>
                    </div>
                    <div>
                        <label class="block text-sm font-bold mb-3 text-gray-200">To Generation</label>
                        <select id="toGen" class="w-full p-3 rounded-xl bg-white/10 border border-white/20 focus:border-purple-400 focus:ring-4 focus:ring-purple-400/20 transition-all">
                            <option value="genz">Gen Z (1997-2012)</option>
                            <option value="millennial">Millennials (1981-1996)</option>
                            <option value="genx">Gen X (1965-1980)</option>
                            <option value="boomer">Boomers (1946-1964)</option>
                        </select>
                    </div>
                </div>
                
                <div class="mt-6">
                    <label class="block text-sm font-bold mb-3 text-gray-200">Enter Phrase</label>
                    <textarea id="translateInput" rows="3" placeholder="Type a phrase to translate..."
                              class="w-full p-4 rounded-xl bg-white/10 border border-white/20 focus:border-purple-400 
                                     focus:ring-4 focus:ring-purple-400/20 transition-all placeholder-gray-400 resize-none"></textarea>
                </div>
                
                <button id="translateBtn" class="mt-6 w-full py-4 bg-gradient-to-r from-purple-500 to-pink-500 rounded-xl font-bold 
                                                hover:from-purple-600 hover:to-pink-600 transition-all duration-300 transform 
                                                hover:scale-105 active:scale-95 shadow-lg hover:shadow-purple-500/25">
                    <i data-feather="shuffle" class="w-5 h-5 inline mr-2"></i>
                    Translate
                </button>
                
                <div id="translationResult" class="mt-6 p-6 bg-green-500/10 border border-green-500/30 rounded-xl hidden">
                    <h3 class="font-bold text-lg mb-2 text-green-400">Translation Result</h3>
                    <p id="translatedText" class="text-white text-lg"></p>
                    <p id="translationContext" class="text-gray-300 text-sm mt-2"></p>
                </div>
            </div>
        </div>
    </section>

    <!-- Connect Section -->
    <section class="py-20 px-4">
        <div class="max-w-6xl mx-auto text-center">
            <h2 class="text-4xl font-bold mb-6 bg-gradient-to-r from-orange-400 to-red-400 bg-clip-text text-transparent">
                Share Your Experience
            </h2>
            <p class="text-xl text-gray-300 mb-12 max-w-3xl mx-auto">
                Help others understand your generation's perspective. Share stories, explain slang, and build bridges.
            </p>
            
            <div class="grid md:grid-cols-3 gap-8">
                <div class="p-8 bg-white/5 backdrop-blur-lg rounded-2xl border border-white/10 hover:border-white/30 transition-all">
                    <div class="w-16 h-16 bg-gradient-to-r from-blue-500 to-purple-500 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i data-feather="edit-3" class="w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Submit Slang</h3>
                    <p class="text-gray-300">Add new terms and expressions from your generation</p>
                </div>
                
                <div class="p-8 bg-white/5 backdrop-blur-lg rounded-2xl border border-white/10 hover:border-white/30 transition-all">
                    <div class="w-16 h-16 bg-gradient-to-r from-pink-500 to-orange-500 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i data-feather="message-circle" class="w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Share Stories</h3>
                    <p class="text-gray-300">Tell us about experiences that shaped your generation</p>
                </div>
                
                <div class="p-8 bg-white/5 backdrop-blur-lg rounded-2xl border border-white/10 hover:border-white/30 transition-all">
                    <div class="w-16 h-16 bg-gradient-to-r from-green-500 to-teal-500 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i data-feather="users" class="w-8 h-8"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Join Discussions</h3>
                    <p class="text-gray-300">Connect with people from different generations</p>
                </div>
            </div>
        </div>
    </section>

    <footer class="py-12 px-4 border-t border-white/10">
        <div class="max-w-6xl mx-auto text-center">
            <p class="text-gray-400">&copy; 2024 Generation Bridge Wiki. Building connections, one word at a time.</p>
        </div>
    </footer>

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