File size: 17,693 Bytes
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63bf589
 
c91f8db
 
 
63bf589
c91f8db
63bf589
 
 
c91f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Library | ComicVerse Deluxe</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>
        .comic-card:hover .comic-overlay {
            opacity: 1;
            transform: translateY(0);
        }
        .comic-overlay {
            transition: all 0.3s ease;
            transform: translateY(20px);
        }
        .progress-bar {
            height: 4px;
            background: #FF0000;
            width: 0%;
            transition: width 0.5s ease;
        }
    </style>
</head>
<body class="bg-dark text-light font-sans">
    <!-- Navigation -->
    <nav class="bg-dark border-b border-gray-800 sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <i data-feather="book-open" class="text-primary"></i>
                <span class="text-2xl font-bold text-primary">Comica<span class="text-secondary">Verse</span></span>
            </div>
            <div class="hidden md:flex space-x-6">
                <a href="index.html" class="text-light hover:text-primary transition">Home</a>
                <a href="library.html" class="text-primary font-bold">Library</a>
                <a href="new-releases.html" class="text-light hover:text-primary transition">New Releases</a>
                <a href="subscription.html" class="text-light hover:text-primary transition">Subscription</a>
</div>
            <div class="flex items-center space-x-4">
                <button class="p-2 rounded-full hover:bg-gray-800 transition">
                    <i data-feather="search" class="text-light"></i>
                </button>
                <button class="p-2 rounded-full hover:bg-gray-800 transition">
                    <i data-feather="user" class="text-light"></i>
                </button>
                <button class="md:hidden p-2 rounded-full hover:bg-gray-800 transition">
                    <i data-feather="menu" class="text-light"></i>
                </button>
            </div>
        </div>
    </nav>

    <!-- Library Header -->
    <section class="py-8 bg-gray-900">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-start md:items-center">
                <div>
                    <h1 class="text-3xl font-bold text-primary mb-2">My Library</h1>
                    <p class="text-blue-300">12 comics • 3 in progress</p>
</div>
                <div class="mt-4 md:mt-0 flex space-x-3">
                    <button class="flex items-center space-x-2 bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
                        <i data-feather="filter" class="text-light"></i>
                        <span>Filter</span>
                    </button>
                    <button class="flex items-center space-x-2 bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
                        <i data-feather="search" class="text-light"></i>
                        <span>Search</span>
                    </button>
                </div>
            </div>
        </div>
    </section>

    <!-- Library Content -->
    <section class="py-8 container mx-auto px-4">
        <h2 class="text-xl font-bold text-primary mb-6">Currently Reading</h2>
        <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
            <!-- Reading Item 1 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/red/640x360/101" alt="Unit4: Code Red" class="w-full h-full object-cover">
                    <div class="absolute inset-x-0 bottom-0 bg-dark bg-opacity-80 p-2">
                        <div class="w-full bg-gray-700 rounded-full h-1">
                            <div class="progress-bar" style="width: 65%"></div>
                        </div>
                    </div>
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">Unit4: Code Red</h3>
                                <p class="text-xs text-green-300">65% complete</p>
</div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Continue</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Reading Item 2 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/black/640x360/102" alt="UNDEAD" class="w-full h-full object-cover">
                    <div class="absolute inset-x-0 bottom-0 bg-dark bg-opacity-80 p-2">
                        <div class="w-full bg-gray-700 rounded-full h-1">
                            <div class="progress-bar" style="width: 30%"></div>
                        </div>
                    </div>
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">UNDEAD</h3>
                                <p class="text-xs text-green-300">30% complete</p>
</div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Continue</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Reading Item 3 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/yellow/640x360/103" alt="Island Games" class="w-full h-full object-cover">
                    <div class="absolute inset-x-0 bottom-0 bg-dark bg-opacity-80 p-2">
                        <div class="w-full bg-gray-700 rounded-full h-1">
                            <div class="progress-bar" style="width: 12%"></div>
                        </div>
                    </div>
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">Island Games</h3>
                                <p class="text-xs text-green-300">12% complete</p>
</div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Continue</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <h2 class="text-xl font-bold text-primary mt-12 mb-6">All Comics</h2>
        <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
            <!-- Library Item 1 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/red/640x360/104" alt="Agent: 17" class="w-full h-full object-cover">
                    <div class="absolute top-4 left-4 bg-primary text-dark px-3 py-1 rounded-full text-xs font-bold">CO</div>
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">Agent: 17</h3>
                                <p class="text-xs text-red-300">Not started</p>
</div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Read</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Library Item 2 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/black/640x360/105" alt="The Nexus" class="w-full h-full object-cover">
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">The Nexus</h3>
                                <p class="text-xs text-purple-300">Completed</p>
</div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Reread</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Library Item 3 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/yellow/640x360/106" alt="Beast FC" class="w-full h-full object-cover">
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">Beast FC</h3>
                                <p class="text-xs text-light">Completed</p>
                            </div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Reread</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Library Item 4 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/red/640x360/107" alt="Terra Swoop Force" class="w-full h-full object-cover">
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">Terra Swoop Force</h3>
                                <p class="text-xs text-light">Completed</p>
                            </div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Reread</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Library Item 5 -->
            <div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
                <div class="relative h-64 overflow-hidden">
                    <img src="http://static.photos/black/640x360/108" alt="Cyber Hunt" class="w-full h-full object-cover">
                    <div class="absolute top-4 left-4 bg-primary text-dark px-3 py-1 rounded-full text-xs font-bold">CO</div>
                    <div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
                        <div class="flex justify-between items-end">
                            <div>
                                <h3 class="text-lg font-bold text-primary">Cyber Hunt</h3>
                                <p class="text-xs text-light">Not started</p>
                            </div>
                            <button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Read</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <i data-feather="book-open" class="text-primary"></i>
                        <span class="text-xl font-bold text-primary">Comica<span class="text-secondary">Verse</span></span>
                    </div>
                    <p class="text-blue-300 text-sm">The ultimate destination for premium comics and graphic novels.</p>
</div>
                <div>
                    <h3 class="text-lg font-bold text-light mb-4">Explore</h3>
                    <ul class="space-y-2">
                        <li><a href="index.html" class="text-yellow-300 hover:text-primary transition">Home</a></li>
                        <li><a href="library.html" class="text-primary font-bold">Library</a></li>
                        <li><a href="#" class="text-yellow-300 hover:text-primary transition">New Releases</a></li>
                        <li><a href="#" class="text-yellow-300 hover:text-primary transition">Categories</a></li>
</ul>
                </div>
                <div>
                    <h3 class="text-lg font-bold text-light mb-4">Account</h3>
                    <ul class="space-y-2">
                        <li><a href="library.html" class="text-gray-400 hover:text-primary transition">My Library</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-primary transition">Subscription</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-primary transition">Settings</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-primary transition">Help Center</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-bold text-light mb-4">Connect</h3>
                    <div class="flex space-x-4 mb-4">
                        <a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="twitter"></i></a>
                        <a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="instagram"></i></a>
                        <a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="facebook"></i></a>
                        <a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="youtube"></i></a>
                    </div>
                    <p class="text-gray-400 text-sm">Subscribe to our newsletter</p>
                    <div class="flex mt-2">
                        <input type="email" placeholder="Your email" class="bg-gray-800 text-light px-4 py-2 rounded-l-lg focus:outline-none w-full">
                        <button class="bg-primary hover:bg-yellow-600 text-dark px-4 py-2 rounded-r-lg transition">
                            <i data-feather="send"></i>
                        </button>
                    </div>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
                <p class="text-gray-400 text-sm">© 2023 ComicVerse Deluxe. All rights reserved.</p>
                <div class="flex space-x-6 mt-4 md:mt-0">
                    <a href="#" class="text-gray-400 hover:text-primary transition text-sm">Terms</a>
                    <a href="#" class="text-gray-400 hover:text-primary transition text-sm">Privacy</a>
                    <a href="#" class="text-gray-400 hover:text-primary transition text-sm">Cookies</a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Initialize feather icons
        feather.replace();
        
        // Animate progress bars on scroll
        document.addEventListener('DOMContentLoaded', function() {
            const progressBars = document.querySelectorAll('.progress-bar');
            
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        const width = entry.target.style.width;
                        entry.target.style.width = '0%';
                        setTimeout(() => {
                            entry.target.style.width = width;
                        }, 100);
                    }
                });
            }, { threshold: 0.1 });

            progressBars.forEach(bar => {
                observer.observe(bar);
            });
        });
    </script>
</body>
</html>