flitrx commited on
Commit
1b66eef
Β·
verified Β·
1 Parent(s): 6570def

Redesign my website

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +202 -0
  3. components/navbar.js +150 -0
  4. index.html +264 -19
  5. script.js +46 -0
  6. style.css +45 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Cryptoswap Galaxy Explorer
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: CryptoSwap Galaxy Explorer πŸš€
3
+ colorFrom: green
4
+ colorTo: purple
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://deepsite.hf.co).
components/footer.js ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: #111827;
8
+ color: white;
9
+ padding: 4rem 2rem;
10
+ }
11
+
12
+ .footer-container {
13
+ max-width: 1400px;
14
+ margin: 0 auto;
15
+ display: grid;
16
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
17
+ gap: 2rem;
18
+ }
19
+
20
+ .footer-logo {
21
+ margin-bottom: 1.5rem;
22
+ }
23
+
24
+ .footer-logo img {
25
+ height: 36px;
26
+ }
27
+
28
+ .footer-about {
29
+ font-size: 0.875rem;
30
+ color: rgba(255, 255, 255, 0.7);
31
+ margin-bottom: 2rem;
32
+ }
33
+
34
+ .footer-social {
35
+ display: flex;
36
+ gap: 1rem;
37
+ }
38
+
39
+ .social-icon {
40
+ width: 36px;
41
+ height: 36px;
42
+ border-radius: 50%;
43
+ background: rgba(255, 255, 255, 0.1);
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: center;
47
+ transition: background 0.2s;
48
+ }
49
+
50
+ .social-icon:hover {
51
+ background: rgba(255, 255, 255, 0.2);
52
+ }
53
+
54
+ .footer-column h3 {
55
+ font-size: 1rem;
56
+ font-weight: 600;
57
+ margin-bottom: 1.5rem;
58
+ color: white;
59
+ }
60
+
61
+ .footer-links {
62
+ display: flex;
63
+ flex-direction: column;
64
+ gap: 0.75rem;
65
+ }
66
+
67
+ .footer-link {
68
+ color: rgba(255, 255, 255, 0.7);
69
+ text-decoration: none;
70
+ font-size: 0.875rem;
71
+ transition: color 0.2s;
72
+ }
73
+
74
+ .footer-link:hover {
75
+ color: white;
76
+ }
77
+
78
+ .footer-bottom {
79
+ max-width: 1400px;
80
+ margin: 3rem auto 0;
81
+ padding-top: 2rem;
82
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
83
+ display: flex;
84
+ flex-wrap: wrap;
85
+ justify-content: space-between;
86
+ align-items: center;
87
+ gap: 1rem;
88
+ }
89
+
90
+ .footer-copyright {
91
+ font-size: 0.875rem;
92
+ color: rgba(255, 255, 255, 0.5);
93
+ }
94
+
95
+ .footer-legal {
96
+ display: flex;
97
+ gap: 1.5rem;
98
+ }
99
+
100
+ .legal-link {
101
+ color: rgba(255, 255, 255, 0.5);
102
+ text-decoration: none;
103
+ font-size: 0.875rem;
104
+ transition: color 0.2s;
105
+ }
106
+
107
+ .legal-link:hover {
108
+ color: white;
109
+ }
110
+
111
+ @media (max-width: 768px) {
112
+ .footer-container {
113
+ grid-template-columns: 1fr 1fr;
114
+ }
115
+ }
116
+ </style>
117
+
118
+ <footer>
119
+ <div class="footer-container">
120
+ <div class="footer-about-col">
121
+ <div class="footer-logo">
122
+ <img src="https://swapspace.co/img/logo/horizontal-logo.svg" alt="CryptoSwap">
123
+ </div>
124
+ <p class="footer-about">
125
+ Our main feature is that we save your time. We did all the work for you.
126
+ As easy as pie! SwapSpace project aims to provide a full spectrum of
127
+ information for the exchange options.
128
+ </p>
129
+ <div class="footer-social">
130
+ <a href="#" class="social-icon">
131
+ <i data-feather="twitter"></i>
132
+ </a>
133
+ <a href="#" class="social-icon">
134
+ <i data-feather="linkedin"></i>
135
+ </a>
136
+ <a href="#" class="social-icon">
137
+ <i data-feather="telegram"></i>
138
+ </a>
139
+ <a href="#" class="social-icon">
140
+ <i data-feather="youtube"></i>
141
+ </a>
142
+ </div>
143
+ </div>
144
+
145
+ <div class="footer-column">
146
+ <h3>About</h3>
147
+ <div class="footer-links">
148
+ <a href="#" class="footer-link">About Us</a>
149
+ <a href="#" class="footer-link">News</a>
150
+ <a href="#" class="footer-link">Contacts</a>
151
+ <a href="#" class="footer-link">Exchange Reviews</a>
152
+ <a href="#" class="footer-link">Success Stories</a>
153
+ </div>
154
+ </div>
155
+
156
+ <div class="footer-column">
157
+ <h3>Products</h3>
158
+ <div class="footer-links">
159
+ <a href="#" class="footer-link">Exchange</a>
160
+ <a href="#" class="footer-link">Buy Crypto</a>
161
+ <a href="#" class="footer-link">Sell Crypto</a>
162
+ <a href="#" class="footer-link">Bridge</a>
163
+ <a href="#" class="footer-link">Spend Crypto</a>
164
+ </div>
165
+ </div>
166
+
167
+ <div class="footer-column">
168
+ <h3>Business</h3>
169
+ <div class="footer-links">
170
+ <a href="#" class="footer-link">Our Partners</a>
171
+ <a href="#" class="footer-link">Exchange Listing</a>
172
+ <a href="#" class="footer-link">Affiliate Program</a>
173
+ <a href="#" class="footer-link">API</a>
174
+ </div>
175
+ </div>
176
+
177
+ <div class="footer-column">
178
+ <h3>Support</h3>
179
+ <div class="footer-links">
180
+ <a href="#" class="footer-link">How It Works</a>
181
+ <a href="#" class="footer-link">FAQ</a>
182
+ <a href="mailto:support@swapspace.co" class="footer-link">Contact Support</a>
183
+ </div>
184
+ </div>
185
+ </div>
186
+
187
+ <div class="footer-bottom">
188
+ <div class="footer-copyright">
189
+ Β© 2019–2025 SwapSpace LLC. All rights reserved
190
+ </div>
191
+ <div class="footer-legal">
192
+ <a href="#" class="legal-link">Terms of Use</a>
193
+ <a href="#" class="legal-link">Affiliate Terms</a>
194
+ <a href="#" class="legal-link">Privacy & Cookie Policy</a>
195
+ </div>
196
+ </div>
197
+ </footer>
198
+ `;
199
+ }
200
+ }
201
+
202
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: rgba(17, 24, 39, 0.8);
8
+ backdrop-filter: blur(10px);
9
+ padding: 1rem 2rem;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ position: fixed;
14
+ width: 100%;
15
+ top: 0;
16
+ z-index: 50;
17
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
18
+ }
19
+
20
+ .nav-container {
21
+ display: flex;
22
+ align-items: center;
23
+ width: 100%;
24
+ max-width: 1400px;
25
+ margin: 0 auto;
26
+ }
27
+
28
+ .logo {
29
+ color: white;
30
+ font-weight: bold;
31
+ font-size: 1.5rem;
32
+ display: flex;
33
+ align-items: center;
34
+ }
35
+
36
+ .logo img {
37
+ height: 36px;
38
+ margin-right: 10px;
39
+ }
40
+
41
+ .nav-links {
42
+ display: flex;
43
+ gap: 1.5rem;
44
+ margin-left: 2rem;
45
+ }
46
+
47
+ .nav-link {
48
+ color: rgba(255, 255, 255, 0.8);
49
+ text-decoration: none;
50
+ font-weight: 500;
51
+ transition: color 0.2s;
52
+ position: relative;
53
+ }
54
+
55
+ .nav-link:hover {
56
+ color: white;
57
+ }
58
+
59
+ .nav-link:after {
60
+ content: '';
61
+ position: absolute;
62
+ width: 0;
63
+ height: 2px;
64
+ bottom: -4px;
65
+ left: 0;
66
+ background-color: #818cf8;
67
+ transition: width 0.3s;
68
+ }
69
+
70
+ .nav-link:hover:after {
71
+ width: 100%;
72
+ }
73
+
74
+ .nav-actions {
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 1rem;
78
+ margin-left: auto;
79
+ }
80
+
81
+ .language-selector, .account-btn {
82
+ display: flex;
83
+ align-items: center;
84
+ color: white;
85
+ background: rgba(255, 255, 255, 0.1);
86
+ padding: 0.5rem 1rem;
87
+ border-radius: 0.375rem;
88
+ cursor: pointer;
89
+ transition: background 0.2s;
90
+ }
91
+
92
+ .language-selector:hover, .account-btn:hover {
93
+ background: rgba(255, 255, 255, 0.2);
94
+ }
95
+
96
+ .mobile-menu-btn {
97
+ display: none;
98
+ background: none;
99
+ border: none;
100
+ color: white;
101
+ cursor: pointer;
102
+ }
103
+
104
+ @media (max-width: 1024px) {
105
+ .nav-links, .nav-actions {
106
+ display: none;
107
+ }
108
+
109
+ .mobile-menu-btn {
110
+ display: block;
111
+ margin-left: auto;
112
+ }
113
+ }
114
+ </style>
115
+
116
+ <nav>
117
+ <div class="nav-container">
118
+ <a href="/" class="logo">
119
+ <img src="https://swapspace.co/img/logo/horizontal-logo.svg" alt="CryptoSwap">
120
+ </a>
121
+
122
+ <div class="nav-links">
123
+ <a href="/exchange.html" class="nav-link">Exchange</a>
124
+ <a href="/buy-crypto.html" class="nav-link">Buy Crypto</a>
125
+ <a href="/cross-chain.html" class="nav-link">Bridge</a>
126
+ <a href="/spend-crypto.html" class="nav-link">Spend</a>
127
+ <a href="/business.html" class="nav-link">Business</a>
128
+ </div>
129
+
130
+ <div class="nav-actions">
131
+ <div class="language-selector">
132
+ <span>EN</span>
133
+ <i data-feather="chevron-down" class="ml-1 w-4 h-4"></i>
134
+ </div>
135
+ <div class="account-btn">
136
+ <i data-feather="user" class="mr-2 w-4 h-4"></i>
137
+ <span>Account</span>
138
+ </div>
139
+ </div>
140
+
141
+ <button class="mobile-menu-btn">
142
+ <i data-feather="menu"></i>
143
+ </button>
144
+ </div>
145
+ </nav>
146
+ `;
147
+ }
148
+ }
149
+
150
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,264 @@
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>CryptoSwap Galaxy Explorer | More than a crypto exchange</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
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
11
+ </head>
12
+ <body class="bg-gray-900 text-white font-inter">
13
+ <custom-navbar></custom-navbar>
14
+
15
+ <!-- Hero Section -->
16
+ <section class="relative overflow-hidden">
17
+ <div class="absolute inset-0 bg-gradient-to-br from-purple-900 via-indigo-900 to-gray-900 opacity-90"></div>
18
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24 relative z-10">
19
+ <div class="text-center">
20
+ <img src="https://swapspace.co/img/logo/horizontal-logo.svg" alt="CryptoSwap Logo" class="mx-auto h-16 mb-8">
21
+ <h1 class="text-4xl md:text-6xl font-bold mb-6">More than a crypto exchange</h1>
22
+ <p class="text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto mb-12">
23
+ We pick the best β€” you make a choice
24
+ </p>
25
+
26
+ <!-- Exchange Widget -->
27
+ <div class="bg-gray-800 bg-opacity-50 backdrop-blur-lg rounded-xl p-6 max-w-4xl mx-auto shadow-2xl">
28
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
29
+ <div>
30
+ <label class="block text-sm font-medium text-gray-300 mb-2">You send</label>
31
+ <div class="relative">
32
+ <input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg py-3 px-4 text-white focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Amount">
33
+ <div class="absolute inset-y-0 right-0 flex items-center pr-3">
34
+ <div class="flex items-center">
35
+ <img src="https://storage.swapspace.co/static/font/src/btc.svg" alt="BTC" class="h-6 w-6 mr-2">
36
+ <select class="bg-gray-800 text-white border-none focus:ring-0">
37
+ <option>BTC</option>
38
+ <option>ETH</option>
39
+ <option>USDT</option>
40
+ </select>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div>
46
+ <label class="block text-sm font-medium text-gray-300 mb-2">You get</label>
47
+ <div class="relative">
48
+ <input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg py-3 px-4 text-white focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Amount">
49
+ <div class="absolute inset-y-0 right-0 flex items-center pr-3">
50
+ <div class="flex items-center">
51
+ <img src="https://storage.swapspace.co/static/font/src/eth.svg" alt="ETH" class="h-6 w-6 mr-2">
52
+ <select class="bg-gray-800 text-white border-none focus:ring-0">
53
+ <option>ETH</option>
54
+ <option>BTC</option>
55
+ <option>USDT</option>
56
+ </select>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ <div class="mt-6 flex justify-center space-x-4">
63
+ <a href="#" class="px-6 py-3 bg-purple-600 hover:bg-purple-700 rounded-lg font-medium transition duration-200">
64
+ View offers
65
+ </a>
66
+ <a href="#" class="px-6 py-3 bg-indigo-600 hover:bg-indigo-700 rounded-lg font-medium transition duration-200">
67
+ Quick exchange
68
+ </a>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </section>
74
+
75
+ <!-- Trust Badges -->
76
+ <div class="bg-gray-800 py-6">
77
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
78
+ <div class="flex flex-wrap justify-center items-center gap-8">
79
+ <a href="#" class="flex items-center">
80
+ <div class="bg-white p-2 rounded-lg">
81
+ <img src="https://storage.swapspace.co/static/7zQJEzcVew_5cs7M2R2GBtc18.svg" alt="KuCoin" class="h-8">
82
+ </div>
83
+ <span class="ml-2 text-gray-300">KuCoin</span>
84
+ </a>
85
+ <a href="#" class="flex items-center">
86
+ <div class="bg-white p-2 rounded-lg">
87
+ <img src="https://storage.swapspace.co/static/jf2Bv_Go6_dsylXm2SltYqWqv.svg" alt="1inch" class="h-8">
88
+ </div>
89
+ <span class="ml-2 text-gray-300">1inch</span>
90
+ </a>
91
+ <a href="#" class="flex items-center">
92
+ <div class="bg-white p-2 rounded-lg">
93
+ <img src="https://storage.swapspace.co/static/39211aa8299fb23854bd2dfcf1028230324624fb0a041d2d3e0085761fafa433.svg" alt="Bybit" class="h-8">
94
+ </div>
95
+ <span class="ml-2 text-gray-300">Bybit</span>
96
+ </a>
97
+ <a href="#" class="flex items-center">
98
+ <div class="bg-white p-2 rounded-lg">
99
+ <img src="https://storage.swapspace.co/static/7894b3adcedf30300f0d6da1a299099cacbcd27032522b9a73851a4e74447442.svg" alt="MEXC" class="h-8">
100
+ </div>
101
+ <span class="ml-2 text-gray-300">MEXC</span>
102
+ </a>
103
+ </div>
104
+ </div>
105
+ </div>
106
+
107
+ <!-- Features Section -->
108
+ <section class="py-20 bg-gradient-to-b from-gray-900 to-gray-800">
109
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
110
+ <div class="text-center mb-16">
111
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Exchange Crypto Across the Galaxy</h2>
112
+ <p class="text-xl text-gray-400 max-w-3xl mx-auto">Choose among 600,000+ crypto-to-crypto exchange pairs</p>
113
+ </div>
114
+
115
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
116
+ <!-- Exchange Crypto -->
117
+ <div class="bg-gray-800 rounded-xl p-6 hover:shadow-xl hover:shadow-purple-500/10 transition duration-300">
118
+ <div class="bg-purple-600/20 w-14 h-14 rounded-lg flex items-center justify-center mb-4">
119
+ <img src="https://swapspace.co/_nuxt/img/index-exchange-coin-top.7ad2d12.svg" alt="Exchange" class="w-8">
120
+ </div>
121
+ <h3 class="text-xl font-semibold mb-3">Exchange Crypto</h3>
122
+ <p class="text-gray-400 mb-4">Choose among 600,000 crypto-to-crypto exchange pairs and track your swaps.</p>
123
+ <a href="#" class="text-purple-400 hover:text-purple-300 font-medium inline-flex items-center">
124
+ More details
125
+ <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
126
+ </a>
127
+ </div>
128
+
129
+ <!-- Buy/Sell Crypto -->
130
+ <div class="bg-gray-800 rounded-xl p-6 hover:shadow-xl hover:shadow-blue-500/10 transition duration-300">
131
+ <div class="bg-blue-600/20 w-14 h-14 rounded-lg flex items-center justify-center mb-4">
132
+ <img src="https://swapspace.co/_nuxt/img/pay-icon-1.b031d98.svg" alt="Buy/Sell" class="w-8">
133
+ </div>
134
+ <h3 class="text-xl font-semibold mb-3">Buy/Sell Crypto</h3>
135
+ <p class="text-gray-400 mb-4">Fiat on/off ramp with 90+ currencies using Visa, MasterCard and more.</p>
136
+ <a href="#" class="text-blue-400 hover:text-blue-300 font-medium inline-flex items-center">
137
+ More details
138
+ <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
139
+ </a>
140
+ </div>
141
+
142
+ <!-- Cross-Chain -->
143
+ <div class="bg-gray-800 rounded-xl p-6 hover:shadow-xl hover:shadow-green-500/10 transition duration-300">
144
+ <div class="bg-green-600/20 w-14 h-14 rounded-lg flex items-center justify-center mb-4">
145
+ <img src="https://swapspace.co/_nuxt/img/cross-chain-chain.27d62a2.svg" alt="Cross-Chain" class="w-8">
146
+ </div>
147
+ <h3 class="text-xl font-semibold mb-3">Cross-Chain Swaps</h3>
148
+ <p class="text-gray-400 mb-4">Bridge tokens across networks instantly with no registration required.</p>
149
+ <a href="#" class="text-green-400 hover:text-green-300 font-medium inline-flex items-center">
150
+ More details
151
+ <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
152
+ </a>
153
+ </div>
154
+
155
+ <!-- Spend Crypto -->
156
+ <div class="bg-gray-800 rounded-xl p-6 hover:shadow-xl hover:shadow-yellow-500/10 transition duration-300">
157
+ <div class="bg-yellow-600/20 w-14 h-14 rounded-lg flex items-center justify-center mb-4">
158
+ <img src="https://swapspace.co/_nuxt/img/spend-crypto-coin-1.b41d4cc.svg" alt="Spend" class="w-8">
159
+ </div>
160
+ <h3 class="text-xl font-semibold mb-3">Spend Crypto</h3>
161
+ <p class="text-gray-400 mb-4">Buy gift cards from popular retailers with your crypto in a couple clicks.</p>
162
+ <a href="#" class="text-yellow-400 hover:text-yellow-300 font-medium inline-flex items-center">
163
+ Try now
164
+ <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
165
+ </a>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ </section>
170
+
171
+ <!-- Stats Section -->
172
+ <section class="py-20 bg-gray-800 relative overflow-hidden">
173
+ <div class="absolute inset-0 opacity-20">
174
+ <img src="https://swapspace.co/_nuxt/img/our-features-base.a8a0b16.svg" alt="Background" class="w-full h-full object-cover">
175
+ </div>
176
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative">
177
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
178
+ <div>
179
+ <div class="text-4xl font-bold text-purple-400 mb-2">3500+</div>
180
+ <div class="text-gray-400">Coins</div>
181
+ </div>
182
+ <div>
183
+ <div class="text-4xl font-bold text-blue-400 mb-2">39</div>
184
+ <div class="text-gray-400">Partners</div>
185
+ </div>
186
+ <div>
187
+ <div class="text-4xl font-bold text-green-400 mb-2">665</div>
188
+ <div class="text-gray-400">Cross-Chain Bridges</div>
189
+ </div>
190
+ <div>
191
+ <div class="text-4xl font-bold text-yellow-400 mb-2">600K+</div>
192
+ <div class="text-gray-400">Exchange pairs</div>
193
+ </div>
194
+ </div>
195
+ </div>
196
+ </section>
197
+
198
+ <!-- How It Works -->
199
+ <section class="py-20 bg-gray-900">
200
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
201
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
202
+ <div>
203
+ <h2 class="text-3xl font-bold mb-6">How We Work</h2>
204
+ <p class="text-gray-400 mb-8">
205
+ Swapspace aims to save your time and simplify the exchange process: we aggregate the swap offers from the most trustworthy crypto exchanges – you only need to pick the best option.
206
+ </p>
207
+ <ul class="space-y-4">
208
+ <li class="flex items-start">
209
+ <i data-feather="check-circle" class="text-green-400 mr-3 mt-1 flex-shrink-0"></i>
210
+ <span class="text-gray-300">More than 3500 coins available</span>
211
+ </li>
212
+ <li class="flex items-start">
213
+ <i data-feather="check-circle" class="text-green-400 mr-3 mt-1 flex-shrink-0"></i>
214
+ <span class="text-gray-300">Loyalty program</span>
215
+ </li>
216
+ <li class="flex items-start">
217
+ <i data-feather="check-circle" class="text-green-400 mr-3 mt-1 flex-shrink-0"></i>
218
+ <span class="text-gray-300">24/7 live support</span>
219
+ </li>
220
+ <li class="flex items-start">
221
+ <i data-feather="check-circle" class="text-green-400 mr-3 mt-1 flex-shrink-0"></i>
222
+ <span class="text-gray-300">Best rates on the market</span>
223
+ </li>
224
+ </ul>
225
+ <a href="#" class="mt-8 inline-block px-6 py-3 bg-purple-600 hover:bg-purple-700 rounded-lg font-medium transition duration-200">
226
+ Try it yourself
227
+ </a>
228
+ </div>
229
+ <div class="relative">
230
+ <img src="https://swapspace.co/img/index/how-we-work-mobile.webp" alt="How it works" class="rounded-xl shadow-2xl">
231
+ <div class="absolute -bottom-6 -right-6 bg-purple-600/20 backdrop-blur-sm p-4 rounded-xl">
232
+ <div class="text-purple-400 font-bold">TrustScore 4.6</div>
233
+ <div class="text-white">on TrustPilot</div>
234
+ </div>
235
+ </div>
236
+ </div>
237
+ </div>
238
+ </section>
239
+
240
+ <!-- Newsletter -->
241
+ <section class="py-16 bg-gradient-to-r from-purple-900 to-indigo-900">
242
+ <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
243
+ <h2 class="text-2xl font-bold mb-4">Curious for more?</h2>
244
+ <p class="text-gray-300 mb-6">Join our newsletter β€” stay informed, stay empowered.</p>
245
+ <div class="flex flex-col sm:flex-row gap-3">
246
+ <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-lg bg-gray-800/30 border border-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500 text-white">
247
+ <button class="px-6 py-3 bg-white text-purple-900 font-medium rounded-lg hover:bg-gray-100 transition duration-200">
248
+ Subscribe
249
+ </button>
250
+ </div>
251
+ </div>
252
+ </section>
253
+
254
+ <custom-footer></custom-footer>
255
+
256
+ <script src="components/navbar.js"></script>
257
+ <script src="components/footer.js"></script>
258
+ <script src="script.js"></script>
259
+ <script>
260
+ feather.replace();
261
+ </script>
262
+ <script src="https://deepsite.hf.co/deepsite-badge.js"></script>
263
+ </body>
264
+ </html>
script.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Initialize tooltips
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ // Any initialization code can go here
4
+ console.log('CryptoSwap Galaxy Explorer loaded');
5
+
6
+ // Smooth scroll for anchor links
7
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
8
+ anchor.addEventListener('click', function (e) {
9
+ e.preventDefault();
10
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
11
+ behavior: 'smooth'
12
+ });
13
+ });
14
+ });
15
+ });
16
+
17
+ // Exchange rate ticker simulation
18
+ function updateTicker() {
19
+ const coins = ['BTC', 'ETH', 'SOL', 'XRP', 'ADA'];
20
+ const ticker = document.getElementById('exchange-ticker');
21
+
22
+ if (ticker) {
23
+ let tickerContent = '';
24
+ coins.forEach(coin => {
25
+ const price = (Math.random() * 10000).toFixed(2);
26
+ const change = (Math.random() * 5 - 2.5).toFixed(2);
27
+ const isPositive = parseFloat(change) > 0;
28
+
29
+ tickerContent += `
30
+ <div class="flex items-center px-4">
31
+ <span class="font-medium">${coin}</span>
32
+ <span class="mx-2">$${price}</span>
33
+ <span class="${isPositive ? 'text-green-400' : 'text-red-400'}">
34
+ ${isPositive ? '+' : ''}${change}%
35
+ </span>
36
+ </div>
37
+ `;
38
+ });
39
+
40
+ ticker.innerHTML = tickerContent;
41
+ }
42
+ }
43
+
44
+ // Update ticker every 5 seconds
45
+ setInterval(updateTicker, 5000);
46
+ updateTicker();
style.css CHANGED
@@ -1,28 +1,54 @@
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 scrollbar */
2
+ ::-webkit-scrollbar {
3
+ width: 8px;
4
+ }
5
+
6
+ ::-webkit-scrollbar-track {
7
+ background: #1a202c;
8
  }
9
 
10
+ ::-webkit-scrollbar-thumb {
11
+ background: #4c51bf;
12
+ border-radius: 4px;
13
  }
14
 
15
+ ::-webkit-scrollbar-thumb:hover {
16
+ background: #667eea;
 
 
 
17
  }
18
 
19
+ /* Animation classes */
20
+ @keyframes float {
21
+ 0% {
22
+ transform: translateY(0px);
23
+ }
24
+ 50% {
25
+ transform: translateY(-10px);
26
+ }
27
+ 100% {
28
+ transform: translateY(0px);
29
+ }
30
  }
31
 
32
+ .float-animation {
33
+ animation: float 6s ease-in-out infinite;
34
  }
35
+
36
+ .delay-1 {
37
+ animation-delay: 0.5s;
38
+ }
39
+
40
+ .delay-2 {
41
+ animation-delay: 1s;
42
+ }
43
+
44
+ /* Global styles */
45
+ body {
46
+ scroll-behavior: smooth;
47
+ }
48
+
49
+ /* Gradient text */
50
+ .gradient-text {
51
+ background: linear-gradient(90deg, #667eea 0%, #9f7aea 100%);
52
+ -webkit-background-clip: text;
53
+ -webkit-text-fill-color: transparent;
54
+ }