Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +287 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: multinav-test
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: blue
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,287 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Page 1 | Initial Page</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
/* Custom animations */
|
11 |
+
@keyframes fadeIn {
|
12 |
+
from { opacity: 0; transform: translateY(10px); }
|
13 |
+
to { opacity: 1; transform: translateY(0); }
|
14 |
+
}
|
15 |
+
|
16 |
+
.fade-in {
|
17 |
+
animation: fadeIn 0.5s ease-out forwards;
|
18 |
+
}
|
19 |
+
|
20 |
+
.delay-1 { animation-delay: 0.2s; }
|
21 |
+
.delay-2 { animation-delay: 0.4s; }
|
22 |
+
.delay-3 { animation-delay: 0.6s; }
|
23 |
+
|
24 |
+
/* Custom hover effect for cards */
|
25 |
+
.card-hover {
|
26 |
+
transition: all 0.3s ease;
|
27 |
+
}
|
28 |
+
|
29 |
+
.card-hover:hover {
|
30 |
+
transform: translateY(-5px);
|
31 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
32 |
+
}
|
33 |
+
|
34 |
+
/* Gradient text */
|
35 |
+
.gradient-text {
|
36 |
+
background: linear-gradient(90deg, #4f46e5, #9333ea);
|
37 |
+
-webkit-background-clip: text;
|
38 |
+
background-clip: text;
|
39 |
+
color: transparent;
|
40 |
+
}
|
41 |
+
</style>
|
42 |
+
</head>
|
43 |
+
<body class="bg-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
|
44 |
+
<!-- Navigation -->
|
45 |
+
<nav class="bg-white shadow-lg sticky top-0 z-50">
|
46 |
+
<div class="max-w-6xl mx-auto px-4">
|
47 |
+
<div class="flex justify-between">
|
48 |
+
<div class="flex space-x-7">
|
49 |
+
<div>
|
50 |
+
<!-- Logo -->
|
51 |
+
<a href="index.html" class="flex items-center py-4 px-2">
|
52 |
+
<i class="fas fa-rocket text-indigo-600 text-2xl mr-2"></i>
|
53 |
+
<span class="font-semibold text-gray-900 text-lg">MultiNav</span>
|
54 |
+
</a>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
<!-- Primary Nav -->
|
58 |
+
<div class="hidden md:flex items-center space-x-1">
|
59 |
+
<a href="index.html" class="py-4 px-2 text-gray-500 hover:text-indigo-600 transition duration-300">Home</a>
|
60 |
+
<a href="page1.html" class="py-4 px-2 text-indigo-600 border-b-4 border-indigo-600 font-semibold">Page 1</a>
|
61 |
+
<a href="page2.html" class="py-4 px-2 text-gray-500 hover:text-indigo-600 transition duration-300">Page 2</a>
|
62 |
+
<a href="page4.html" class="py-4 px-2 text-gray-500 hover:text-indigo-600 transition duration-300">Page 4</a>
|
63 |
+
</div>
|
64 |
+
<!-- Mobile button -->
|
65 |
+
<div class="md:hidden flex items-center">
|
66 |
+
<button class="outline-none mobile-menu-button">
|
67 |
+
<svg class="w-6 h-6 text-gray-500 hover:text-indigo-600"
|
68 |
+
fill="none"
|
69 |
+
stroke-linecap="round"
|
70 |
+
stroke-linejoin="round"
|
71 |
+
stroke-width="2"
|
72 |
+
viewBox="0 0 24 24"
|
73 |
+
stroke="currentColor">
|
74 |
+
<path d="M4 6h16M4 12h16M4 18h16"></path>
|
75 |
+
</svg>
|
76 |
+
</button>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<!-- Mobile menu -->
|
81 |
+
<div class="hidden mobile-menu">
|
82 |
+
<ul>
|
83 |
+
<li><a href="index.html" class="block text-sm px-2 py-4 hover:bg-indigo-500 hover:text-white transition duration-300">Home</a></li>
|
84 |
+
<li class="active"><a href="page1.html" class="block text-sm px-2 py-4 bg-indigo-600 text-white">Page 1</a></li>
|
85 |
+
<li><a href="page2.html" class="block text-sm px-2 py-4 hover:bg-indigo-500 hover:text-white transition duration-300">Page 2</a></li>
|
86 |
+
<li><a href="page4.html" class="block text-sm px-2 py-4 hover:bg-indigo-500 hover:text-white transition duration-300">Page 4</a></li>
|
87 |
+
</ul>
|
88 |
+
</div>
|
89 |
+
</nav>
|
90 |
+
|
91 |
+
<!-- Hero Section -->
|
92 |
+
<section class="py-16">
|
93 |
+
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
94 |
+
<div class="text-center fade-in">
|
95 |
+
<span class="text-indigo-600 font-semibold uppercase tracking-wide">Welcome to</span>
|
96 |
+
<h1 class="text-4xl md:text-5xl font-bold text-gray-900 mt-2 mb-4">Initial <span class="gradient-text">Page</span></h1>
|
97 |
+
<p class="text-lg text-gray-600 max-w-2xl mx-auto">
|
98 |
+
This is the starting point of your navigation journey. Explore what makes Page 1 special.
|
99 |
+
</p>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
</section>
|
103 |
+
|
104 |
+
<!-- Content Section -->
|
105 |
+
<section class="py-12 bg-white rounded-xl shadow-sm max-w-6xl mx-auto my-8 fade-in delay-1">
|
106 |
+
<div class="px-6 sm:px-8 lg:px-12">
|
107 |
+
<div class="max-w-4xl mx-auto">
|
108 |
+
<h2 class="text-2xl font-semibold text-gray-900 mb-6">About Initial Page</h2>
|
109 |
+
<div class="prose prose-indigo text-gray-600">
|
110 |
+
<p class="mb-4">
|
111 |
+
This initial page serves as the foundation for your multi-page navigation experience. Here you'll find essential information and features that introduce you to our platform's capabilities.
|
112 |
+
</p>
|
113 |
+
<p class="mb-4">
|
114 |
+
The design maintains consistency with our main page while offering unique content specific to Page 1. Notice the subtle animations that create a smooth user experience as you navigate through the content.
|
115 |
+
</p>
|
116 |
+
<div class="bg-indigo-50 rounded-lg p-4 mb-6 border-l-4 border-indigo-600">
|
117 |
+
<h3 class="font-semibold text-gray-900 mb-2">Quick Tip</h3>
|
118 |
+
<p>
|
119 |
+
Use the navigation menu to explore other pages in this demonstration. Each page offers a different experience while maintaining the same design language.
|
120 |
+
</p>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
</section>
|
126 |
+
|
127 |
+
<!-- Features Section -->
|
128 |
+
<section class="py-12 max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
129 |
+
<h2 class="text-3xl font-bold text-center text-gray-900 mb-12 fade-in">Page 1 Features</h2>
|
130 |
+
|
131 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
132 |
+
<!-- Feature 1 -->
|
133 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden card-hover fade-in delay-1">
|
134 |
+
<div class="p-8">
|
135 |
+
<div class="flex items-center justify-center w-12 h-12 mb-4 rounded-full bg-indigo-100 text-indigo-600">
|
136 |
+
<i class="fas fa-lightbulb text-xl"></i>
|
137 |
+
</div>
|
138 |
+
<h3 class="text-xl font-semibold text-gray-900 mb-2">Innovative Design</h3>
|
139 |
+
<p class="text-gray-600">
|
140 |
+
Experience our carefully crafted UI that balances aesthetics with functionality.
|
141 |
+
</p>
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
|
145 |
+
<!-- Feature 2 -->
|
146 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden card-hover fade-in delay-2">
|
147 |
+
<div class="p-8">
|
148 |
+
<div class="flex items-center justify-center w-12 h-12 mb-4 rounded-full bg-indigo-100 text-indigo-600">
|
149 |
+
<i class="fas fa-bolt text-xl"></i>
|
150 |
+
</div>
|
151 |
+
<h3 class="text-xl font-semibold text-gray-900 mb-2">Fast Performance</h3>
|
152 |
+
<p class="text-gray-600">
|
153 |
+
Optimized code ensures quick loading times and smooth interactions.
|
154 |
+
</p>
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
+
|
158 |
+
<!-- Feature 3 -->
|
159 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden card-hover fade-in delay-3">
|
160 |
+
<div class="p-8">
|
161 |
+
<div class="flex items-center justify-center w-12 h-12 mb-4 rounded-full bg-indigo-100 text-indigo-600">
|
162 |
+
<i class="fas fa-mobile-alt text-xl"></i>
|
163 |
+
</div>
|
164 |
+
<h3 class="text-xl font-semibold text-gray-900 mb-2">Responsive Layout</h3>
|
165 |
+
<p class="text-gray-600">
|
166 |
+
Works flawlessly on all devices from desktop to mobile.
|
167 |
+
</p>
|
168 |
+
</div>
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
</section>
|
172 |
+
|
173 |
+
<!-- Call to Action -->
|
174 |
+
<section class="py-16 bg-indigo-600 rounded-xl max-w-6xl mx-auto my-12 fade-in">
|
175 |
+
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
176 |
+
<h2 class="text-2xl md:text-3xl font-bold text-white mb-4">Ready to Explore More?</h2>
|
177 |
+
<p class="text-indigo-100 mb-8">
|
178 |
+
Check out our other pages to see more features and content we've prepared for you.
|
179 |
+
</p>
|
180 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
181 |
+
<a href="page2.html" class="bg-white hover:bg-gray-100 text-indigo-600 font-bold py-3 px-6 rounded-full shadow-md transition duration-300 inline-flex items-center">
|
182 |
+
Visit Page 2
|
183 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
184 |
+
</a>
|
185 |
+
<a href="page4.html" class="bg-transparent hover:bg-indigo-700 text-white font-bold py-3 px-6 border-2 border-white rounded-full shadow-md transition duration-300 inline-flex items-center">
|
186 |
+
Jump to Page 4
|
187 |
+
<i class="fas fa-chevron-right ml-2"></i>
|
188 |
+
</a>
|
189 |
+
</div>
|
190 |
+
</div>
|
191 |
+
</section>
|
192 |
+
|
193 |
+
<!-- Footer -->
|
194 |
+
<footer class="bg-gray-900 text-white py-12">
|
195 |
+
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
196 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
197 |
+
<div>
|
198 |
+
<h3 class="text-xl font-bold mb-4">MultiNav</h3>
|
199 |
+
<p class="text-gray-400">
|
200 |
+
A beautifully designed navigation system connecting multiple pages with smooth transitions.
|
201 |
+
</p>
|
202 |
+
</div>
|
203 |
+
<div>
|
204 |
+
<h4 class="text-lg font-semibold mb-4">Quick Links</h4>
|
205 |
+
<ul class="space-y-2">
|
206 |
+
<li><a href="index.html" class="text-gray-400 hover:text-white transition">Home</a></li>
|
207 |
+
<li><a href="page1.html" class="text-white font-medium">Initial Page</a></li>
|
208 |
+
<li><a href="page2.html" class="text-gray-400 hover:text-white transition">Page 2</a></li>
|
209 |
+
<li><a href="page4.html" class="text-gray-400 hover:text-white transition">Page 4</a></li>
|
210 |
+
</ul>
|
211 |
+
</div>
|
212 |
+
<div>
|
213 |
+
<h4 class="text-lg font-semibold mb-4">Resources</h4>
|
214 |
+
<ul class="space-y-2">
|
215 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
|
216 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
|
217 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
|
218 |
+
</ul>
|
219 |
+
</div>
|
220 |
+
<div>
|
221 |
+
<h4 class="text-lg font-semibold mb-4">Connect</h4>
|
222 |
+
<div class="flex space-x-4">
|
223 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
224 |
+
<i class="fab fa-twitter text-xl"></i>
|
225 |
+
</a>
|
226 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
227 |
+
<i class="fab fa-facebook text-xl"></i>
|
228 |
+
</a>
|
229 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
230 |
+
<i class="fab fa-instagram text-xl"></i>
|
231 |
+
</a>
|
232 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
233 |
+
<i class="fab fa-github text-xl"></i>
|
234 |
+
</a>
|
235 |
+
</div>
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
|
239 |
+
<p>© 2023 MultiNav. All rights reserved.</p>
|
240 |
+
</div>
|
241 |
+
</div>
|
242 |
+
</footer>
|
243 |
+
|
244 |
+
<script>
|
245 |
+
// Mobile menu toggle
|
246 |
+
const btn = document.querySelector(".mobile-menu-button");
|
247 |
+
const menu = document.querySelector(".mobile-menu");
|
248 |
+
|
249 |
+
btn.addEventListener("click", () => {
|
250 |
+
menu.classList.toggle("hidden");
|
251 |
+
});
|
252 |
+
|
253 |
+
// Smooth scrolling for anchor links
|
254 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
255 |
+
anchor.addEventListener('click', function (e) {
|
256 |
+
e.preventDefault();
|
257 |
+
|
258 |
+
const targetId = this.getAttribute('href');
|
259 |
+
if (targetId === '#') return;
|
260 |
+
|
261 |
+
const targetElement = document.querySelector(targetId);
|
262 |
+
if (targetElement) {
|
263 |
+
targetElement.scrollIntoView({
|
264 |
+
behavior: 'smooth'
|
265 |
+
});
|
266 |
+
}
|
267 |
+
});
|
268 |
+
});
|
269 |
+
|
270 |
+
// Animation on scroll
|
271 |
+
const fadeElements = document.querySelectorAll('.fade-in');
|
272 |
+
|
273 |
+
const observer = new IntersectionObserver((entries) => {
|
274 |
+
entries.forEach(entry => {
|
275 |
+
if (entry.isIntersecting) {
|
276 |
+
entry.target.style.opacity = 1;
|
277 |
+
entry.target.style.transform = 'translateY(0)';
|
278 |
+
}
|
279 |
+
});
|
280 |
+
}, { threshold: 0.1 });
|
281 |
+
|
282 |
+
fadeElements.forEach(element => {
|
283 |
+
observer.observe(element);
|
284 |
+
});
|
285 |
+
</script>
|
286 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=fmlemos/multinav-test" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
|
287 |
+
</html>
|