creative888 commited on
Commit
42ab03e
·
verified ·
1 Parent(s): 852b527

https://replit.com/~

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +192 -0
  3. components/navbar.js +194 -0
  4. index.html +204 -19
  5. script.js +46 -0
  6. style.css +52 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Replit Clone
3
- emoji: 🐨
4
- colorFrom: pink
5
- colorTo: pink
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: Replit Clone 🌀
3
+ colorFrom: gray
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,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ margin-top: 4rem;
9
+ }
10
+
11
+ * {
12
+ margin: 0;
13
+ padding: 0;
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ .footer {
18
+ background-color: #1F2937;
19
+ color: #d1d5db;
20
+ padding: 3rem 1rem 2rem;
21
+ }
22
+
23
+ .container {
24
+ max-width: 1280px;
25
+ margin: 0 auto;
26
+ }
27
+
28
+ .footer-grid {
29
+ display: grid;
30
+ grid-template-columns: repeat(4, 1fr);
31
+ gap: 2rem;
32
+ margin-bottom: 3rem;
33
+ }
34
+
35
+ .footer-logo {
36
+ color: white;
37
+ font-size: 1.5rem;
38
+ font-weight: 700;
39
+ margin-bottom: 1rem;
40
+ display: flex;
41
+ align-items: center;
42
+ gap: 0.75rem;
43
+ }
44
+
45
+ .footer-description {
46
+ color: #9ca3af;
47
+ font-size: 0.875rem;
48
+ line-height: 1.5;
49
+ margin-bottom: 1.5rem;
50
+ }
51
+
52
+ .social-links {
53
+ display: flex;
54
+ gap: 1rem;
55
+ }
56
+
57
+ .social-link {
58
+ color: #9ca3af;
59
+ transition: color 0.2s;
60
+ }
61
+
62
+ .social-link:hover {
63
+ color: white;
64
+ }
65
+
66
+ .footer-heading {
67
+ color: white;
68
+ font-weight: 600;
69
+ margin-bottom: 1.5rem;
70
+ font-size: 1rem;
71
+ }
72
+
73
+ .footer-links {
74
+ list-style: none;
75
+ }
76
+
77
+ .footer-link {
78
+ margin-bottom: 0.75rem;
79
+ }
80
+
81
+ .footer-link a {
82
+ color: #9ca3af;
83
+ text-decoration: none;
84
+ font-size: 0.875rem;
85
+ transition: color 0.2s;
86
+ }
87
+
88
+ .footer-link a:hover {
89
+ color: white;
90
+ }
91
+
92
+ .copyright {
93
+ border-top: 1px solid #374151;
94
+ padding-top: 2rem;
95
+ text-align: center;
96
+ color: #9ca3af;
97
+ font-size: 0.875rem;
98
+ }
99
+
100
+ @media (max-width: 768px) {
101
+ .footer-grid {
102
+ grid-template-columns: repeat(2, 1fr);
103
+ }
104
+ }
105
+
106
+ @media (max-width: 480px) {
107
+ .footer-grid {
108
+ grid-template-columns: 1fr;
109
+ }
110
+ }
111
+ </style>
112
+
113
+ <footer class="footer">
114
+ <div class="container">
115
+ <div class="footer-grid">
116
+ <div>
117
+ <div class="footer-logo">
118
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
119
+ <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
120
+ <path d="M2 17L12 22L22 17" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
121
+ <path d="M2 12L12 17L22 12" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
122
+ </svg>
123
+ Replit
124
+ </div>
125
+ <p class="footer-description">
126
+ Build, collaborate, and ship software faster with our cloud-based IDE.
127
+ </p>
128
+ <div class="social-links">
129
+ <a href="#" class="social-link">
130
+ <i data-feather="twitter"></i>
131
+ </a>
132
+ <a href="#" class="social-link">
133
+ <i data-feather="github"></i>
134
+ </a>
135
+ <a href="#" class="social-link">
136
+ <i data-feather="youtube"></i>
137
+ </a>
138
+ <a href="#" class="social-link">
139
+ <i data-feather="linkedin"></i>
140
+ </a>
141
+ </div>
142
+ </div>
143
+
144
+ <div>
145
+ <h3 class="footer-heading">Product</h3>
146
+ <ul class="footer-links">
147
+ <li class="footer-link"><a href="#">Features</a></li>
148
+ <li class="footer-link"><a href="#">Templates</a></li>
149
+ <li class="footer-link"><a href="#">Languages</a></li>
150
+ <li class="footer-link"><a href="#">Mobile App</a></li>
151
+ <li class="footer-link"><a href="#">Pricing</a></li>
152
+ </ul>
153
+ </div>
154
+
155
+ <div>
156
+ <h3 class="footer-heading">Resources</h3>
157
+ <ul class="footer-links">
158
+ <li class="footer-link"><a href="#">Documentation</a></li>
159
+ <li class="footer-link"><a href="#">Tutorials</a></li>
160
+ <li class="footer-link"><a href="#">Blog</a></li>
161
+ <li class="footer-link"><a href="#">Community</a></li>
162
+ <li class="footer-link"><a href="#">Support</a></li>
163
+ </ul>
164
+ </div>
165
+
166
+ <div>
167
+ <h3 class="footer-heading">Company</h3>
168
+ <ul class="footer-links">
169
+ <li class="footer-link"><a href="#">About</a></li>
170
+ <li class="footer-link"><a href="#">Careers</a></li>
171
+ <li class="footer-link"><a href="#">Terms of Service</a></li>
172
+ <li class="footer-link"><a href="#">Privacy Policy</a></li>
173
+ <li class="footer-link"><a href="#">Contact</a></li>
174
+ </ul>
175
+ </div>
176
+ </div>
177
+
178
+ <div class="copyright">
179
+ &copy; ${new Date().getFullYear()} Replit Clone. All rights reserved.
180
+ </div>
181
+ </div>
182
+ </footer>
183
+ `;
184
+
185
+ // Initialize feather icons in shadow DOM
186
+ import('https://unpkg.com/feather-icons').then(() => {
187
+ feather.replace();
188
+ });
189
+ }
190
+ }
191
+
192
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar 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
+ .navbar {
17
+ background-color: white;
18
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
19
+ padding: 0.75rem 1rem;
20
+ position: sticky;
21
+ top: 0;
22
+ z-index: 50;
23
+ }
24
+
25
+ .container {
26
+ max-width: 1280px;
27
+ margin: 0 auto;
28
+ display: flex;
29
+ justify-content: space-between;
30
+ align-items: center;
31
+ }
32
+
33
+ .logo {
34
+ display: flex;
35
+ align-items: center;
36
+ gap: 0.75rem;
37
+ font-weight: 700;
38
+ font-size: 1.25rem;
39
+ color: #0088CC;
40
+ text-decoration: none;
41
+ }
42
+
43
+ .nav-links {
44
+ display: flex;
45
+ gap: 1.5rem;
46
+ align-items: center;
47
+ }
48
+
49
+ .nav-link {
50
+ color: #4b5563;
51
+ text-decoration: none;
52
+ font-weight: 500;
53
+ font-size: 0.875rem;
54
+ transition: color 0.2s;
55
+ }
56
+
57
+ .nav-link:hover {
58
+ color: #0088CC;
59
+ }
60
+
61
+ .nav-actions {
62
+ display: flex;
63
+ gap: 1rem;
64
+ align-items: center;
65
+ }
66
+
67
+ .search-bar {
68
+ display: flex;
69
+ align-items: center;
70
+ background-color: #f9fafb;
71
+ border-radius: 0.5rem;
72
+ padding: 0.5rem 0.75rem;
73
+ width: 240px;
74
+ }
75
+
76
+ .search-bar input {
77
+ background: transparent;
78
+ border: none;
79
+ outline: none;
80
+ width: 100%;
81
+ font-size: 0.875rem;
82
+ color: #374151;
83
+ }
84
+
85
+ .search-bar input::placeholder {
86
+ color: #9ca3af;
87
+ }
88
+
89
+ .btn {
90
+ padding: 0.5rem 1rem;
91
+ border-radius: 0.5rem;
92
+ font-weight: 500;
93
+ font-size: 0.875rem;
94
+ cursor: pointer;
95
+ transition: all 0.2s;
96
+ border: none;
97
+ }
98
+
99
+ .btn-primary {
100
+ background-color: #0088CC;
101
+ color: white;
102
+ }
103
+
104
+ .btn-primary:hover {
105
+ background-color: #0077b3;
106
+ }
107
+
108
+ .btn-outline {
109
+ background-color: transparent;
110
+ border: 1px solid #d1d5db;
111
+ color: #374151;
112
+ }
113
+
114
+ .btn-outline:hover {
115
+ background-color: #f9fafb;
116
+ }
117
+
118
+ .user-menu {
119
+ display: flex;
120
+ align-items: center;
121
+ gap: 0.75rem;
122
+ cursor: pointer;
123
+ }
124
+
125
+ .avatar {
126
+ width: 32px;
127
+ height: 32px;
128
+ border-radius: 50%;
129
+ background-color: #e5e7eb;
130
+ display: flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ font-weight: 600;
134
+ color: #4b5563;
135
+ }
136
+
137
+ @media (max-width: 768px) {
138
+ .nav-links {
139
+ display: none;
140
+ }
141
+
142
+ .search-bar {
143
+ width: 160px;
144
+ }
145
+ }
146
+ </style>
147
+
148
+ <nav class="navbar">
149
+ <div class="container">
150
+ <a href="#" class="logo">
151
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
152
+ <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="#0088CC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
153
+ <path d="M2 17L12 22L22 17" stroke="#0088CC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
154
+ <path d="M2 12L12 17L22 12" stroke="#0088CC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
155
+ </svg>
156
+ Replit
157
+ </a>
158
+
159
+ <div class="nav-links">
160
+ <a href="#" class="nav-link">Templates</a>
161
+ <a href="#" class="nav-link">Community</a>
162
+ <a href="#" class="nav-link">Blog</a>
163
+ <a href="#" class="nav-link">Pricing</a>
164
+ </div>
165
+
166
+ <div class="nav-actions">
167
+ <div class="search-bar">
168
+ <i data-feather="search" style="width: 16px; height: 16px; color: #9ca3af;"></i>
169
+ <input type="text" placeholder="Search...">
170
+ </div>
171
+ <button class="btn btn-outline">
172
+ <i data-feather="book" style="width: 16px; height: 16px;"></i>
173
+ Docs
174
+ </button>
175
+ <button class="btn btn-primary">
176
+ <i data-feather="plus" style="width: 16px; height: 16px;"></i>
177
+ Create
178
+ </button>
179
+ <div class="user-menu">
180
+ <div class="avatar">U</div>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </nav>
185
+ `;
186
+
187
+ // Initialize feather icons in shadow DOM
188
+ import('https://unpkg.com/feather-icons').then(() => {
189
+ feather.replace();
190
+ });
191
+ }
192
+ }
193
+
194
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,204 @@
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>Replit Clone</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script>
11
+ tailwind.config = {
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: '#0088CC',
16
+ secondary: '#1F2937'
17
+ }
18
+ }
19
+ }
20
+ }
21
+ </script>
22
+ </head>
23
+ <body class="bg-gray-50">
24
+ <custom-navbar></custom-navbar>
25
+
26
+ <div class="container mx-auto px-4 py-8">
27
+ <div class="flex flex-col lg:flex-row gap-8">
28
+ <!-- Main Content -->
29
+ <div class="lg:w-3/4">
30
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
31
+ <h1 class="text-3xl font-bold text-gray-800 mb-2">Welcome to Replit Clone</h1>
32
+ <p class="text-gray-600 mb-6">Build, collaborate, and ship software faster with our cloud-based IDE</p>
33
+
34
+ <div class="flex flex-wrap gap-4 mb-8">
35
+ <button class="bg-primary hover:bg-blue-600 text-white px-6 py-3 rounded-lg flex items-center gap-2 transition-all">
36
+ <i data-feather="plus"></i>
37
+ Create Repl
38
+ </button>
39
+ <button class="bg-secondary hover:bg-gray-800 text-white px-6 py-3 rounded-lg flex items-center gap-2 transition-all">
40
+ <i data-feather="folder"></i>
41
+ Import from GitHub
42
+ </button>
43
+ </div>
44
+ </div>
45
+
46
+ <!-- Templates Section -->
47
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
48
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">Popular Templates</h2>
49
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
50
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
51
+ <div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16 mb-4"></div>
52
+ <h3 class="font-bold text-lg mb-2">Python Starter</h3>
53
+ <p class="text-gray-600 text-sm mb-4">Begin your Python journey with this template</p>
54
+ <button class="text-primary font-medium flex items-center gap-1">
55
+ Use Template
56
+ <i data-feather="arrow-right" class="w-4 h-4"></i>
57
+ </button>
58
+ </div>
59
+
60
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
61
+ <div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16 mb-4"></div>
62
+ <h3 class="font-bold text-lg mb-2">Web Development</h3>
63
+ <p class="text-gray-600 text-sm mb-4">HTML, CSS, and JS template for web projects</p>
64
+ <button class="text-primary font-medium flex items-center gap-1">
65
+ Use Template
66
+ <i data-feather="arrow-right" class="w-4 h-4"></i>
67
+ </button>
68
+ </div>
69
+
70
+ <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
71
+ <div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16 mb-4"></div>
72
+ <h3 class="font-bold text-lg mb-2">Node.js API</h3>
73
+ <p class="text-gray-600 text-sm mb-4">Build REST APIs with Express.js</p>
74
+ <button class="text-primary font-medium flex items-center gap-1">
75
+ Use Template
76
+ <i data-feather="arrow-right" class="w-4 h-4"></i>
77
+ </button>
78
+ </div>
79
+ </div>
80
+ </div>
81
+
82
+ <!-- Recent Projects -->
83
+ <div class="bg-white rounded-xl shadow-md p-6">
84
+ <div class="flex justify-between items-center mb-6">
85
+ <h2 class="text-2xl font-bold text-gray-800">Recent Projects</h2>
86
+ <a href="#" class="text-primary font-medium">View All</a>
87
+ </div>
88
+ <div class="space-y-4">
89
+ <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg hover:bg-gray-50">
90
+ <div class="flex items-center gap-4">
91
+ <div class="bg-blue-100 p-3 rounded-lg">
92
+ <i data-feather="code" class="text-primary"></i>
93
+ </div>
94
+ <div>
95
+ <h3 class="font-bold">My Website</h3>
96
+ <p class="text-gray-600 text-sm">Last edited 2 hours ago</p>
97
+ </div>
98
+ </div>
99
+ <button class="text-gray-500 hover:text-gray-700">
100
+ <i data-feather="more-vertical"></i>
101
+ </button>
102
+ </div>
103
+
104
+ <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg hover:bg-gray-50">
105
+ <div class="flex items-center gap-4">
106
+ <div class="bg-green-100 p-3 rounded-lg">
107
+ <i data-feather="database" class="text-green-600"></i>
108
+ </div>
109
+ <div>
110
+ <h3 class="font-bold">Data Analysis</h3>
111
+ <p class="text-gray-600 text-sm">Last edited yesterday</p>
112
+ </div>
113
+ </div>
114
+ <button class="text-gray-500 hover:text-gray-700">
115
+ <i data-feather="more-vertical"></i>
116
+ </button>
117
+ </div>
118
+
119
+ <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg hover:bg-gray-50">
120
+ <div class="flex items-center gap-4">
121
+ <div class="bg-purple-100 p-3 rounded-lg">
122
+ <i data-feather="smartphone" class="text-purple-600"></i>
123
+ </div>
124
+ <div>
125
+ <h3 class="font-bold">Mobile App</h3>
126
+ <p class="text-gray-600 text-sm">Last edited 3 days ago</p>
127
+ </div>
128
+ </div>
129
+ <button class="text-gray-500 hover:text-gray-700">
130
+ <i data-feather="more-vertical"></i>
131
+ </button>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </div>
136
+
137
+ <!-- Sidebar -->
138
+ <div class="lg:w-1/4">
139
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
140
+ <h3 class="font-bold text-lg mb-4">Getting Started</h3>
141
+ <ul class="space-y-3">
142
+ <li>
143
+ <a href="#" class="flex items-center gap-2 text-gray-700 hover:text-primary">
144
+ <i data-feather="book" class="w-4 h-4"></i>
145
+ <span>Documentation</span>
146
+ </a>
147
+ </li>
148
+ <li>
149
+ <a href="#" class="flex items-center gap-2 text-gray-700 hover:text-primary">
150
+ <i data-feather="play" class="w-4 h-4"></i>
151
+ <span>Tutorials</span>
152
+ </a>
153
+ </li>
154
+ <li>
155
+ <a href="#" class="flex items-center gap-2 text-gray-700 hover:text-primary">
156
+ <i data-feather="users" class="w-4 h-4"></i>
157
+ <span>Community</span>
158
+ </a>
159
+ </li>
160
+ <li>
161
+ <a href="#" class="flex items-center gap-2 text-gray-700 hover:text-primary">
162
+ <i data-feather="help-circle" class="w-4 h-4"></i>
163
+ <span>Support</span>
164
+ </a>
165
+ </li>
166
+ </ul>
167
+ </div>
168
+
169
+ <div class="bg-white rounded-xl shadow-md p-6">
170
+ <h3 class="font-bold text-lg mb-4">Upgrade to Pro</h3>
171
+ <p class="text-gray-600 text-sm mb-4">Get more features with Replit Pro</p>
172
+ <ul class="space-y-2 mb-4">
173
+ <li class="flex items-center gap-2">
174
+ <i data-feather="check" class="w-4 h-4 text-green-500"></i>
175
+ <span class="text-sm">Always-On Repls</span>
176
+ </li>
177
+ <li class="flex items-center gap-2">
178
+ <i data-feather="check" class="w-4 h-4 text-green-500"></i>
179
+ <span class="text-sm">Boosted Performance</span>
180
+ </li>
181
+ <li class="flex items-center gap-2">
182
+ <i data-feather="check" class="w-4 h-4 text-green-500"></i>
183
+ <span class="text-sm">Private Repls</span>
184
+ </li>
185
+ </ul>
186
+ <button class="w-full bg-gradient-to-r from-blue-500 to-purple-600 text-white py-2 rounded-lg font-medium">
187
+ Upgrade Now
188
+ </button>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </div>
193
+
194
+ <custom-footer></custom-footer>
195
+
196
+ <script src="components/navbar.js"></script>
197
+ <script src="components/footer.js"></script>
198
+ <script src="script.js"></script>
199
+ <script>
200
+ feather.replace();
201
+ </script>
202
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
203
+ </body>
204
+ </html>
script.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // DOM Content Loaded Event
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ // Initialize feather icons
4
+ feather.replace();
5
+
6
+ // Add animation to cards on page load
7
+ const cards = document.querySelectorAll('.border');
8
+ cards.forEach((card, index) => {
9
+ setTimeout(() => {
10
+ card.classList.add('opacity-100');
11
+ }, 100 * index);
12
+ });
13
+
14
+ // Button click effects
15
+ const buttons = document.querySelectorAll('button');
16
+ buttons.forEach(button => {
17
+ button.addEventListener('click', function() {
18
+ this.classList.add('scale-95');
19
+ setTimeout(() => {
20
+ this.classList.remove('scale-95');
21
+ }, 100);
22
+ });
23
+ });
24
+ });
25
+
26
+ // Theme toggle functionality
27
+ function toggleTheme() {
28
+ const html = document.documentElement;
29
+ const currentTheme = html.classList.contains('dark') ? 'dark' : 'light';
30
+
31
+ if (currentTheme === 'light') {
32
+ html.classList.add('dark');
33
+ localStorage.setItem('theme', 'dark');
34
+ } else {
35
+ html.classList.remove('dark');
36
+ localStorage.setItem('theme', 'light');
37
+ }
38
+ }
39
+
40
+ // Check for saved theme preference
41
+ document.addEventListener('DOMContentLoaded', function() {
42
+ const savedTheme = localStorage.getItem('theme');
43
+ if (savedTheme === 'dark') {
44
+ document.documentElement.classList.add('dark');
45
+ }
46
+ });
style.css CHANGED
@@ -1,28 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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: #0088CC;
5
+ --secondary: #1F2937;
6
+ }
7
+
8
+ * {
9
+ margin: 0;
10
+ padding: 0;
11
+ box-sizing: border-box;
12
+ }
13
+
14
  body {
15
+ font-family: 'Inter', sans-serif;
16
+ background-color: #f9fafb;
17
+ color: #374151;
18
+ }
19
+
20
+ /* Custom scrollbar */
21
+ ::-webkit-scrollbar {
22
+ width: 8px;
23
  }
24
 
25
+ ::-webkit-scrollbar-track {
26
+ background: #f1f1f1;
 
27
  }
28
 
29
+ ::-webkit-scrollbar-thumb {
30
+ background: #c5c5c5;
31
+ border-radius: 4px;
 
 
32
  }
33
 
34
+ ::-webkit-scrollbar-thumb:hover {
35
+ background: #a0a0a0;
 
 
 
 
36
  }
37
 
38
+ /* Button hover effects */
39
+ button {
40
+ transition: all 0.2s ease;
41
  }
42
+
43
+ button:hover {
44
+ transform: translateY(-2px);
45
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
46
+ }
47
+
48
+ /* Card hover effects */
49
+ .border {
50
+ transition: all 0.2s ease;
51
+ }
52
+
53
+ .border:hover {
54
+ transform: translateY(-3px);
55
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
56
+ }
57
+
58
+ /* Feather icons alignment */
59
+ i[data-feather] {
60
+ display: inline-block;
61
+ vertical-align: middle;
62
+ }