arcanajs 2.1.5 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,137 @@
1
+ import React from "react";
2
+ import { Page, Head, Body } from "arcanajs";
3
+
4
+ interface ErrorPageProps {
5
+ message?: string;
6
+ statusCode?: number;
7
+ stack?: string;
8
+ }
9
+
10
+ export default function ErrorPage({
11
+ message = "Something went wrong",
12
+ statusCode = 500,
13
+ stack,
14
+ }: ErrorPageProps) {
15
+ const isDevelopment = process.env.NODE_ENV === "development";
16
+
17
+ return (
18
+ <Page>
19
+ <Head>
20
+ <title>{statusCode} - Server Error</title>
21
+ <meta name="description" content="An error occurred on the server" />
22
+ </Head>
23
+ <Body>
24
+ <div className="relative min-h-screen overflow-hidden bg-black text-white flex flex-col justify-center items-center px-4 font-sans">
25
+ {/* Animated Background */}
26
+ <div className="fixed inset-0 z-0 overflow-hidden pointer-events-none">
27
+ <div className="absolute inset-0 grid-pattern opacity-30"></div>
28
+ <div className="absolute top-1/4 right-1/4 w-96 h-96 bg-red-600 rounded-full opacity-20 blur-3xl animate-glow"></div>
29
+ <div
30
+ className="absolute bottom-1/4 left-1/4 w-96 h-96 bg-orange-600 rounded-full opacity-10 blur-3xl animate-glow"
31
+ style={{ animationDelay: "2s" }}
32
+ ></div>
33
+ <div className="absolute inset-0 hero-gradient"></div>
34
+ </div>
35
+
36
+ <div className="relative z-10 max-w-2xl w-full text-center animate-scale-in">
37
+ <div className="glass-card rounded-3xl p-12 border border-white/10 shadow-2xl">
38
+ <div className="mb-8">
39
+ <div className="text-6xl mb-6 animate-float">
40
+ <span className="text-red-500 drop-shadow-lg filter">⚠️</span>
41
+ </div>
42
+ <h1 className="text-8xl font-bold text-transparent bg-clip-text bg-gradient-to-br from-red-500 to-orange-500 mb-4">
43
+ {statusCode}
44
+ </h1>
45
+ <h2 className="text-3xl font-bold text-white mb-4">
46
+ Server Error
47
+ </h2>
48
+ <p className="text-gray-400 text-lg leading-relaxed">
49
+ {message}
50
+ </p>
51
+ </div>
52
+
53
+ <div className="flex flex-col sm:flex-row gap-4 justify-center mb-8">
54
+ <a
55
+ href="/"
56
+ className="btn-primary px-8 py-3.5 text-white font-semibold rounded-xl inline-flex items-center justify-center gap-2 w-full sm:w-auto bg-gradient-to-r from-red-600 to-orange-600 hover:from-red-500 hover:to-orange-500 border-none shadow-red-900/20"
57
+ >
58
+ <svg
59
+ className="w-5 h-5"
60
+ fill="none"
61
+ stroke="currentColor"
62
+ viewBox="0 0 24 24"
63
+ >
64
+ <path
65
+ strokeLinecap="round"
66
+ strokeLinejoin="round"
67
+ strokeWidth={2}
68
+ d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
69
+ />
70
+ </svg>
71
+ Go Home
72
+ </a>
73
+
74
+ <button
75
+ onClick={() => window.location.reload()}
76
+ className="btn-secondary px-8 py-3.5 text-white font-semibold rounded-xl inline-flex items-center justify-center gap-2 w-full sm:w-auto"
77
+ >
78
+ <svg
79
+ className="w-5 h-5"
80
+ fill="none"
81
+ stroke="currentColor"
82
+ viewBox="0 0 24 24"
83
+ >
84
+ <path
85
+ strokeLinecap="round"
86
+ strokeLinejoin="round"
87
+ strokeWidth={2}
88
+ d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
89
+ />
90
+ </svg>
91
+ Try Again
92
+ </button>
93
+ </div>
94
+
95
+ {isDevelopment && stack && (
96
+ <div className="mt-8 text-left animate-slide-up">
97
+ <details className="bg-black/40 border border-white/10 rounded-xl overflow-hidden group">
98
+ <summary className="cursor-pointer font-medium text-gray-300 p-4 hover:bg-white/5 transition-colors flex items-center justify-between select-none">
99
+ <span>Stack Trace (Development Only)</span>
100
+ <svg
101
+ className="w-5 h-5 text-gray-500 group-open:rotate-180 transition-transform"
102
+ fill="none"
103
+ stroke="currentColor"
104
+ viewBox="0 0 24 24"
105
+ >
106
+ <path
107
+ strokeLinecap="round"
108
+ strokeLinejoin="round"
109
+ strokeWidth={2}
110
+ d="M19 9l-7 7-7-7"
111
+ />
112
+ </svg>
113
+ </summary>
114
+ <pre className="text-xs text-red-300/80 p-4 overflow-x-auto whitespace-pre-wrap font-mono border-t border-white/5 bg-black/20">
115
+ {stack}
116
+ </pre>
117
+ </details>
118
+ </div>
119
+ )}
120
+ </div>
121
+
122
+ <div className="mt-8 text-gray-500 text-sm">
123
+ If this problem persists, please{" "}
124
+ <a
125
+ href="/contact"
126
+ className="text-red-400 hover:text-red-300 underline transition-colors"
127
+ >
128
+ contact support
129
+ </a>
130
+ .
131
+ </div>
132
+ </div>
133
+ </div>
134
+ </Body>
135
+ </Page>
136
+ );
137
+ }
@@ -0,0 +1,325 @@
1
+ import { Page, Head, Body } from "arcanajs";
2
+
3
+ export default function HomePage() {
4
+ return (
5
+ <Page>
6
+ <Head>
7
+ <title>Welcome to ArcanaJS</title>
8
+ <meta
9
+ name="description"
10
+ content="A modern React framework with Tailwind CSS v4"
11
+ />
12
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
13
+ </Head>
14
+ <Body>
15
+ <div className="relative min-h-screen overflow-hidden bg-black text-white">
16
+ {/* Animated Background */}
17
+ <div className="fixed inset-0 z-0 overflow-hidden pointer-events-none">
18
+ {/* Grid Pattern */}
19
+ <div className="absolute inset-0 grid-pattern opacity-30"></div>
20
+ <div className="absolute inset-0 grid-pattern opacity-30"></div>
21
+
22
+ {/* Animated Orbs */}
23
+ <div className="absolute top-1/4 left-1/4 w-96 h-96 bg-orange-500 rounded-full opacity-20 blur-3xl animate-glow"></div>
24
+ <div
25
+ className="absolute top-1/3 right-1/4 w-96 h-96 bg-purple-500 rounded-full opacity-15 blur-3xl animate-glow"
26
+ style={{ animationDelay: "2s" }}
27
+ ></div>
28
+ <div
29
+ className="absolute bottom-1/4 left-1/2 w-96 h-96 bg-blue-500 rounded-full opacity-10 blur-3xl animate-glow"
30
+ style={{ animationDelay: "4s" }}
31
+ ></div>
32
+
33
+ {/* Radial Gradient Accent */}
34
+ <div className="absolute inset-0 hero-gradient"></div>
35
+ </div>
36
+
37
+ <div className="relative z-10">
38
+ {/* Navigation */}
39
+ <nav className="fixed top-0 w-full z-50 nav-blur animate-slide-down border-b border-white/5 backdrop-blur-sm">
40
+ <div className="container mx-auto px-6 py-4 flex items-center justify-between">
41
+ <div className="flex items-center space-x-3 group cursor-pointer">
42
+ <div className="relative w-10 h-10">
43
+ <div className="absolute inset-0 bg-gradient-to-br from-orange-500 to-red-600 rounded-lg blur opacity-75 group-hover:opacity-100 transition-opacity"></div>
44
+ <div className="relative w-full h-full bg-gradient-to-br from-orange-500 to-red-600 rounded-lg flex items-center justify-center shadow-lg">
45
+ <span className="text-white font-bold text-xl">A</span>
46
+ </div>
47
+ </div>
48
+ <span className="text-xl font-bold text-white group-hover:text-orange-400 transition-colors tracking-tight">
49
+ ArcanaJS
50
+ </span>
51
+ </div>
52
+ <div className="hidden md:flex space-x-8">
53
+ <a
54
+ href="#features"
55
+ className="text-gray-400 hover:text-white transition-colors text-sm font-medium"
56
+ >
57
+ Features
58
+ </a>
59
+ <a
60
+ href="#docs"
61
+ className="text-gray-400 hover:text-white transition-colors text-sm font-medium"
62
+ >
63
+ Docs
64
+ </a>
65
+ <a
66
+ href="#examples"
67
+ className="text-gray-400 hover:text-white transition-colors text-sm font-medium"
68
+ >
69
+ Examples
70
+ </a>
71
+ </div>
72
+ </div>
73
+ </nav>
74
+
75
+ {/* Hero Section */}
76
+ <main className="pt-32 pb-12 px-4 sm:px-6 lg:px-8">
77
+ <div className="max-w-5xl mx-auto text-center">
78
+ <div className="glass-card rounded-3xl p-8 md:p-12 mb-12 animate-scale-in border-white/10">
79
+ <h1 className="text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight drop-shadow-2xl">
80
+ Welcome to <span className="gradient-text">ArcanaJS</span>
81
+ </h1>
82
+ <p className="text-xl md:text-2xl text-gray-300 mb-10 max-w-3xl mx-auto text-balance font-light leading-relaxed">
83
+ A modern React framework with server-side rendering and
84
+ Tailwind CSS v4 support. Build fast, beautiful applications
85
+ with zero configuration.
86
+ </p>
87
+ <div className="flex flex-col sm:flex-row gap-4 justify-center">
88
+ <button className="btn-primary px-8 py-3.5 text-lg font-semibold rounded-xl inline-flex items-center justify-center gap-2">
89
+ Get Started
90
+ <svg
91
+ className="w-5 h-5"
92
+ fill="none"
93
+ stroke="currentColor"
94
+ viewBox="0 0 24 24"
95
+ >
96
+ <path
97
+ strokeLinecap="round"
98
+ strokeLinejoin="round"
99
+ strokeWidth={2}
100
+ d="M13 7l5 5m0 0l-5 5m5-5H6"
101
+ />
102
+ </svg>
103
+ </button>
104
+ <button className="btn-secondary px-8 py-3.5 text-lg font-semibold rounded-xl inline-flex items-center justify-center gap-2">
105
+ View Examples
106
+ </button>
107
+ </div>
108
+ </div>
109
+
110
+ {/* Features Grid */}
111
+ <section
112
+ id="features"
113
+ className="grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-12"
114
+ >
115
+ <div className="glass-card rounded-2xl p-8 feature-card text-center group">
116
+ <div className="w-14 h-14 bg-orange-500/10 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform border border-orange-500/20">
117
+ <svg
118
+ className="w-7 h-7 text-orange-500"
119
+ fill="none"
120
+ stroke="currentColor"
121
+ viewBox="0 0 24 24"
122
+ >
123
+ <path
124
+ strokeLinecap="round"
125
+ strokeLinejoin="round"
126
+ strokeWidth={2}
127
+ d="M13 10V3L4 14h7v7l9-11h-7z"
128
+ />
129
+ </svg>
130
+ </div>
131
+ <h3 className="text-xl font-bold text-white mb-2 group-hover:text-orange-400 transition-colors">
132
+ Fast SSR
133
+ </h3>
134
+ <p className="text-gray-400 text-sm leading-relaxed">
135
+ Server-side rendering for optimal performance and SEO.
136
+ </p>
137
+ </div>
138
+
139
+ <div className="glass-card rounded-2xl p-8 feature-card text-center group">
140
+ <div className="w-14 h-14 bg-purple-500/10 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform border border-purple-500/20">
141
+ <svg
142
+ className="w-7 h-7 text-purple-500"
143
+ fill="none"
144
+ stroke="currentColor"
145
+ viewBox="0 0 24 24"
146
+ >
147
+ <path
148
+ strokeLinecap="round"
149
+ strokeLinejoin="round"
150
+ strokeWidth={2}
151
+ d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
152
+ />
153
+ </svg>
154
+ </div>
155
+ <h3 className="text-xl font-bold text-white mb-2 group-hover:text-purple-400 transition-colors">
156
+ TypeScript
157
+ </h3>
158
+ <p className="text-gray-400 text-sm leading-relaxed">
159
+ Built-in TypeScript support for better developer
160
+ experience.
161
+ </p>
162
+ </div>
163
+
164
+ <div className="glass-card rounded-2xl p-8 feature-card text-center group">
165
+ <div className="w-14 h-14 bg-blue-500/10 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform border border-blue-500/20">
166
+ <svg
167
+ className="w-7 h-7 text-blue-500"
168
+ fill="none"
169
+ stroke="currentColor"
170
+ viewBox="0 0 24 24"
171
+ >
172
+ <path
173
+ strokeLinecap="round"
174
+ strokeLinejoin="round"
175
+ strokeWidth={2}
176
+ d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h4a2 2 0 002-2V9a2 2 0 00-2-2H7a2 2 0 00-2 2v6a2 2 0 002 2z"
177
+ />
178
+ </svg>
179
+ </div>
180
+ <h3 className="text-xl font-bold text-white mb-2 group-hover:text-blue-400 transition-colors">
181
+ Tailwind v4
182
+ </h3>
183
+ <p className="text-gray-400 text-sm leading-relaxed">
184
+ Latest Tailwind CSS with CSS-first configuration.
185
+ </p>
186
+ </div>
187
+
188
+ <div className="glass-card rounded-2xl p-8 feature-card text-center group">
189
+ <div className="w-14 h-14 bg-green-500/10 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform border border-green-500/20">
190
+ <svg
191
+ className="w-7 h-7 text-green-500"
192
+ fill="none"
193
+ stroke="currentColor"
194
+ viewBox="0 0 24 24"
195
+ >
196
+ <path
197
+ strokeLinecap="round"
198
+ strokeLinejoin="round"
199
+ strokeWidth={2}
200
+ d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
201
+ />
202
+ </svg>
203
+ </div>
204
+ <h3 className="text-xl font-bold text-white mb-2 group-hover:text-green-400 transition-colors">
205
+ Hot Reload
206
+ </h3>
207
+ <p className="text-gray-400 text-sm leading-relaxed">
208
+ Instant updates during development for faster iteration.
209
+ </p>
210
+ </div>
211
+
212
+ <div className="glass-card rounded-2xl p-8 feature-card text-center group">
213
+ <div className="w-14 h-14 bg-red-500/10 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform border border-red-500/20">
214
+ <svg
215
+ className="w-7 h-7 text-red-500"
216
+ fill="none"
217
+ stroke="currentColor"
218
+ viewBox="0 0 24 24"
219
+ >
220
+ <path
221
+ strokeLinecap="round"
222
+ strokeLinejoin="round"
223
+ strokeWidth={2}
224
+ d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2H5a2 2 0 00-2-2V7zm0 0V5a2 2 0 012-2h6l2 2h6a2 2 0 012 2v2H3z"
225
+ />
226
+ </svg>
227
+ </div>
228
+ <h3 className="text-xl font-bold text-white mb-2 group-hover:text-red-400 transition-colors">
229
+ File-based Routing
230
+ </h3>
231
+ <p className="text-gray-400 text-sm leading-relaxed">
232
+ Intuitive routing based on your file structure.
233
+ </p>
234
+ </div>
235
+
236
+ <div className="glass-card rounded-2xl p-8 feature-card text-center group">
237
+ <div className="w-14 h-14 bg-indigo-500/10 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform border border-indigo-500/20">
238
+ <svg
239
+ className="w-7 h-7 text-indigo-500"
240
+ fill="none"
241
+ stroke="currentColor"
242
+ viewBox="0 0 24 24"
243
+ >
244
+ <path
245
+ strokeLinecap="round"
246
+ strokeLinejoin="round"
247
+ strokeWidth={2}
248
+ d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
249
+ />
250
+ <path
251
+ strokeLinecap="round"
252
+ strokeLinejoin="round"
253
+ strokeWidth={2}
254
+ d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
255
+ />
256
+ </svg>
257
+ </div>
258
+ <h3 className="text-xl font-bold text-white mb-2 group-hover:text-indigo-400 transition-colors">
259
+ Zero Config
260
+ </h3>
261
+ <p className="text-gray-400 text-sm leading-relaxed">
262
+ Get started immediately with sensible defaults.
263
+ </p>
264
+ </div>
265
+ </section>
266
+
267
+ {/* Code Example */}
268
+ <section
269
+ id="examples"
270
+ className="glass-card rounded-2xl p-8 text-left border-white/10"
271
+ >
272
+ <h2 className="text-2xl font-bold text-white mb-6 text-center">
273
+ Quick Start
274
+ </h2>
275
+ <div className="bg-black/50 rounded-xl p-6 text-sm font-mono text-gray-300 overflow-x-auto border border-white/10 shadow-inner">
276
+ <div className="mb-4">
277
+ <div className="text-gray-500 mb-1">
278
+ # Initialize a new project
279
+ </div>
280
+ <div className="text-orange-400">npx arcanajs init</div>
281
+ </div>
282
+ <div className="mb-4">
283
+ <div className="text-gray-500 mb-1">
284
+ # Start development server
285
+ </div>
286
+ <div className="text-white">npm run dev</div>
287
+ </div>
288
+ <div>
289
+ <div className="text-gray-500 mb-1">
290
+ # Build for production
291
+ </div>
292
+ <div className="text-white">npm run build</div>
293
+ </div>
294
+ </div>
295
+ </section>
296
+ </div>
297
+ </main>
298
+
299
+ {/* Footer */}
300
+ <footer className="border-t border-white/5 mt-12 relative z-10 bg-black/20 backdrop-blur-md">
301
+ <div className="container mx-auto px-6 py-8">
302
+ <div className="flex flex-col md:flex-row items-center justify-between gap-4">
303
+ <div className="text-gray-500 text-sm">
304
+ &copy; 2025 ArcanaJS. All rights reserved.
305
+ </div>
306
+ <div className="flex gap-6 text-gray-500 text-sm">
307
+ <a href="#" className="hover:text-white transition-colors">
308
+ GitHub
309
+ </a>
310
+ <a href="#" className="hover:text-white transition-colors">
311
+ Docs
312
+ </a>
313
+ <a href="#" className="hover:text-white transition-colors">
314
+ Community
315
+ </a>
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </footer>
320
+ </div>
321
+ </div>
322
+ </Body>
323
+ </Page>
324
+ );
325
+ }
@@ -0,0 +1,109 @@
1
+ import React from "react";
2
+ import { Page, Head, Body } from "arcanajs";
3
+
4
+ interface NotFoundPageProps {
5
+ url?: string;
6
+ }
7
+
8
+ export default function NotFoundPage({ url }: NotFoundPageProps) {
9
+ return (
10
+ <Page>
11
+ <Head>
12
+ <title>404 - Page Not Found</title>
13
+ <meta
14
+ name="description"
15
+ content="The page you're looking for doesn't exist"
16
+ />
17
+ </Head>
18
+ <Body>
19
+ <div className="relative min-h-screen overflow-hidden bg-black text-white flex flex-col justify-center items-center px-4 font-sans">
20
+ {/* Animated Background */}
21
+ <div className="fixed inset-0 z-0 overflow-hidden pointer-events-none">
22
+ <div className="absolute inset-0 grid-pattern opacity-30"></div>
23
+ <div className="absolute top-1/4 left-1/4 w-96 h-96 bg-orange-500 rounded-full opacity-20 blur-3xl animate-glow"></div>
24
+ <div
25
+ className="absolute bottom-1/4 right-1/4 w-96 h-96 bg-purple-500 rounded-full opacity-10 blur-3xl animate-glow"
26
+ style={{ animationDelay: "2s" }}
27
+ ></div>
28
+ <div className="absolute inset-0 hero-gradient"></div>
29
+ </div>
30
+
31
+ <div className="relative z-10 max-w-lg w-full text-center animate-scale-in">
32
+ <div className="glass-card rounded-3xl p-12 border border-white/10 shadow-2xl">
33
+ <div className="mb-8">
34
+ <h1 className="text-9xl font-bold text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-500 mb-4 animate-float">
35
+ 404
36
+ </h1>
37
+ <h2 className="text-3xl font-bold text-white mb-4">
38
+ Page Not Found
39
+ </h2>
40
+ <p className="text-gray-400 text-lg leading-relaxed">
41
+ {url ? (
42
+ <>
43
+ The page <span className="text-orange-400">"{url}"</span>{" "}
44
+ you're looking for doesn't exist.
45
+ </>
46
+ ) : (
47
+ "The page you're looking for doesn't exist."
48
+ )}
49
+ </p>
50
+ </div>
51
+
52
+ <div className="flex flex-col sm:flex-row gap-4 justify-center">
53
+ <a
54
+ href="/"
55
+ className="btn-primary px-8 py-3.5 text-white font-semibold rounded-xl inline-flex items-center justify-center gap-2 w-full sm:w-auto"
56
+ >
57
+ <svg
58
+ className="w-5 h-5"
59
+ fill="none"
60
+ stroke="currentColor"
61
+ viewBox="0 0 24 24"
62
+ >
63
+ <path
64
+ strokeLinecap="round"
65
+ strokeLinejoin="round"
66
+ strokeWidth={2}
67
+ d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
68
+ />
69
+ </svg>
70
+ Go Home
71
+ </a>
72
+
73
+ <button
74
+ onClick={() => window.history.back()}
75
+ className="btn-secondary px-8 py-3.5 text-white font-semibold rounded-xl inline-flex items-center justify-center gap-2 w-full sm:w-auto"
76
+ >
77
+ <svg
78
+ className="w-5 h-5"
79
+ fill="none"
80
+ stroke="currentColor"
81
+ viewBox="0 0 24 24"
82
+ >
83
+ <path
84
+ strokeLinecap="round"
85
+ strokeLinejoin="round"
86
+ strokeWidth={2}
87
+ d="M10 19l-7-7m0 0l7-7m-7 7h18"
88
+ />
89
+ </svg>
90
+ Go Back
91
+ </button>
92
+ </div>
93
+ </div>
94
+ <div className="mt-8 text-gray-500 text-sm">
95
+ If you believe this is an error, please{" "}
96
+ <a
97
+ href="/contact"
98
+ className="text-orange-400 hover:text-orange-300 underline transition-colors"
99
+ >
100
+ contact support
101
+ </a>
102
+ .
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </Body>
107
+ </Page>
108
+ );
109
+ }
Binary file