Worexj commited on
Commit
e47a16a
·
verified ·
1 Parent(s): 19d8b23

https://orbitpremium.com/

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +172 -0
  3. components/header.js +163 -0
  4. index.html +118 -19
  5. script.js +29 -0
  6. style.css +37 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Orbit Premium Clone
3
- emoji: 🚀
4
- colorFrom: gray
5
- colorTo: red
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: Orbit Premium Clone 🚀
3
+ colorFrom: blue
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/footer.js ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ }
9
+
10
+ * {
11
+ margin: 0;
12
+ padding: 0;
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ footer {
17
+ background-color: #1f2937;
18
+ border-top: 1px solid #374151;
19
+ padding: 4rem 0 2rem;
20
+ }
21
+
22
+ .container {
23
+ max-width: 1280px;
24
+ margin: 0 auto;
25
+ padding: 0 1rem;
26
+ }
27
+
28
+ .footer-content {
29
+ display: grid;
30
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
31
+ gap: 2rem;
32
+ margin-bottom: 3rem;
33
+ }
34
+
35
+ .footer-column h3 {
36
+ color: #f9fafb;
37
+ margin-bottom: 1.5rem;
38
+ font-size: 1.125rem;
39
+ font-weight: 600;
40
+ }
41
+
42
+ .footer-links {
43
+ list-style: none;
44
+ }
45
+
46
+ .footer-links li {
47
+ margin-bottom: 0.75rem;
48
+ }
49
+
50
+ .footer-links a {
51
+ color: #9ca3af;
52
+ text-decoration: none;
53
+ transition: color 0.3s ease;
54
+ }
55
+
56
+ .footer-links a:hover {
57
+ color: #e5e7eb;
58
+ }
59
+
60
+ .social-links {
61
+ display: flex;
62
+ gap: 1rem;
63
+ margin-top: 1rem;
64
+ }
65
+
66
+ .social-link {
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: center;
70
+ width: 40px;
71
+ height: 40px;
72
+ border-radius: 50%;
73
+ background-color: #374151;
74
+ color: #9ca3af;
75
+ transition: all 0.3s ease;
76
+ }
77
+
78
+ .social-link:hover {
79
+ background-color: #4f46e5;
80
+ color: white;
81
+ transform: translateY(-2px);
82
+ }
83
+
84
+ .copyright {
85
+ border-top: 1px solid #374151;
86
+ padding-top: 2rem;
87
+ text-align: center;
88
+ color: #6b7280;
89
+ font-size: 0.875rem;
90
+ }
91
+
92
+ @media (max-width: 640px) {
93
+ .footer-content {
94
+ grid-template-columns: 1fr;
95
+ }
96
+ }
97
+ </style>
98
+
99
+ <footer>
100
+ <div class="container">
101
+ <div class="footer-content">
102
+ <div class="footer-column">
103
+ <h3>OrbitPremium</h3>
104
+ <p style="color: #9ca3af; margin-bottom: 1rem;">Premium digital solutions for modern businesses.</p>
105
+ <div class="social-links">
106
+ <a href="#" class="social-link">
107
+ <i data-feather="twitter" class="w-4 h-4"></i>
108
+ </a>
109
+ <a href="#" class="social-link">
110
+ <i data-feather="facebook" class="w-4 h-4"></i>
111
+ </a>
112
+ <a href="#" class="social-link">
113
+ <i data-feather="instagram" class="w-4 h-4"></i>
114
+ </a>
115
+ <a href="#" class="social-link">
116
+ <i data-feather="linkedin" class="w-4 h-4"></i>
117
+ </a>
118
+ </div>
119
+ </div>
120
+
121
+ <div class="footer-column">
122
+ <h3>Product</h3>
123
+ <ul class="footer-links">
124
+ <li><a href="#">Features</a></li>
125
+ <li><a href="#">Pricing</a></li>
126
+ <li><a href="#">Templates</a></li>
127
+ <li><a href="#">Roadmap</a></li>
128
+ <li><a href="#">Changelog</a></li>
129
+ </ul>
130
+ </div>
131
+
132
+ <div class="footer-column">
133
+ <h3>Resources</h3>
134
+ <ul class="footer-links">
135
+ <li><a href="#">Documentation</a></li>
136
+ <li><a href="#">Tutorials</a></li>
137
+ <li><a href="#">Blog</a></li>
138
+ <li><a href="#">Support</a></li>
139
+ <li><a href="#">API Status</a></li>
140
+ </ul>
141
+ </div>
142
+
143
+ <div class="footer-column">
144
+ <h3>Company</h3>
145
+ <ul class="footer-links">
146
+ <li><a href="#">About</a></li>
147
+ <li><a href="#">Careers</a></li>
148
+ <li><a href="#">Contact</a></li>
149
+ <li><a href="#">Partners</a></li>
150
+ <li><a href="#">Press</a></li>
151
+ </ul>
152
+ </div>
153
+ </div>
154
+
155
+ <div class="copyright">
156
+ <p>&copy; 2023 OrbitPremium. All rights reserved.</p>
157
+ </div>
158
+ </div>
159
+ </footer>
160
+ `;
161
+
162
+ // Initialize feather icons in shadow DOM
163
+ const featherScript = document.createElement('script');
164
+ featherScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js';
165
+ featherScript.onload = () => {
166
+ feather.replace();
167
+ };
168
+ this.shadowRoot.appendChild(featherScript);
169
+ }
170
+ }
171
+
172
+ customElements.define('custom-footer', CustomFooter);
components/header.js ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomHeader extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ }
9
+
10
+ * {
11
+ margin: 0;
12
+ padding: 0;
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ header {
17
+ background-color: rgba(17, 24, 39, 0.9);
18
+ backdrop-filter: blur(10px);
19
+ position: sticky;
20
+ top: 0;
21
+ z-index: 50;
22
+ border-bottom: 1px solid rgba(55, 65, 81, 0.5);
23
+ }
24
+
25
+ .container {
26
+ max-width: 1280px;
27
+ margin: 0 auto;
28
+ padding: 0 1rem;
29
+ }
30
+
31
+ nav {
32
+ display: flex;
33
+ justify-content: space-between;
34
+ align-items: center;
35
+ padding: 1.5rem 0;
36
+ }
37
+
38
+ .logo {
39
+ display: flex;
40
+ align-items: center;
41
+ font-weight: 700;
42
+ font-size: 1.5rem;
43
+ color: #f9fafb;
44
+ text-decoration: none;
45
+ }
46
+
47
+ .logo span {
48
+ color: #818cf8;
49
+ }
50
+
51
+ .nav-links {
52
+ display: flex;
53
+ gap: 2rem;
54
+ align-items: center;
55
+ }
56
+
57
+ .nav-link {
58
+ color: #9ca3af;
59
+ text-decoration: none;
60
+ font-weight: 500;
61
+ transition: color 0.3s ease;
62
+ }
63
+
64
+ .nav-link:hover {
65
+ color: #e5e7eb;
66
+ }
67
+
68
+ .nav-button {
69
+ background-color: transparent;
70
+ color: #c7d2fe;
71
+ border: 1px solid #4f46e5;
72
+ padding: 0.5rem 1.5rem;
73
+ border-radius: 0.5rem;
74
+ font-weight: 500;
75
+ transition: all 0.3s ease;
76
+ }
77
+
78
+ .nav-button:hover {
79
+ background-color: #4f46e5;
80
+ color: white;
81
+ }
82
+
83
+ .mobile-menu-button {
84
+ display: none;
85
+ background: none;
86
+ border: none;
87
+ color: #9ca3af;
88
+ }
89
+
90
+ .mobile-menu {
91
+ display: none;
92
+ position: absolute;
93
+ top: 100%;
94
+ left: 0;
95
+ right: 0;
96
+ background-color: #1f2937;
97
+ padding: 1rem;
98
+ border-top: 1px solid #374151;
99
+ }
100
+
101
+ .mobile-nav-links {
102
+ display: flex;
103
+ flex-direction: column;
104
+ gap: 1rem;
105
+ }
106
+
107
+ @media (max-width: 768px) {
108
+ .nav-links {
109
+ display: none;
110
+ }
111
+
112
+ .mobile-menu-button {
113
+ display: block;
114
+ }
115
+
116
+ .mobile-menu-button:hover {
117
+ color: #e5e7eb;
118
+ }
119
+ }
120
+ </style>
121
+
122
+ <header>
123
+ <div class="container">
124
+ <nav>
125
+ <a href="#" class="logo">Orbit<span>Premium</span></a>
126
+
127
+ <div class="nav-links">
128
+ <a href="#" class="nav-link">Home</a>
129
+ <a href="#" class="nav-link">Features</a>
130
+ <a href="#" class="nav-link">Pricing</a>
131
+ <a href="#" class="nav-link">About</a>
132
+ <a href="#" class="nav-button">Sign In</a>
133
+ </div>
134
+
135
+ <button id="mobile-menu-button" class="mobile-menu-button">
136
+ <i data-feather="menu" class="w-6 h-6"></i>
137
+ </button>
138
+ </nav>
139
+
140
+ <div id="mobile-menu" class="mobile-menu hidden">
141
+ <div class="mobile-nav-links">
142
+ <a href="#" class="nav-link">Home</a>
143
+ <a href="#" class="nav-link">Features</a>
144
+ <a href="#" class="nav-link">Pricing</a>
145
+ <a href="#" class="nav-link">About</a>
146
+ <a href="#" class="nav-button">Sign In</a>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </header>
151
+ `;
152
+
153
+ // Initialize feather icons in shadow DOM
154
+ const featherScript = document.createElement('script');
155
+ featherScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js';
156
+ featherScript.onload = () => {
157
+ feather.replace();
158
+ };
159
+ this.shadowRoot.appendChild(featherScript);
160
+ }
161
+ }
162
+
163
+ customElements.define('custom-header', CustomHeader);
index.html CHANGED
@@ -1,19 +1,118 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Orbit Premium Clone</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ </head>
13
+ <body class="bg-gray-900 text-white">
14
+ <!-- Header Component -->
15
+ <custom-header></custom-header>
16
+
17
+ <!-- Hero Section -->
18
+ <section class="relative py-20 md:py-32 overflow-hidden">
19
+ <div class="absolute inset-0 bg-gradient-to-br from-purple-900 via-indigo-900 to-gray-900 opacity-90"></div>
20
+ <div class="container mx-auto px-4 relative z-10">
21
+ <div class="max-w-3xl mx-auto text-center">
22
+ <h1 class="text-4xl md:text-6xl font-bold mb-6">Premium Digital Experiences</h1>
23
+ <p class="text-xl text-gray-300 mb-10">Elevate your online presence with our cutting-edge solutions designed for modern businesses.</p>
24
+ <div class="flex flex-col sm:flex-row justify-center gap-4">
25
+ <a href="#" class="bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 px-8 rounded-lg transition duration-300">Get Started</a>
26
+ <a href="#" class="bg-transparent border-2 border-indigo-500 text-indigo-300 hover:bg-indigo-500/10 font-bold py-3 px-8 rounded-lg transition duration-300">View Demo</a>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </section>
31
+
32
+ <!-- Features Section -->
33
+ <section class="py-20 bg-gray-800">
34
+ <div class="container mx-auto px-4">
35
+ <div class="text-center mb-16">
36
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Powerful Features</h2>
37
+ <p class="text-gray-400 max-w-2xl mx-auto">Everything you need to build a stunning digital presence that converts visitors into customers.</p>
38
+ </div>
39
+
40
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10">
41
+ <!-- Feature 1 -->
42
+ <div class="bg-gray-700/50 p-8 rounded-xl hover:bg-gray-700 transition duration-300">
43
+ <div class="w-14 h-14 rounded-full bg-indigo-500/10 flex items-center justify-center mb-6">
44
+ <i data-feather="zap" class="text-indigo-400 w-8 h-8"></i>
45
+ </div>
46
+ <h3 class="text-xl font-bold mb-3">Lightning Fast</h3>
47
+ <p class="text-gray-400">Optimized for speed and performance to ensure your visitors have the best experience.</p>
48
+ </div>
49
+
50
+ <!-- Feature 2 -->
51
+ <div class="bg-gray-700/50 p-8 rounded-xl hover:bg-gray-700 transition duration-300">
52
+ <div class="w-14 h-14 rounded-full bg-indigo-500/10 flex items-center justify-center mb-6">
53
+ <i data-feather="smartphone" class="text-indigo-400 w-8 h-8"></i>
54
+ </div>
55
+ <h3 class="text-xl font-bold mb-3">Fully Responsive</h3>
56
+ <p class="text-gray-400">Looks perfect on any device from mobile phones to large desktop monitors.</p>
57
+ </div>
58
+
59
+ <!-- Feature 3 -->
60
+ <div class="bg-gray-700/50 p-8 rounded-xl hover:bg-gray-700 transition duration-300">
61
+ <div class="w-14 h-14 rounded-full bg-indigo-500/10 flex items-center justify-center mb-6">
62
+ <i data-feather="lock" class="text-indigo-400 w-8 h-8"></i>
63
+ </div>
64
+ <h3 class="text-xl font-bold mb-3">Secure by Default</h3>
65
+ <p class="text-gray-400">Enterprise-grade security to protect your data and your customers' privacy.</p>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </section>
70
+
71
+ <!-- Stats Section -->
72
+ <section class="py-20">
73
+ <div class="container mx-auto px-4">
74
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
75
+ <div>
76
+ <div class="text-4xl md:text-5xl font-bold text-indigo-400 mb-2">99.9%</div>
77
+ <div class="text-gray-400">Uptime</div>
78
+ </div>
79
+ <div>
80
+ <div class="text-4xl md:text-5xl font-bold text-indigo-400 mb-2">24/7</div>
81
+ <div class="text-gray-400">Support</div>
82
+ </div>
83
+ <div>
84
+ <div class="text-4xl md:text-5xl font-bold text-indigo-400 mb-2">10K+</div>
85
+ <div class="text-gray-400">Customers</div>
86
+ </div>
87
+ <div>
88
+ <div class="text-4xl md:text-5xl font-bold text-indigo-400 mb-2">50+</div>
89
+ <div class="text-gray-400">Countries</div>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ </section>
94
+
95
+ <!-- CTA Section -->
96
+ <section class="py-20 bg-gradient-to-r from-indigo-900/50 to-purple-900/50">
97
+ <div class="container mx-auto px-4">
98
+ <div class="max-w-3xl mx-auto text-center">
99
+ <h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to get started?</h2>
100
+ <p class="text-gray-300 mb-10 max-w-2xl mx-auto">Join thousands of satisfied customers who have transformed their digital presence with our premium solutions.</p>
101
+ <a href="#" class="bg-white text-indigo-900 hover:bg-gray-100 font-bold py-3 px-8 rounded-lg inline-flex items-center transition duration-300">
102
+ Start Free Trial
103
+ <i data-feather="arrow-right" class="ml-2 w-5 h-5"></i>
104
+ </a>
105
+ </div>
106
+ </div>
107
+ </section>
108
+
109
+ <!-- Footer Component -->
110
+ <custom-footer></custom-footer>
111
+
112
+ <script src="components/header.js"></script>
113
+ <script src="components/footer.js"></script>
114
+ <script src="script.js"></script>
115
+ <script>feather.replace();</script>
116
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
117
+ </body>
118
+ </html>
script.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Mobile menu toggle functionality
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ const mobileMenuButton = document.getElementById('mobile-menu-button');
4
+ const mobileMenu = document.getElementById('mobile-menu');
5
+
6
+ if (mobileMenuButton && mobileMenu) {
7
+ mobileMenuButton.addEventListener('click', function() {
8
+ mobileMenu.classList.toggle('hidden');
9
+ });
10
+ }
11
+
12
+ // Close mobile menu when clicking outside
13
+ document.addEventListener('click', function(event) {
14
+ if (mobileMenu && !mobileMenu.contains(event.target) &&
15
+ mobileMenuButton && !mobileMenuButton.contains(event.target)) {
16
+ mobileMenu.classList.add('hidden');
17
+ }
18
+ });
19
+ });
20
+
21
+ // Smooth scrolling for anchor links
22
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
23
+ anchor.addEventListener('click', function(e) {
24
+ e.preventDefault();
25
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
26
+ behavior: 'smooth'
27
+ });
28
+ });
29
+ });
style.css CHANGED
@@ -1,28 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
 
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
2
+
3
+ :root {
4
+ --primary-color: #6366f1; /* indigo-500 */
5
+ --secondary-color: #8b5cf6; /* violet-500 */
6
+ }
7
+
8
+ * {
9
+ margin: 0;
10
+ padding: 0;
11
+ box-sizing: border-box;
12
+ font-family: 'Inter', sans-serif;
13
+ }
14
+
15
  body {
16
+ background-color: #111827; /* gray-900 */
17
+ color: #f9fafb; /* gray-50 */
18
+ }
19
+
20
+ /* Custom scrollbar */
21
+ ::-webkit-scrollbar {
22
+ width: 8px;
23
  }
24
 
25
+ ::-webkit-scrollbar-track {
26
+ background: #1f2937; /* gray-800 */
 
27
  }
28
 
29
+ ::-webkit-scrollbar-thumb {
30
+ background: #4f46e5; /* indigo-600 */
31
+ border-radius: 4px;
 
 
32
  }
33
 
34
+ ::-webkit-scrollbar-thumb:hover {
35
+ background: #6366f1; /* indigo-500 */
 
 
 
 
36
  }
37
 
38
+ /* Button hover effects */
39
+ a {
40
+ transition: all 0.3s ease;
41
  }
42
+
43
+ /* Feather icons alignment */
44
+ .feather {
45
+ display: inline-block;
46
+ vertical-align: middle;
47
+ }