00Boobs00 commited on
Commit
b2e74cb
·
verified ·
1 Parent(s): df1cb84

Androiod Phone Emulators (Disposable Android VMs)

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +93 -0
  3. components/navbar.js +157 -0
  4. index.html +179 -19
  5. script.js +160 -0
  6. style.css +99 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Droiddrop Disposable Android Emulators
3
- emoji: 🏢
4
- colorFrom: blue
5
- colorTo: gray
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: DroidDrop - Disposable Android Emulators 🚀
3
+ colorFrom: red
4
+ colorTo: red
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,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ }
10
+ .footer {
11
+ background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
12
+ }
13
+ .footer-link {
14
+ transition: color 0.3s ease;
15
+ }
16
+ .footer-link:hover {
17
+ color: #60a5fa;
18
+ }
19
+ </style>
20
+ <footer class="footer text-gray-300">
21
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
22
+ <div class="grid md:grid-cols-4 gap-8">
23
+ <!-- Company -->
24
+ <div>
25
+ <h3 class="text-lg font-semibold text-white mb-4">DroidDrop</h3>
26
+ <p class="text-gray-400 mb-4">The fastest way to test Android apps in disposable virtual environments.</p>
27
+ <div class="flex space-x-4">
28
+ <a href="#" class="footer-link">
29
+ <i data-feather="twitter" class="w-5 h-5"></i>
30
+ </a>
31
+ <a href="#" class="footer-link">
32
+ <i data-feather="github" class="w-5 h-5"></i>
33
+ </a>
34
+ <a href="#" class="footer-link">
35
+ <i data-feather="linkedin" class="w-5 h-5"></i>
36
+ </a>
37
+ </div>
38
+ </div>
39
+
40
+ <!-- Product -->
41
+ <div>
42
+ <h3 class="text-lg font-semibold text-white mb-4">Product</h3>
43
+ <ul class="space-y-2">
44
+ <li><a href="#features" class="footer-link">Features</a></li>
45
+ <li><a href="#emulators" class="footer-link">Emulators</a></li>
46
+ <li><a href="/pricing" class="footer-link">Pricing</a></li>
47
+ <li><a href="/changelog" class="footer-link">Changelog</a></li>
48
+ </ul>
49
+ </div>
50
+
51
+ <!-- Resources -->
52
+ <div>
53
+ <h3 class="text-lg font-semibold text-white mb-4">Resources</h3>
54
+ <ul class="space-y-2">
55
+ <li><a href="/docs" class="footer-link">Documentation</a></li>
56
+ <li><a href="/blog" class="footer-link">Blog</a></li>
57
+ <li><a href="/support" class="footer-link">Support</a></li>
58
+ <li><a href="/api" class="footer-link">API</a></li>
59
+ </ul>
60
+ </div>
61
+
62
+ <!-- Legal -->
63
+ <div>
64
+ <h3 class="text-lg font-semibold text-white mb-4">Legal</h3>
65
+ <ul class="space-y-2">
66
+ <li><a href="/privacy" class="footer-link">Privacy Policy</a></li>
67
+ <li><a href="/terms" class="footer-link">Terms of Service</a></li>
68
+ <li><a href="/security" class="footer-link">Security</a></li>
69
+ <li><a href="/compliance" class="footer-link">Compliance</a></li>
70
+ </ul>
71
+ </div>
72
+ </div>
73
+
74
+ <div class="border-t border-gray-600 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
75
+ <p class="text-gray-400 text-sm">&copy; 2024 DroidDrop. All rights reserved.</p>
76
+ <div class="flex items-center space-x-6 mt-4 md:mt-0">
77
+ <span class="text-gray-400 text-sm">Made with <i data-feather="heart" class="w-4 h-4 inline text-red-400"></i> for developers</span>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </footer>
82
+ `;
83
+
84
+ // Initialize feather icons in shadow DOM
85
+ setTimeout(() => {
86
+ if (this.shadowRoot.querySelector('[data-feather]')) {
87
+ feather.replace({}, this.shadowRoot);
88
+ }
89
+ }, 100);
90
+ }
91
+ }
92
+
93
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ position: fixed;
10
+ top: 0;
11
+ left: 0;
12
+ z-index: 1000;
13
+ }
14
+ .navbar {
15
+ background: rgba(255, 255, 255, 0.95);
16
+ backdrop-filter: blur(10px);
17
+ border-bottom: 1px solid rgba(226, 232, 240, 0.8);
18
+ transition: all 0.3s ease;
19
+ }
20
+ .navbar-scrolled {
21
+ background: rgba(255, 255, 255, 0.98);
22
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
23
+ }
24
+ .nav-link {
25
+ position: relative;
26
+ transition: color 0.3s ease;
27
+ }
28
+ .nav-link:hover {
29
+ color: #3b82f6;
30
+ }
31
+ .nav-link::after {
32
+ content: '';
33
+ position: absolute;
34
+ width: 0;
35
+ height: 2px;
36
+ bottom: -4px;
37
+ left: 0;
38
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
39
+ transition: width 0.3s ease;
40
+ }
41
+ .nav-link:hover::after {
42
+ width: 100%;
43
+ }
44
+ .mobile-menu {
45
+ transform: translateX(-100%);
46
+ transition: transform 0.3s ease-in-out;
47
+ }
48
+ .mobile-menu.open {
49
+ transform: translateX(0);
50
+ }
51
+ @media (max-width: 768px) {
52
+ .desktop-nav {
53
+ display: none;
54
+ }
55
+ }
56
+ </style>
57
+ <nav class="navbar">
58
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
59
+ <div class="flex justify-between items-center py-4">
60
+ <!-- Logo -->
61
+ <a href="/" class="flex items-center space-x-2">
62
+ <i data-feather="smartphone" class="w-6 h-6 text-blue-600"></i>
63
+ <span class="text-xl font-bold text-gray-900">DroidDrop</span>
64
+ </a>
65
+
66
+ <!-- Desktop Navigation -->
67
+ <div class="desktop-nav hidden md:flex items-center space-x-8">
68
+ <a href="#features" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Features</a>
69
+ <a href="#emulators" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Emulators</a>
70
+ <a href="/pricing" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Pricing</a>
71
+ <a href="/docs" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Docs</a>
72
+ <div class="flex items-center space-x-4">
73
+ <a href="/login" class="text-gray-700 hover:text-blue-600 font-medium">Sign In</a>
74
+ <a href="/register" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg font-medium transition-all duration-300">
75
+ Get Started
76
+ </a>
77
+ </div>
78
+ </div>
79
+
80
+ <!-- Mobile menu button -->
81
+ <button class="md:hidden p-2 rounded-lg hover:bg-gray-100 transition-colors duration-200">
82
+ <i data-feather="menu" class="w-6 h-6"></i>
83
+ </button>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </div>
88
+
89
+ <!-- Mobile Navigation -->
90
+ <div class="mobile-menu fixed inset-y-0 left-0 w-64 bg-white shadow-xl z-50 md:hidden">
91
+ <div class="p-6">
92
+ <div class="flex items-center justify-between mb-8">
93
+ <a href="/" class="flex items-center space-x-2">
94
+ <i data-feather="smartphone" class="w-6 h-6 text-blue-600"></i>
95
+ <span class="text-xl font-bold text-gray-900">DroidDrop</span>
96
+ </a>
97
+ <button class="close-menu p-2 rounded-lg hover:bg-gray-100">
98
+ <i data-feather="x" class="w-6 h-6"></i>
99
+ </button>
100
+ </div>
101
+ <div class="space-y-6">
102
+ <a href="#features" class="block nav-link text-gray-700 hover:text-blue-600 font-medium">Features</a>
103
+ <a href="#emulators" class="block nav-link text-gray-700 hover:text-blue-600 font-medium">Emulators</a>
104
+ <a href="/pricing" class="block nav-link text-gray-700 hover:text-blue-600 font-medium">Pricing</a>
105
+ <a href="/docs" class="block nav-link text-gray-700 hover:text-blue-600 font-medium">Docs</a>
106
+ <div class="pt-4 border-t border-gray-200 space-y-4">
107
+ <a href="/login" class="block text-gray-700 hover:text-blue-600 font-medium">Sign In</a>
108
+ <a href="/register" class="block bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg font-medium transition-all duration-300">
109
+ Get Started
110
+ </a>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ </nav>
116
+ `;
117
+
118
+ this.setupEventListeners();
119
+ this.handleScroll();
120
+ }
121
+
122
+ setupEventListeners() {
123
+ const menuButton = this.shadowRoot.querySelector('.md\\:hidden button');
124
+ const closeButton = this.shadowRoot.querySelector('.close-menu');
125
+ const mobileMenu = this.shadowRoot.querySelector('.mobile-menu');
126
+
127
+ menuButton.addEventListener('click', () => {
128
+ mobileMenu.classList.add('open');
129
+ });
130
+
131
+ closeButton.addEventListener('click', () => {
132
+ mobileMenu.classList.remove('open');
133
+ });
134
+
135
+ // Close mobile menu when clicking on links
136
+ const mobileLinks = this.shadowRoot.querySelectorAll('.mobile-menu a');
137
+ mobileLinks.forEach(link => {
138
+ link.addEventListener('click', () => {
139
+ mobileMenu.classList.remove('open');
140
+ });
141
+ });
142
+ }
143
+
144
+ handleScroll() {
145
+ const navbar = this.shadowRoot.querySelector('.navbar');
146
+
147
+ window.addEventListener('scroll', utils.debounce(() => {
148
+ if (window.scrollY > 50) {
149
+ navbar.classList.add('navbar-scrolled');
150
+ } else {
151
+ navbar.classList.remove('navbar-scrolled');
152
+ }
153
+ }, 10));
154
+ }
155
+ }
156
+
157
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,179 @@
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>DroidDrop - Disposable Android Emulators</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-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
14
+ <custom-navbar></custom-navbar>
15
+
16
+ <!-- Hero Section -->
17
+ <section class="py-20 px-4">
18
+ <div class="max-w-7xl mx-auto text-center">
19
+ <h1 class="text-5xl md:text-7xl font-bold text-gray-900 mb-6">
20
+ Test Android Apps
21
+ <span class="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-purple-600">Anywhere</span>
22
+ </h1>
23
+ <p class="text-xl md:text-2xl text-gray-600 mb-12 max-w-3xl mx-auto">
24
+ Launch disposable Android virtual machines in seconds. No downloads, no setup, no cleanup.
25
+ </p>
26
+ <div class="flex flex-col sm:flex-row gap-4 justify-center">
27
+ <a href="#emulators" class="bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 rounded-xl font-semibold text-lg transition-all duration-300 transform hover:scale-105 shadow-lg">
28
+ <i data-feather="play" class="inline w-5 h-5 mr-2"></i>
29
+ Launch Emulator
30
+ </a>
31
+ <a href="#features" class="border-2 border-blue-600 text-blue-600 hover:bg-blue-600 hover:text-white px-8 py-4 rounded-xl font-semibold text-lg transition-all duration-300">
32
+ <i data-feather="info" class="inline w-5 h-5 mr-2"></i>
33
+ Learn More
34
+ </a>
35
+ </div>
36
+ </div>
37
+ </section>
38
+
39
+ <!-- Features Section -->
40
+ <section id="features" class="py-20 bg-white">
41
+ <div class="max-w-7xl mx-auto px-4">
42
+ <h2 class="text-4xl font-bold text-center text-gray-900 mb-16">Why Choose DroidDrop?</h2>
43
+ <div class="grid md:grid-cols-3 gap-8">
44
+ <div class="text-center p-8 rounded-2xl bg-gradient-to-br from-blue-50 to-indigo-50 hover:shadow-xl transition-all duration-300">
45
+ <div class="w-16 h-16 bg-blue-600 rounded-full flex items-center justify-center mx-auto mb-6">
46
+ <i data-feather="zap" class="text-white w-8 h-8"></i>
47
+ </div>
48
+ <h3 class="text-xl font-bold text-gray-900 mb-4">Lightning Fast</h3>
49
+ <p class="text-gray-600">Boot Android VMs in under 30 seconds. Test apps instantly without waiting.</p>
50
+ </div>
51
+ <div class="text-center p-8 rounded-2xl bg-gradient-to-br from-purple-50 to-pink-50 hover:shadow-xl transition-all duration-300">
52
+ <div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-6">
53
+ <i data-feather="shield" class="text-white w-8 h-8"></i>
54
+ </div>
55
+ <h3 class="text-xl font-bold text-gray-900 mb-4">Completely Secure</h3>
56
+ <p class="text-gray-600">Isolated environments that self-destruct after use. Your data stays safe.</p>
57
+ </div>
58
+ <div class="text-center p-8 rounded-2xl bg-gradient-to-br from-green-50 to-teal-50 hover:shadow-xl transition-all duration-300">
59
+ <div class="w-16 h-16 bg-green-600 rounded-full flex items-center justify-center mx-auto mb-6">
60
+ <i data-feather="cpu" class="text-white w-8 h-8"></i>
61
+ </div>
62
+ <h3 class="text-xl font-bold text-gray-900 mb-4">Multiple Devices</h3>
63
+ <p class="text-gray-600">Test on various Android versions and screen sizes from phones to tablets.</p>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </section>
68
+
69
+ <!-- Emulators Section -->
70
+ <section id="emulators" class="py-20 bg-gradient-to-br from-gray-50 to-blue-50">
71
+ <div class="max-w-7xl mx-auto px-4">
72
+ <h2 class="text-4xl font-bold text-center text-gray-900 mb-4">Available Emulators</h2>
73
+ <p class="text-xl text-gray-600 text-center mb-16">Choose your disposable Android environment</p>
74
+
75
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
76
+ <!-- Emulator Card 1 -->
77
+ <div class="bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2">
78
+ <div class="p-6">
79
+ <div class="flex items-center justify-between mb-4">
80
+ <h3 class="text-xl font-bold text-gray-900">Pixel 6 Pro</h3>
81
+ <span class="bg-green-100 text-green-800 text-sm px-3 py-1 rounded-full">Popular</span>
82
+ </div>
83
+ <img src="http://static.photos/technology/640x360/1" alt="Pixel 6 Pro" class="w-full h-48 object-cover rounded-xl mb-4">
84
+ <div class="space-y-3 mb-6">
85
+ <div class="flex items-center text-gray-600">
86
+ <i data-feather="smartphone" class="w-4 h-4 mr-2"></i>
87
+ <span>Android 13</span>
88
+ </div>
89
+ <div class="flex items-center text-gray-600">
90
+ <i data-feather="monitor" class="w-4 h-4 mr-2"></i>
91
+ <span>1440x3120px</span>
92
+ </div>
93
+ <div class="flex items-center text-gray-600">
94
+ <i data-feather="clock" class="w-4 h-4 mr-2"></i>
95
+ <span>4GB RAM</span>
96
+ </div>
97
+ </div>
98
+ <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-xl font-semibold transition-all duration-300">
99
+ Launch Emulator
100
+ </button>
101
+ </div>
102
+ </div>
103
+
104
+ <!-- Emulator Card 2 -->
105
+ <div class="bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2">
106
+ <div class="p-6">
107
+ <h3 class="text-xl font-bold text-gray-900 mb-4">Samsung Galaxy S23</h3>
108
+ <img src="http://static.photos/technology/640x360/2" alt="Samsung Galaxy S23" class="w-full h-48 object-cover rounded-xl mb-4">
109
+ <div class="space-y-3 mb-6">
110
+ <div class="flex items-center text-gray-600">
111
+ <i data-feather="smartphone" class="w-4 h-4 mr-2"></i>
112
+ <span>Android 14</span>
113
+ </div>
114
+ <div class="flex items-center text-gray-600">
115
+ <i data-feather="monitor" class="w-4 h-4 mr-2"></i>
116
+ <span>1080x2340px</span>
117
+ </div>
118
+ <div class="flex items-center text-gray-600">
119
+ <i data-feather="clock" class="w-4 h-4 mr-2"></i>
120
+ <span>8GB RAM</span>
121
+ </div>
122
+ </div>
123
+ <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-xl font-semibold transition-all duration-300">
124
+ Launch Emulator
125
+ </button>
126
+ </div>
127
+ </div>
128
+
129
+ <!-- Emulator Card 3 -->
130
+ <div class="bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2">
131
+ <div class="p-6">
132
+ <h3 class="text-xl font-bold text-gray-900 mb-4">OnePlus 11</h3>
133
+ <img src="http://static.photos/technology/640x360/3" alt="OnePlus 11" class="w-full h-48 object-cover rounded-xl mb-4">
134
+ <div class="space-y-3 mb-6">
135
+ <div class="flex items-center text-gray-600">
136
+ <i data-feather="smartphone" class="w-4 h-4 mr-2"></i>
137
+ <span>Android 12</span>
138
+ </div>
139
+ <div class="flex items-center text-gray-600">
140
+ <i data-feather="monitor" class="w-4 h-4 mr-2"></i>
141
+ <span>1440x3216px</span>
142
+ </div>
143
+ <div class="flex items-center text-gray-600">
144
+ <i data-feather="clock" class="w-4 h-4 mr-2"></i>
145
+ <span>6GB RAM</span>
146
+ </div>
147
+ </div>
148
+ <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-xl font-semibold transition-all duration-300">
149
+ Launch Emulator
150
+ </button>
151
+ </div>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </section>
156
+
157
+ <!-- CTA Section -->
158
+ <section class="py-20 bg-gradient-to-r from-blue-600 to-purple-600 text-white">
159
+ <div class="max-w-4xl mx-auto text-center px-4">
160
+ <h2 class="text-4xl font-bold mb-6">Ready to Test Your Apps?</h2>
161
+ <p class="text-xl mb-8 opacity-90">Join thousands of developers testing Android apps with DroidDrop</p>
162
+ <button class="bg-white text-blue-600 hover:bg-gray-100 px-8 py-4 rounded-xl font-semibold text-lg transition-all duration-300 transform hover:scale-105">
163
+ <i data-feather="user-plus" class="inline w-5 h-5 mr-2"></i>
164
+ Get Started Free
165
+ </button>
166
+ </div>
167
+ </section>
168
+
169
+ <custom-footer></custom-footer>
170
+
171
+ <script src="components/navbar.js"></script>
172
+ <script src="components/footer.js"></script>
173
+ <script src="script.js"></script>
174
+ <script>
175
+ feather.replace();
176
+ </script>
177
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
178
+ </body>
179
+ </html>
script.js ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Main JavaScript for DroidDrop
2
+
3
+ class DroidDropApp {
4
+ constructor() {
5
+ this.init();
6
+ }
7
+
8
+ init() {
9
+ this.setupEventListeners();
10
+ this.initializeComponents();
11
+ this.loadEmulators();
12
+ }
13
+
14
+ setupEventListeners() {
15
+ // Launch emulator buttons
16
+ document.addEventListener('click', (e) => {
17
+ if (e.target.closest('button') && e.target.closest('button').textContent.includes('Launch Emulator')) {
18
+ this.handleEmulatorLaunch(e);
19
+ }
20
+ });
21
+
22
+ // Smooth scroll for anchor links
23
+ document.addEventListener('click', (e) => {
24
+ if (e.target.matches('a[href^="#"]')) {
25
+ e.preventDefault();
26
+ const target = document.querySelector(e.target.getAttribute('href'));
27
+ if (target) {
28
+ target.scrollIntoView({ behavior: 'smooth' });
29
+ }
30
+ }
31
+ });
32
+ }
33
+
34
+ initializeComponents() {
35
+ // Initialize any third-party libraries or components
36
+ console.log('DroidDrop initialized');
37
+ }
38
+
39
+ async loadEmulators() {
40
+ try {
41
+ // In a real implementation, this would fetch from an API
42
+ const emulators = await this.fetchEmulators();
43
+ this.renderEmulators(emulators);
44
+ } catch (error) {
45
+ console.error('Failed to load emulators:', error);
46
+ }
47
+ }
48
+
49
+ async fetchEmulators() {
50
+ // Mock data - in production, this would be an API call
51
+ return [
52
+ {
53
+ id: 1,
54
+ name: 'Pixel 6 Pro',
55
+ androidVersion: 'Android 13',
56
+ resolution: '1440x3120px',
57
+ ram: '4GB',
58
+ image: 'http://static.photos/technology/640x360/1',
59
+ popular: true
60
+ },
61
+ {
62
+ id: 2,
63
+ name: 'Samsung Galaxy S23',
64
+ androidVersion: 'Android 14',
65
+ resolution: '1080x2340px',
66
+ ram: '8GB',
67
+ image: 'http://static.photos/technology/640x360/2',
68
+ popular: false
69
+ },
70
+ {
71
+ id: 3,
72
+ name: 'OnePlus 11',
73
+ androidVersion: 'Android 12',
74
+ resolution: '1440x3216px',
75
+ ram: '6GB',
76
+ image: 'http://static.photos/technology/640x360/3',
77
+ popular: false
78
+ }
79
+ ];
80
+ }
81
+
82
+ renderEmulators(emulators) {
83
+ // This would update the emulator cards with dynamic data
84
+ console.log('Emulators loaded:', emulators);
85
+ }
86
+
87
+ handleEmulatorLaunch(event) {
88
+ const button = event.target.closest('button');
89
+ const card = button.closest('.bg-white');
90
+ const deviceName = card.querySelector('h3').textContent;
91
+
92
+ // Show loading state
93
+ const originalText = button.textContent;
94
+ button.innerHTML = '<div class="loading-spinner mx-auto"></div>';
95
+ button.disabled = true;
96
+
97
+ // Simulate emulator launch
98
+ setTimeout(() => {
99
+ button.innerHTML = originalText;
100
+ button.disabled = false;
101
+
102
+ // Show success message
103
+ this.showNotification(`Launching ${deviceName} emulator...`, 'success');
104
+
105
+ // In a real implementation, this would redirect to the emulator page
106
+ // window.location.href = `/emulator/${deviceName.toLowerCase().replace(/\s+/g, '-')}`;
107
+ }, 2000);
108
+ }
109
+
110
+ showNotification(message, type = 'info') {
111
+ // Create and show a toast notification
112
+ const notification = document.createElement('div');
113
+ notification.className = `fixed top-4 right-4 p-4 rounded-lg shadow-lg z-50 transform transition-all duration-300 ${
114
+ type === 'success' ? 'bg-green-500 text-white' :
115
+ type === 'error' ? 'bg-red-500 text-white' :
116
+ 'bg-blue-500 text-white'
117
+ }`;
118
+ notification.textContent = message;
119
+
120
+ document.body.appendChild(notification);
121
+
122
+ // Remove after 3 seconds
123
+ setTimeout(() => {
124
+ notification.remove();
125
+ }, 3000);
126
+ }
127
+ }
128
+
129
+ // Initialize the app when DOM is loaded
130
+ document.addEventListener('DOMContentLoaded', () => {
131
+ new DroidDropApp();
132
+ });
133
+
134
+ // Utility functions
135
+ const utils = {
136
+ formatDeviceName: (name) => {
137
+ return name.replace(/\s+/g, '-').toLowerCase();
138
+ },
139
+
140
+ getRandomColor: () => {
141
+ const colors = ['blue', 'purple', 'green', 'red', 'yellow'];
142
+ return colors[Math.floor(Math.random() * colors.length)];
143
+ },
144
+
145
+ debounce: (func, wait) => {
146
+ let timeout;
147
+ return function executedFunction(...args) {
148
+ const later = () => {
149
+ clearTimeout(timeout);
150
+ func(...args);
151
+ };
152
+ clearTimeout(timeout);
153
+ timeout = setTimeout(later, wait);
154
+ };
155
+ }
156
+ };
157
+
158
+ // Export for use in other modules
159
+ window.DroidDropApp = DroidDropApp;
160
+ window.utils = utils;
style.css CHANGED
@@ -1,28 +1,108 @@
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
+ /* Custom styles for DroidDrop */
2
+
3
+ /* Smooth scrolling */
4
+ html {
5
+ scroll-behavior: smooth;
6
+ }
7
+
8
+ /* Custom gradient animations */
9
+ @keyframes gradient-shift {
10
+ 0% {
11
+ background-position: 0% 50%;
12
+ }
13
+ 50% {
14
+ background-position: 100% 50%;
15
+ }
16
+ 100% {
17
+ background-position: 0% 50%;
18
+ }
19
+ }
20
+
21
+ .animated-gradient {
22
+ background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
23
+ background-size: 400% 400%;
24
+ animation: gradient-shift 15s ease infinite;
25
+ }
26
+
27
+ /* Custom card hover effects */
28
+ .card-hover {
29
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
30
+ }
31
+
32
+ .card-hover:hover {
33
+ transform: translateY(-8px);
34
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
35
+ }
36
+
37
+ /* Custom button animations */
38
+ .btn-primary {
39
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
40
+ transition: all 0.3s ease;
41
+ }
42
+
43
+ .btn-primary:hover {
44
+ transform: translateY(-2px);
45
+ box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
46
+ }
47
+
48
+ /* Loading animation */
49
+ .loading-spinner {
50
+ border: 4px solid #f3f4f6;
51
+ border-top: 4px solid #3b82f6;
52
+ border-radius: 50%;
53
+ width: 40px;
54
+ height: 40px;
55
+ animation: spin 1s linear infinite;
56
+ }
57
+
58
+ @keyframes spin {
59
+ 0% { transform: rotate(0deg); }
60
+ 100% { transform: rotate(360deg); }
61
+ }
62
+
63
+ /* Custom scrollbar */
64
+ ::-webkit-scrollbar {
65
+ width: 8px;
66
+ }
67
+
68
+ ::-webkit-scrollbar-track {
69
+ background: #f1f5f9;
70
  }
71
 
72
+ ::-webkit-scrollbar-thumb {
73
+ background: #cbd5e1;
74
+ border-radius: 4px;
75
  }
76
 
77
+ ::-webkit-scrollbar-thumb:hover {
78
+ background: #94a3b8;
 
 
 
79
  }
80
 
81
+ /* Mobile menu animation */
82
+ .mobile-menu-enter {
83
+ transform: translateX(-100%);
 
 
 
84
  }
85
 
86
+ .mobile-menu-enter-active {
87
+ transform: translateX(0%);
88
+ transition: transform 300ms ease-in-out;
89
  }
90
+
91
+ .mobile-menu-exit {
92
+ transform: translateX(0%);
93
+ }
94
+
95
+ .mobile-menu-exit-active {
96
+ transform: translateX(-100%);
97
+ transition: transform 300ms ease-in-out;
98
+ }
99
+
100
+ /* Emulator screen glow effect */
101
+ .emulator-screen {
102
+ box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
103
+ transition: box-shadow 0.3s ease;
104
+ }
105
+
106
+ .emulator-screen:hover {
107
+ box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
108
+ }