File size: 10,935 Bytes
a9ef030
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>UP Library Maps | DataViz Elegance</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <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>
    <style>
        .library-map {
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .library-map:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .space-label {
            position: absolute;
            background: rgba(99, 102, 241, 0.8);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans antialiased">
    <div class="min-h-screen">
        <!-- Header -->
        <header class="bg-gradient-to-r from-primary to-secondary text-white shadow-lg">
            <div class="container mx-auto px-4 py-6">
                <div class="flex justify-between items-center">
                    <div class="flex items-center space-x-2">
                        <i data-feather="map" class="w-8 h-8"></i>
                        <h1 class="text-2xl font-bold">UP Library Maps</h1>
                    </div>
                    <nav>
                        <ul class="flex space-x-6">
                            <li><a href="index.html" class="hover:underline font-medium">Dashboard</a></li>
                            <li><a href="#" class="hover:underline">Maps</a></li>
                            <li><a href="#" class="hover:underline">About</a></li>
                        </ul>
                    </nav>
                </div>
            </div>
        </header>

        <!-- Main Content -->
        <main class="container mx-auto px-4 py-8">
            <div class="flex justify-between items-center mb-8">
                <h2 class="text-3xl font-bold text-dark">Library Floor Plans</h2>
                <div class="flex space-x-4">
                    <a href="#akanyang" class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary-dark transition">Akanyang 1</a>
                    <a href="#law-library" class="px-4 py-2 bg-secondary text-white rounded-lg hover:bg-secondary-dark transition">Law Library L4</a>
                </div>
            </div>

            <!-- Akanyang 1 Study Space -->
            <section id="akanyang" class="mb-16">
                <div class="flex items-center mb-6">
                    <i data-feather="book" class="w-6 h-6 text-primary mr-3"></i>
                    <h3 class="text-2xl font-semibold text-dark">Akanyang 1 Study Space</h3>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-md">
                    <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                        <div class="relative">
                            <img src="http://static.photos/education/1024x576/1" alt="Akanyang 1 Map" class="w-full h-auto rounded-lg library-map">
                            <div class="space-label" style="top: 20%; left: 30%;">Study Tables</div>
                            <div class="space-label" style="top: 45%; left: 65%;">Group Study</div>
                            <div class="space-label" style="top: 70%; left: 25%;">Quiet Zone</div>
                        </div>
                        <div>
                            <h4 class="text-xl font-semibold text-dark mb-4">Space Features</h4>
                            <ul class="space-y-3 text-gray-700">
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Capacity: ~50 students</span>
                                </li>
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Mixed seating (tables, couches, individual carrels)</span>
                                </li>
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Natural light from north-facing windows</span>
                                </li>
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Proximity to printing stations and reference books</span>
                                </li>
                            </ul>
                            
                            <h4 class="text-xl font-semibold text-dark mt-8 mb-4">Noise Levels</h4>
                            <div class="w-full bg-gray-200 rounded-full h-4 mb-2">
                                <div class="bg-yellow-400 h-4 rounded-full" style="width: 65%"></div>
                            </div>
                            <p class="text-sm text-gray-600">Moderate volume (group discussions allowed)</p>
                        </div>
                    </div>
                </div>
            </section>

            <!-- Law Library Level 4 -->
            <section id="law-library" class="mb-16">
                <div class="flex items-center mb-6">
                    <i data-feather="book-open" class="w-6 h-6 text-secondary mr-3"></i>
                    <h3 class="text-2xl font-semibold text-dark">Law Library Level 4</h3>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-md">
                    <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                        <div class="relative">
                            <img src="http://static.photos/legal/1024x576/2" alt="Law Library Level 4 Map" class="w-full h-auto rounded-lg library-map">
                            <div class="space-label" style="top: 15%; left: 40%;">Reading Area</div>
                            <div class="space-label" style="top: 50%; left: 70%;">Reference Section</div>
                            <div class="space-label" style="top: 75%; left: 20%;">Computer Lab</div>
                        </div>
                        <div>
                            <h4 class="text-xl font-semibold text-dark mb-4">Space Features</h4>
                            <ul class="space-y-3 text-gray-700">
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Capacity: ~80 students</span>
                                </li>
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Ergonomic study chairs and large tables</span>
                                </li>
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>Specialized law collections and journals</span>
                                </li>
                                <li class="flex items-start">
                                    <i data-feather="check-circle" class="text-green-500 w-5 h-5 mr-2 mt-0.5"></i>
                                    <span>24/7 access during exams</span>
                                </li>
                            </ul>
                            
                            <h4 class="text-xl font-semibold text-dark mt-8 mb-4">Noise Levels</h4>
                            <div class="w-full bg-gray-200 rounded-full h-4 mb-2">
                                <div class="bg-green-500 h-4 rounded-full" style="width: 30%"></div>
                            </div>
                            <p class="text-sm text-gray-600">Silent study area (whispering only)</p>
                        </div>
                    </div>
                </div>
            </section>

            <!-- Google Maps Embed -->
            <section class="mb-12">
                <h3 class="text-2xl font-semibold text-dark mb-6 flex items-center">
                    <i data-feather="map-pin" class="w-6 h-6 text-primary mr-3"></i>
                    Location on Google Maps
                </h3>
                <div class="bg-white p-4 rounded-xl shadow-md">
                    <div class="aspect-w-16 aspect-h-9">
                        <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3582.0360564314314!2d28.23203231502671!3d-26.190198983467896!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1e9518c5c21b1a11%3A0x3d8f8a2b9a3e0a1d!2sUniversity%20of%20Pretoria%20Library!5e0!3m2!1sen!2sza!4v1620000000000!5m2!1sen!2sza" 
                                width="100%" 
                                height="450" 
                                style="border:0;" 
                                allowfullscreen="" 
                                loading="lazy"
                                class="rounded-lg"></iframe>
                    </div>
                </div>
            </section>
        </main>

        <!-- Footer -->
        <footer class="bg-dark text-white py-8">
            <div class="container mx-auto px-4">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-4 md:mb-0">
                        <div class="flex items-center space-x-2">
                            <i data-feather="map" class="w-6 h-6 text-primary"></i>
                            <span class="text-xl font-bold">DataViz Elegance</span>
                        </div>
                        <p class="text-gray-400 mt-2">University of Pretoria Library Mapping</p>
                    </div>
                    <div class="text-gray-400 text-sm">
                        <p>Last updated: June 2023</p>
                    </div>
                </div>
                <div class="border-t border-gray-700 mt-6 pt-6 text-sm text-gray-400 text-center">
                    <p>© 2023 DataViz Elegance. Not an official UP resource.</p>
                </div>
            </div>
        </footer>
    </div>

    <script>
        feather.replace();
    </script>
</body>
</html>