victor HF Staff commited on
Commit
4a5bd8c
·
verified ·
1 Parent(s): 731d811

apple landing page for new iphone

Browse files
Files changed (4) hide show
  1. README.md +8 -5
  2. index.html +262 -19
  3. script.js +83 -0
  4. style.css +63 -20
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Iphone1 Landing
3
- emoji: 🔥
4
- colorFrom: gray
5
- colorTo: green
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: iPhone1-Landing
3
+ colorFrom: yellow
4
+ colorTo: yellow
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).
index.html CHANGED
@@ -1,19 +1,262 @@
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" />
6
+ <title>iPhone&nbsp;1 Apple (Unofficial Landing)</title>
7
+ <meta name="description" content="iPhone 1 — A new generation of performance and design." />
8
+ <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='32' cy='32' r='30' fill='%23000'/%3E%3Cpath d='M20 44c6-3 11-1 14-7-3 1-7 2-10 0-3-2-5-1-7 1 2 2 2 4 3 6zM30 18h4v6h-4zM26 24h8v16h-8z' fill='%23fff'/%3E%3C/svg%3E" />
9
+ <link rel="stylesheet" href="style.css" />
10
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
12
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
13
+ </head>
14
+ <body class="antialiased bg-zinc-50 text-zinc-900 dark:bg-zinc-950 dark:text-zinc-100 transition-colors duration-500">
15
+ <header class="sticky top-0 z-50 border-b border-zinc-200/60 dark:border-zinc-800/60 backdrop-blur supports-[backdrop-filter]:bg-white/40 dark:supports-[backdrop-filter]:bg-zinc-950/40">
16
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
17
+ <nav class="flex h-16 items-center justify-between">
18
+ <a href="#" class="flex items-center gap-3 group">
19
+ <svg class="h-5 w-5 text-zinc-900 dark:text-zinc-100 transition-transform group-hover:scale-105" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
20
+ <path d="M16.365 1.43a5.4 5.4 0 0 1-1.52 3.94 4.77 4.77 0 0 1-3.69 1.67 4.8 4.8 0 0 1 1.52-3.62 4.9 4.9 0 0 1 3.67-1.99zM20.59 17.15c-.35.8-.77 1.54-1.26 2.22-.66.93-1.19 1.57-1.6 1.92-.58.52-1.2.79-1.87.8-.5 0-1.1-.13-1.79-.4-.69-.26-1.32-.39-1.89-.39-.61 0-1.26.13-1.95.4-.69.26-1.25.41-1.68.44-.57.05-1.21-.13-1.92-.55-.71-.42-1.35-1.05-1.92-1.89-2.1-3.07-3.39-6.6-3.86-10.58-.17-1.39-.05-2.7.37-3.93.4-1.15 1-2.01 1.79-2.6.56-.43 1.19-.65 1.89-.65.54 0 1.16.15 1.86.45.7.31 1.3.47 1.8.47.44 0 1.1-.16 1.98-.48.87-.32 1.61-.49 2.21-.49.69 0 1.39.18 2.11.54 1.15.6 1.98 1.56 2.49 2.9-.93.73-1.54 1.72-1.84 2.97-.27 1.1-.3 2.09-.09 2.98.22.94.64 1.82 1.25 2.64-.23.62-.5 1.24-.83 1.87z"/>
21
+ </svg>
22
+ <span class="font-semibold tracking-tight text-lg">Apple (Unofficial)</span>
23
+ </a>
24
+ <div class="hidden md:flex items-center gap-8">
25
+ <a href="#features" class="text-sm hover:text-zinc-600 dark:hover:text-zinc-300 transition">Features</a>
26
+ <a href="#specs" class="text-sm hover:text-zinc-600 dark:hover:text-zinc-300 transition">Tech Specs</a>
27
+ <a href="#buy" class="text-sm hover:text-zinc-600 dark:hover:text-zinc-300 transition">Buy</a>
28
+ </div>
29
+ <div class="flex items-center gap-3">
30
+ <button id="themeToggle" class="p-2 rounded-full hover:bg-zinc-200/60 dark:hover:bg-zinc-800 transition" aria-label="Toggle theme">
31
+ <svg id="iconSun" class="h-5 w-5 hidden dark:block" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
32
+ <path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.8 1.42-1.42zM1 13h3v-2H1v2zm10 10h2v-3h-2v3zm9.66-3.55l1.41-1.41-1.79-1.8-1.42 1.42 1.8 1.79zM20 11v2h3v-2h-3zm-8-8h2V0h-2v3zm-9.66 16.95l-1.79 1.8 1.41 1.41 1.8-1.79-1.42-1.42zM12 6a6 6 0 100 12A6 6 0 0012 6z"/>
33
+ </svg>
34
+ <svg id="iconMoon" class="h-5 w-5 dark:hidden" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
35
+ <path d="M21.64 13a9 9 0 01-11.63-11.63 1 1 0 00-1.39-1.23A11 11 0 1023 14.84a1 1 0 00-1.36-1.84z"/>
36
+ </svg>
37
+ </button>
38
+ <a href="#buy" class="hidden sm:inline-flex items-center gap-2 rounded-full bg-primary-500 hover:bg-primary-600 text-white text-sm font-medium px-4 py-2 transition shadow-sm shadow-primary-500/30">
39
+ <svg class="h-4 w-4 opacity-90" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
40
+ <path d="M4 6h16v2H4zM4 11h16v2H4zM4 16h10v2H4z"/>
41
+ </svg>
42
+ Buy
43
+ </a>
44
+ </div>
45
+ </nav>
46
+ </div>
47
+ </header>
48
+
49
+ <main>
50
+ <!-- Hero -->
51
+ <section id="hero" class="relative overflow-hidden">
52
+ <div aria-hidden="true" class="pointer-events-none absolute inset-0 -z-10">
53
+ <div class="absolute -top-24 -left-32 h-[36rem] w-[36rem] rounded-full bg-primary-500/20 blur-3xl"></div>
54
+ <div class="absolute top-1/3 -right-24 h-[30rem] w-[30rem] rounded-full bg-secondary-500/20 blur-3xl"></div>
55
+ <div class="absolute inset-x-0 bottom-0 h-64 bg-gradient-to-t from-zinc-100 dark:from-zinc-900 to-transparent"></div>
56
+ </div>
57
+
58
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
59
+ <div class="grid items-center gap-12 py-16 md:grid-cols-2 md:py-24">
60
+ <div>
61
+ <p class="mb-3 inline-flex items-center gap-2 rounded-full border border-zinc-200/60 bg-white/50 px-3 py-1 text-xs font-medium text-zinc-700 backdrop-blur dark:border-zinc-800/60 dark:bg-zinc-950/40 dark:text-zinc-300">
62
+ <span class="inline-block h-2 w-2 rounded-full bg-primary-500"></span>
63
+ New Generation
64
+ </p>
65
+ <h1 class="text-5xl font-extrabold tracking-tight sm:text-6xl lg:text-7xl">
66
+ iPhone&nbsp;1
67
+ </h1>
68
+ <p class="mt-5 max-w-prose text-lg text-zinc-600 dark:text-zinc-400">
69
+ A new chapter in performance, design, and intelligence. Built to move you forward.
70
+ </p>
71
+ <div class="mt-8 flex flex-wrap items-center gap-3">
72
+ <a href="#buy" class="inline-flex items-center gap-2 rounded-full bg-primary-500 hover:bg-primary-600 text-white text-sm font-semibold px-5 py-3 transition shadow-lg shadow-primary-500/30">
73
+ Buy now
74
+ <svg class="h-4 w-4 opacity-90" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
75
+ <path d="M13 5l7 7-7 7v-4H4v-6h9V5z"/>
76
+ </svg>
77
+ </a>
78
+ <a href="#features" class="inline-flex items-center gap-2 rounded-full border border-zinc-300/60 bg-white/60 px-5 py-3 text-sm font-semibold text-zinc-900 backdrop-blur hover:bg-zinc-100 dark:border-zinc-700/60 dark:bg-zinc-950/40 dark:text-zinc-100 dark:hover:bg-zinc-800/60 transition">
79
+ Learn more
80
+ </a>
81
+ </div>
82
+ <p class="mt-3 text-xs text-zinc-500 dark:text-zinc-400">Price starts at $999. This is an unofficial concept page.</p>
83
+ </div>
84
+
85
+ <div class="relative">
86
+ <div id="device3d" class="relative mx-auto h-[580px] w-[300px] rounded-[3rem] border border-zinc-900/10 bg-zinc-900 p-3 shadow-2xl transition-transform duration-700 will-change-transform dark:border-zinc-700/40 dark:bg-zinc-800">
87
+ <div class="relative h-full w-full rounded-[2.5rem] bg-zinc-800 overflow-hidden">
88
+ <div class="absolute inset-0 bg-[radial-gradient(120%_100%_at_50%_10%,rgba(255,255,255,.08),rgba(255,255,255,0)_60%)]"></div>
89
+ <div class="absolute top-3 left-1/2 h-2 w-24 -translate-x-1/2 rounded-full bg-zinc-700"></div>
90
+ <div class="absolute right-6 top-20 h-8 w-1 rounded-full bg-zinc-700"></div>
91
+ <div class="absolute right-6 top-32 h-12 w-1 rounded-full bg-zinc-700"></div>
92
+ <div class="absolute inset-0 grid place-items-center">
93
+ <div class="absolute -top-10 h-24 w-24 rounded-full bg-primary-500/30 blur-2xl"></div>
94
+ <div class="absolute -bottom-8 h-24 w-24 rounded-full bg-secondary-500/20 blur-2xl"></div>
95
+ <div class="relative rounded-[2rem] border border-zinc-700/40 bg-gradient-to-br from-zinc-900 to-zinc-800 p-6">
96
+ <div class="aspect-[9/19.5] rounded-[1.4rem] border border-zinc-700/40 bg-[radial-gradient(150%_130%_at_50%_0%,#0ea5e9,transparent_60%),radial-gradient(120%_100%_at_50%_100%,#10b981,transparent_60%)] p-3">
97
+ <div class="h-full w-full rounded-[1.2rem] bg-zinc-900/60 backdrop-blur-sm"></div>
98
+ </div>
99
+ <div class="mt-6 grid grid-cols-3 gap-2 text-center text-[10px] text-zinc-300">
100
+ <div class="rounded-lg bg-zinc-800/60 p-2">
101
+ <div class="text-[11px] font-semibold text-white">A18</div>
102
+ <div class="text-[10px] text-zinc-400">Fusion</div>
103
+ </div>
104
+ <div class="rounded-lg bg-zinc-800/60 p-2">
105
+ <div class="text-[11px] font-semibold text-white">48MP</div>
106
+ <div class="text-[10px] text-zinc-400">Camera</div>
107
+ </div>
108
+ <div class="rounded-lg bg-zinc-800/60 p-2">
109
+ <div class="text-[11px] font-semibold text-white">5G</div>
110
+ <div class="text-[10px] text-zinc-400">Connect</div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ </div>
117
+
118
+ <div class="mt-6 text-center">
119
+ <a href="#features" class="inline-flex items-center gap-2 text-sm text-zinc-600 underline-offset-4 hover:underline dark:text-zinc-400">
120
+ Explore features
121
+ <svg class="h-4 w-4" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
122
+ <path d="M13 5l7 7-7 7v-4H4v-6h9V5z"/>
123
+ </svg>
124
+ </a>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ </section>
130
+
131
+ <!-- Features -->
132
+ <section id="features" class="border-t border-zinc-200/60 bg-zinc-100/50 py-20 dark:border-zinc-800/60 dark:bg-zinc-900/30">
133
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
134
+ <div class="mb-12 text-center">
135
+ <h2 class="text-3xl font-bold tracking-tight sm:text-4xl">Powerfully simple</h2>
136
+ <p class="mt-3 text-zinc-600 dark:text-zinc-400">Everything you need. Nothing you don’t.</p>
137
+ </div>
138
+
139
+ <div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-4">
140
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 transition hover:shadow-lg dark:border-zinc-800/60 dark:bg-zinc-900">
141
+ <div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-lg bg-primary-500/10 text-primary-500">
142
+ <svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
143
+ <path d="M9 3v2H5v14h14v-4h2V5H9V3zM7 7h10v10H7V7z"/>
144
+ </svg>
145
+ </div>
146
+ <h3 class="font-semibold">A18 Fusion</h3>
147
+ <p class="mt-2 text-sm text-zinc-600 dark:text-zinc-400">Next‑gen CPU and GPU built for demanding workflows and pro‑level gaming.</p>
148
+ </div>
149
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 transition hover:shadow-lg dark:border-zinc-800/60 dark:bg-zinc-900">
150
+ <div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-lg bg-secondary-500/10 text-secondary-500">
151
+ <svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
152
+ <path d="M4 6h16v12H4zM7 9h10v6H7z"/>
153
+ </svg>
154
+ </div>
155
+ <h3 class="font-semibold">Pro Camera System</h3>
156
+ <p class="mt-2 text-sm text-zinc-600 dark:text-zinc-400">48MP main sensor with advanced computational photography.</p>
157
+ </div>
158
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 transition hover:shadow-lg dark:border-zinc-800/60 dark:bg-zinc-900">
159
+ <div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-lg bg-primary-500/10 text-primary-500">
160
+ <svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
161
+ <path d="M3 12h18M12 3v18"/>
162
+ </svg>
163
+ </div>
164
+ <h3 class="font-semibold">All‑day battery</h3>
165
+ <p class="mt-2 text-sm text-zinc-600 dark:text-zinc-400">Up to 28 hours of video playback. Fast charging supported.</p>
166
+ </div>
167
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 transition hover:shadow-lg dark:border-zinc-800/60 dark:bg-zinc-900">
168
+ <div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-lg bg-secondary-500/10 text-secondary-500">
169
+ <svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
170
+ <path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 5v6l4 2-.8 1.46L11 14V7h2z"/>
171
+ </svg>
172
+ </div>
173
+ <h3 class="font-semibold">5G</h3>
174
+ <p class="mt-2 text-sm text-zinc-600 dark:text-zinc-400">Superfast downloads and low latency for streaming and gaming.</p>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </section>
179
+
180
+ <!-- Tech Specs -->
181
+ <section id="specs" class="py-20">
182
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
183
+ <div class="mb-12 text-center">
184
+ <h2 class="text-3xl font-bold tracking-tight sm:text-4xl">Tech Specs</h2>
185
+ <p class="mt-3 text-zinc-600 dark:text-zinc-400">Quick look at key specifications.</p>
186
+ </div>
187
+
188
+ <div class="grid gap-6 md:grid-cols-2">
189
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 dark:border-zinc-800/60 dark:bg-zinc-900">
190
+ <h3 class="mb-4 font-semibold">Display</h3>
191
+ <ul class="space-y-2 text-sm text-zinc-600 dark:text-zinc-400">
192
+ <li>6.1‑inch Super Retina XDR OLED</li>
193
+ <li>2532×1170 resolution at 460 ppi</li>
194
+ <li>True Tone, P3 wide color</li>
195
+ </ul>
196
+ </div>
197
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 dark:border-zinc-800/60 dark:bg-zinc-900">
198
+ <h3 class="mb-4 font-semibold">Chip</h3>
199
+ <ul class="space-y-2 text-sm text-zinc-600 dark:text-zinc-400">
200
+ <li>A18 Fusion chip</li>
201
+ <li>6‑core CPU, 5‑core GPU</li>
202
+ <li>16‑core Neural Engine</li>
203
+ </ul>
204
+ </div>
205
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 dark:border-zinc-800/60 dark:bg-zinc-900">
206
+ <h3 class="mb-4 font-semibold">Camera</h3>
207
+ <ul class="space-y-2 text-sm text-zinc-600 dark:text-zinc-400">
208
+ <li>48MP main, 12MP ultra wide</li>
209
+ <li>4K Dolby Vision recording</li>
210
+ <li>Action mode, Night mode</li>
211
+ </ul>
212
+ </div>
213
+ <div class="rounded-2xl border border-zinc-200/60 bg-white p-6 dark:border-zinc-800/60 dark:bg-zinc-900">
214
+ <h3 class="mb-4 font-semibold">Connectivity</h3>
215
+ <ul class="space-y-2 text-sm text-zinc-600 dark:text-zinc-400">
216
+ <li>5G (sub‑6 GHz and mmWave)</li>
217
+ <li>Dual SIM (nano + eSIM)</li>
218
+ <li>Wi‑Fi 6E, Bluetooth 5.3</li>
219
+ </ul>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ </section>
224
+
225
+ <!-- Buy -->
226
+ <section id="buy" class="border-t border-zinc-200/60 py-20 dark:border-zinc-800/60">
227
+ <div class="mx-auto max-w-5xl px-4 sm:px-6 lg:px-8">
228
+ <div class="rounded-3xl border border-zinc-200/60 bg-gradient-to-br from-white to-zinc-50 p-8 text-center dark:border-zinc-800/60 dark:from-zinc-900 dark:to-zinc-950">
229
+ <h2 class="text-3xl font-bold tracking-tight sm:text-4xl">Get iPhone&nbsp;1</h2>
230
+ <p class="mt-3 text-zinc-600 dark:text-zinc-400">Starting at $999. Available in 128, 256, and 512&nbsp;GB.</p>
231
+ <div class="mt-6 flex flex-wrap justify-center gap-3">
232
+ <button class="inline-flex items-center gap-2 rounded-full bg-primary-500 hover:bg-primary-600 px-5 py-3 text-sm font-semibold text-white transition shadow-lg shadow-primary-500/30">
233
+ <svg class="h-4 w-4 opacity-90" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M4 6h16v2H4zM4 11h16v2H4zM4 16h10v2H4z"/></svg>
234
+ Add to Bag
235
+ </button>
236
+ <button class="inline-flex items-center gap-2 rounded-full border border-zinc-300/60 bg-white/60 px-5 py-3 text-sm font-semibold text-zinc-900 backdrop-blur hover:bg-zinc-100 dark:border-zinc-700/60 dark:bg-zinc-950/40 dark:text-zinc-100 dark:hover:bg-zinc-800/60 transition">
237
+ Compare models
238
+ </button>
239
+ </div>
240
+ <p class="mt-3 text-xs text-zinc-500 dark:text-zinc-400">This is a concept page. Not affiliated with Apple Inc.</p>
241
+ </div>
242
+ </div>
243
+ </section>
244
+ </main>
245
+
246
+ <footer class="border-t border-zinc-200/60 py-10 text-sm text-zinc-600 dark:border-zinc-800/60 dark:text-zinc-400">
247
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
248
+ <div class="flex flex-col items-center justify-between gap-4 sm:flex-row">
249
+ <p>Copyright © 2025 Apple (Unofficial). All rights reserved.</p>
250
+ <div class="flex items-center gap-4">
251
+ <a class="hover:text-zinc-800 dark:hover:text-zinc-200" href="#">Privacy</a>
252
+ <a class="hover:text-zinc-800 dark:hover:text-zinc-200" href="#">Terms</a>
253
+ <a class="hover:text-zinc-800 dark:hover:text-zinc-200" href="#">Support</a>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </footer>
258
+
259
+ <script src="script.js"></script>
260
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
261
+ </body>
262
+ </html>
script.js ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Simple color and theme management
2
+ (function () {
3
+ const config = {
4
+ primary: "gray",
5
+ secondary: "slate",
6
+ theme: "light", // light | dark
7
+ };
8
+
9
+ function applyTheme(theme) {
10
+ const root = document.documentElement;
11
+ if (theme === "dark") {
12
+ root.classList.add("dark");
13
+ } else {
14
+ root.classList.remove("dark");
15
+ }
16
+ }
17
+
18
+ // Theme toggle
19
+ const toggle = document.getElementById("themeToggle");
20
+ if (toggle) {
21
+ toggle.addEventListener("click", () => {
22
+ const isDark = document.documentElement.classList.toggle("dark");
23
+ const next = isDark ? "dark" : "light";
24
+ try {
25
+ localStorage.setItem("theme", next);
26
+ } catch (_) {}
27
+ });
28
+ }
29
+
30
+ // Restore saved theme
31
+ try {
32
+ const saved = localStorage.getItem("theme");
33
+ if (saved === "dark" || saved === "light") {
34
+ applyTheme(saved);
35
+ } else {
36
+ applyTheme(config.theme);
37
+ }
38
+ } catch (_) {
39
+ applyTheme(config.theme);
40
+ }
41
+
42
+ // Device tilt effect (hero)
43
+ const device = document.getElementById("device3d");
44
+ if (device) {
45
+ let raf = null;
46
+ let rx = 0, ry = 0, tx = 0, ty = 0;
47
+ const max = 8;
48
+
49
+ const onMove = (e) => {
50
+ const rect = device.getBoundingClientRect();
51
+ const cx = rect.left + rect.width / 2;
52
+ const cy = rect.top + rect.height / 2;
53
+ const dx = (e.clientX - cx) / (rect.width / 2);
54
+ const dy = (e.clientY - cy) / (rect.height / 2);
55
+ tx = Math.max(-1, Math.min(1, dx));
56
+ ty = Math.max(-1, Math.min(1, dy));
57
+ ry = tx * max;
58
+ rx = -ty * max;
59
+ if (!raf) {
60
+ raf = requestAnimationFrame(() => {
61
+ device.style.transform = `perspective(1000px) rotateX(${rx.toFixed(2)}deg) rotateY(${ry.toFixed(2)}deg) translateZ(0)`;
62
+ raf = null;
63
+ });
64
+ }
65
+ };
66
+
67
+ const reset = () => {
68
+ device.style.transform = "perspective(1000px) rotateX(0deg) rotateY(0deg)";
69
+ };
70
+
71
+ window.addEventListener("mousemove", onMove, { passive: true });
72
+ window.addEventListener("mouseleave", reset);
73
+ window.addEventListener("touchmove", (e) => {
74
+ if (!e.touches || e.touches.length === 0) return;
75
+ const t = e.touches[0];
76
+ onMove({ clientX: t.clientX, clientY: t.clientY });
77
+ }, { passive: true });
78
+ window.addEventListener("touchend", reset);
79
+ }
80
+
81
+ // Optional: uncomment to log config or expose it for debugging
82
+ // console.log("iPhone 1 Landing — Config:", config);
83
+ })();
style.css CHANGED
@@ -1,28 +1,71 @@
 
 
 
 
 
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
+ /* CSS Reset and base */
2
+ *,
3
+ *::before,
4
+ *::after { box-sizing: border-box; }
5
+ html, body { height: 100%; }
6
  body {
7
+ margin: 0;
8
+ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
9
+ line-height: 1.5;
10
+ background: theme(colors.zinc.50);
11
+ color: theme(colors.zinc.900);
12
  }
13
+ @media (prefers-color-scheme: dark) {
14
+ body { background: theme(colors.zinc.950); color: theme(colors.zinc.100); }
 
 
15
  }
16
 
17
+ /* Utilities generated from requested config */
18
+ :root {
19
+ --color-primary-50: 249 250 251; /* gray-50 */
20
+ --color-primary-100: 243 244 246; /* gray-100 */
21
+ --color-primary-200: 229 231 235; /* gray-200 */
22
+ --color-primary-300: 209 213 219; /* gray-300 */
23
+ --color-primary-400: 156 163 175; /* gray-400 */
24
+ --color-primary-500: 107 114 128; /* gray-500 */
25
+ --color-primary-600: 75 85 99; /* gray-600 */
26
+ --color-primary-700: 55 65 81; /* gray-700 */
27
+ --color-primary-800: 31 41 55; /* gray-800 */
28
+ --color-primary-900: 17 24 39; /* gray-900 */
29
 
30
+ --color-secondary-50: 248 250 252; /* slate-50 */
31
+ --color-secondary-100: 241 245 249;/* slate-100 */
32
+ --color-secondary-200: 226 232 240;/* slate-200 */
33
+ --color-secondary-300: 203 213 225;/* slate-300 */
34
+ --color-secondary-400: 148 163 184;/* slate-400 */
35
+ --color-secondary-500: 100 116 139;/* slate-500 */
36
+ --color-secondary-600: 71 85 105; /* slate-600 */
37
+ --color-secondary-700: 51 65 85; /* slate-700 */
38
+ --color-secondary-800: 30 41 59; /* slate-800 */
39
+ --color-secondary-900: 15 23 42; /* slate-900 */
40
  }
41
 
42
+ /* Primary palette */
43
+ .bg-primary-500 { background-color: rgb(var(--color-primary-500)); }
44
+ .hover\:bg-primary-600:hover { background-color: rgb(var(--color-primary-600)); }
45
+ .text-primary-500 { color: rgb(var(--color-primary-500)); }
46
+ .border-primary-500 { border-color: rgb(var(--color-primary-500)); }
47
+ .shadow-primary-500\/30 { box-shadow: 0 10px 15px -3px rgba(var(--color-primary-500)/0.30), 0 4px 6px -2px rgba(var(--color-primary-500)/0.20); }
48
+
49
+ /* Secondary palette */
50
+ .bg-secondary-500 { background-color: rgb(var(--color-secondary-500)); }
51
+ .hover\:bg-secondary-600:hover { background-color: rgb(var(--color-secondary-600)); }
52
+ .text-secondary-500 { color: rgb(var(--color-secondary-500)); }
53
+ .border-secondary-500 { border-color: rgb(var(--color-secondary-500)); }
54
+ .shadow-secondary-500\/30 { box-shadow: 0 10px 15px -3px rgba(var(--color-secondary-500)/0.30), 0 4px 6px -2px rgba(var(--color-secondary-500)/0.20); }
55
+
56
+ /* Selection */
57
+ ::selection {
58
+ background: rgba(var(--color-primary-500), 0.2);
59
  }
60
+
61
+ /* Smooth scroll */
62
+ html { scroll-behavior: smooth; }
63
+
64
+ /* Remove default link underlines on brand */
65
+ a { color: inherit; text-decoration: none; }
66
+
67
+ /* Backdrop blur fallback */
68
+ @supports not (backdrop-filter: blur(0)) {
69
+ .supports-\[backdrop-filter\]\:bg-white\/40 { background-color: rgba(255,255,255,0.85); }
70
+ .dark .supports-\[backdrop-filter\]\:bg-zinc-950\/40 { background-color: rgba(9,9,11,0.9); }
71
+ }