@constructive-io/graphql-server 2.10.5
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.
- package/LICENSE +23 -0
- package/README.md +89 -0
- package/errors/404-message.d.ts +2 -0
- package/errors/404-message.js +232 -0
- package/errors/404.d.ts +2 -0
- package/errors/404.js +218 -0
- package/errors/50x.d.ts +2 -0
- package/errors/50x.js +216 -0
- package/esm/errors/404-message.js +230 -0
- package/esm/errors/404.js +216 -0
- package/esm/errors/50x.js +214 -0
- package/esm/index.js +2 -0
- package/esm/middleware/api.js +337 -0
- package/esm/middleware/auth.js +68 -0
- package/esm/middleware/cors.js +63 -0
- package/esm/middleware/flush.js +49 -0
- package/esm/middleware/gql.js +125 -0
- package/esm/middleware/graphile.js +84 -0
- package/esm/middleware/types.js +1 -0
- package/esm/plugins/PublicKeySignature.js +114 -0
- package/esm/run.js +8 -0
- package/esm/schema.js +86 -0
- package/esm/scripts/create-bucket.js +32 -0
- package/esm/server.js +95 -0
- package/esm/types.js +1 -0
- package/index.d.ts +2 -0
- package/index.js +18 -0
- package/middleware/api.d.ts +6 -0
- package/middleware/api.js +346 -0
- package/middleware/auth.d.ts +4 -0
- package/middleware/auth.js +75 -0
- package/middleware/cors.d.ts +14 -0
- package/middleware/cors.js +70 -0
- package/middleware/flush.d.ts +5 -0
- package/middleware/flush.js +54 -0
- package/middleware/gql.d.ts +6 -0
- package/middleware/gql.js +131 -0
- package/middleware/graphile.d.ts +4 -0
- package/middleware/graphile.js +91 -0
- package/middleware/types.d.ts +33 -0
- package/middleware/types.js +2 -0
- package/package.json +88 -0
- package/plugins/PublicKeySignature.d.ts +11 -0
- package/plugins/PublicKeySignature.js +121 -0
- package/run.d.ts +2 -0
- package/run.js +10 -0
- package/schema.d.ts +12 -0
- package/schema.js +123 -0
- package/scripts/create-bucket.d.ts +1 -0
- package/scripts/create-bucket.js +34 -0
- package/server.d.ts +17 -0
- package/server.js +102 -0
- package/types.d.ts +85 -0
- package/types.js +2 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Dan Lynch <pyramation@gmail.com>
|
|
4
|
+
Copyright (c) 2025 Constructive <developers@constructive.io>
|
|
5
|
+
Copyright (c) 2020-present, Interweb, Inc.
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# @constructive-io/graphql-server
|
|
2
|
+
|
|
3
|
+
<p align="center" width="100%">
|
|
4
|
+
<img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center" width="100%">
|
|
8
|
+
<a href="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml">
|
|
9
|
+
<img height="20" src="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml/badge.svg" />
|
|
10
|
+
</a>
|
|
11
|
+
<a href="https://github.com/constructive-io/constructive/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/@constructive-io/graphql-server"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/constructive?filename=packages%2Fserver%2Fpackage.json"/></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Education and Tutorials
|
|
18
|
+
|
|
19
|
+
1. 🚀 [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart)
|
|
20
|
+
Get started with modular databases in minutes. Install prerequisites and deploy your first module.
|
|
21
|
+
|
|
22
|
+
2. 📦 [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres)
|
|
23
|
+
Learn to organize PostgreSQL projects with pgpm workspaces and reusable database modules.
|
|
24
|
+
|
|
25
|
+
3. ✏️ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes)
|
|
26
|
+
Master the workflow for adding, organizing, and managing database changes with pgpm.
|
|
27
|
+
|
|
28
|
+
4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing)
|
|
29
|
+
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
30
|
+
|
|
31
|
+
5. ⚡ [Supabase Testing](https://constructive.io/learn/supabase)
|
|
32
|
+
Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
|
|
33
|
+
|
|
34
|
+
6. 💧 [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing)
|
|
35
|
+
Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
|
|
36
|
+
|
|
37
|
+
7. 🔧 [Troubleshooting](https://constructive.io/learn/troubleshooting)
|
|
38
|
+
Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
39
|
+
|
|
40
|
+
## Related Constructive Tooling
|
|
41
|
+
|
|
42
|
+
### 🧪 Testing
|
|
43
|
+
|
|
44
|
+
* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
45
|
+
* [supabase-test](https://github.com/constructive-io/constructive/tree/main/postgres/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
|
|
46
|
+
* [graphile-test](https://github.com/constructive-io/constructive/tree/main/graphile/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
47
|
+
* [pg-query-context](https://github.com/constructive-io/constructive/tree/main/postgres/pg-query-context): **🔒 Session context injection** to add session-local context (e.g., `SET LOCAL`) into queries—ideal for setting `role`, `jwt.claims`, and other session settings.
|
|
48
|
+
|
|
49
|
+
### 🧠 Parsing & AST
|
|
50
|
+
|
|
51
|
+
* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): **🔄 SQL conversion engine** that interprets and converts PostgreSQL syntax.
|
|
52
|
+
* [libpg-query-node](https://www.npmjs.com/package/libpg-query): **🌉 Node.js bindings** for `libpg_query`, converting SQL into parse trees.
|
|
53
|
+
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): **📦 Protobuf parser** for parsing PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
|
|
54
|
+
* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **🏷️ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
55
|
+
* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
56
|
+
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
57
|
+
* [pg-ast](https://www.npmjs.com/package/pg-ast): **🔍 Low-level AST tools** and transformations for Postgres query structures.
|
|
58
|
+
|
|
59
|
+
### 🚀 API & Dev Tools
|
|
60
|
+
|
|
61
|
+
* [@constructive-io/graphql-server](https://github.com/constructive-io/constructive/tree/main/graphql/server): **⚡ Express-based API server** powered by PostGraphile to expose a secure, scalable GraphQL API over your Postgres database.
|
|
62
|
+
* [@constructive-io/graphql-explorer](https://github.com/constructive-io/constructive/tree/main/graphql/explorer): **🔎 Visual API explorer** with GraphiQL for browsing across all databases and schemas—useful for debugging, documentation, and API prototyping.
|
|
63
|
+
|
|
64
|
+
### 🔁 Streaming & Uploads
|
|
65
|
+
|
|
66
|
+
* [etag-hash](https://github.com/constructive-io/constructive/tree/main/streaming/etag-hash): **🏷️ S3-compatible ETags** created by streaming and hashing file uploads in chunks.
|
|
67
|
+
* [etag-stream](https://github.com/constructive-io/constructive/tree/main/streaming/etag-stream): **🔄 ETag computation** via Node stream transformer during upload or transfer.
|
|
68
|
+
* [uuid-hash](https://github.com/constructive-io/constructive/tree/main/streaming/uuid-hash): **🆔 Deterministic UUIDs** generated from hashed content, great for deduplication and asset referencing.
|
|
69
|
+
* [uuid-stream](https://github.com/constructive-io/constructive/tree/main/streaming/uuid-stream): **🌊 Streaming UUID generation** based on piped file content—ideal for upload pipelines.
|
|
70
|
+
* [@constructive-io/s3-streamer](https://github.com/constructive-io/constructive/tree/main/streaming/s3-streamer): **📤 Direct S3 streaming** for large files with support for metadata injection and content validation.
|
|
71
|
+
* [@constructive-io/upload-names](https://github.com/constructive-io/constructive/tree/main/streaming/upload-names): **📂 Collision-resistant filenames** utility for structured and unique file names for uploads.
|
|
72
|
+
|
|
73
|
+
### 🧰 CLI & Codegen
|
|
74
|
+
|
|
75
|
+
* [pgpm](https://github.com/constructive-io/constructive/tree/main/pgpm/pgpm): **🖥️ PostgreSQL Package Manager** for modular Postgres development. Works with database workspaces, scaffolding, migrations, seeding, and installing database packages.
|
|
76
|
+
* [@constructive-io/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli): **🖥️ Command-line toolkit** for managing Constructive projects—supports database scaffolding, migrations, seeding, code generation, and automation.
|
|
77
|
+
* [@constructive-io/graphql-codegen](https://github.com/constructive-io/constructive/tree/main/graphql/codegen): **✨ GraphQL code generation** (types, operations, SDK) from schema/endpoint introspection.
|
|
78
|
+
* [@constructive-io/query-builder](https://github.com/constructive-io/constructive/tree/main/packages/query-builder): **🏗️ SQL constructor** providing a robust TypeScript-based query builder for dynamic generation of `SELECT`, `INSERT`, `UPDATE`, `DELETE`, and stored procedure calls—supports advanced SQL features like `JOIN`, `GROUP BY`, and schema-qualified queries.
|
|
79
|
+
* [@constructive-io/graphql-query](https://github.com/constructive-io/constructive/tree/main/graphql/query): **🧩 Fluent GraphQL builder** for PostGraphile schemas. ⚡ Schema-aware via introspection, 🧩 composable and ergonomic for building deeply nested queries.
|
|
80
|
+
|
|
81
|
+
## Credits
|
|
82
|
+
|
|
83
|
+
**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
|
|
84
|
+
|
|
85
|
+
## Disclaimer
|
|
86
|
+
|
|
87
|
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
88
|
+
|
|
89
|
+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = (message = "We’re really sorry about that. The service you were looking for doesn't exist.", html = '') => `
|
|
4
|
+
<html lang="en">
|
|
5
|
+
|
|
6
|
+
<head>
|
|
7
|
+
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
|
|
8
|
+
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
|
|
9
|
+
<META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">
|
|
10
|
+
<title>Not Found</title>
|
|
11
|
+
|
|
12
|
+
<link href='//fonts.googleapis.com/css2?family=Fjalla+One&display=swap' rel='stylesheet' type='text/css'>
|
|
13
|
+
|
|
14
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
15
|
+
<style>
|
|
16
|
+
.text-brand {
|
|
17
|
+
color: #01a1ff;
|
|
18
|
+
}
|
|
19
|
+
.text-brand:hover {
|
|
20
|
+
text-decoration: underline;
|
|
21
|
+
}
|
|
22
|
+
h1.text-brand:hover {
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
26
|
+
|
|
27
|
+
<style type="text/css">
|
|
28
|
+
.fade-in-cls {
|
|
29
|
+
-webkit-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
30
|
+
-moz-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
31
|
+
animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
32
|
+
-webkit-transform: translateY(10px);
|
|
33
|
+
-moz-transform: translateY(10px);
|
|
34
|
+
-o-transform: translateY(10px);
|
|
35
|
+
transform: translateY(10px);
|
|
36
|
+
-webkit-opacity: 0;
|
|
37
|
+
-moz-opacity: 0;
|
|
38
|
+
opacity: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@-webkit-keyframes fade-in {
|
|
42
|
+
100% {
|
|
43
|
+
-webkit-transform: translateY(0px);
|
|
44
|
+
-moz-transform: translateY(0px);
|
|
45
|
+
-o-transform: translateY(0px);
|
|
46
|
+
transform: translateY(0px);
|
|
47
|
+
-webkit-opacity: 1;
|
|
48
|
+
-moz-opacity: 1;
|
|
49
|
+
opacity: 1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@-moz-keyframes fade-in {
|
|
54
|
+
100% {
|
|
55
|
+
-webkit-transform: translateY(0px);
|
|
56
|
+
-moz-transform: translateY(0px);
|
|
57
|
+
-o-transform: translateY(0px);
|
|
58
|
+
transform: translateY(0px);
|
|
59
|
+
-webkit-opacity: 1;
|
|
60
|
+
-moz-opacity: 1;
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes fade-in {
|
|
66
|
+
100% {
|
|
67
|
+
-webkit-transform: translateY(0px);
|
|
68
|
+
-moz-transform: translateY(0px);
|
|
69
|
+
-o-transform: translateY(0px);
|
|
70
|
+
transform: translateY(0px);
|
|
71
|
+
-webkit-opacity: 1;
|
|
72
|
+
-moz-opacity: 1;
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.time {
|
|
78
|
+
|
|
79
|
+
-webkit-animation: ckw 15s infinite;
|
|
80
|
+
/* Safari 4+ */
|
|
81
|
+
-moz-animation: ckw 15s infinite;
|
|
82
|
+
/* Fx 5+ */
|
|
83
|
+
-o-animation: ckw 15s infinite;
|
|
84
|
+
/* Opera 12+ */
|
|
85
|
+
animation: ckw 15s infinite;
|
|
86
|
+
/* IE 10+, Fx 29+ */
|
|
87
|
+
-webkit-animation-timing-function: linear;
|
|
88
|
+
/* Chrome, Safari, Opera */
|
|
89
|
+
animation-timing-function: linear;
|
|
90
|
+
transform-origin: 50% 50%;
|
|
91
|
+
display: inline-block;
|
|
92
|
+
/* <--- */
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes ckw {
|
|
96
|
+
0% {
|
|
97
|
+
transform: rotate(0deg);
|
|
98
|
+
-webkit-transform: rotate(0deg);
|
|
99
|
+
-moz-transform: rotate(0deg);
|
|
100
|
+
-o-transform: rotate(0deg);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
100% {
|
|
104
|
+
transform: rotate(360deg);
|
|
105
|
+
-webkit-transform: rotate(360deg);
|
|
106
|
+
-moz-transform: rotate(360deg);
|
|
107
|
+
-o-transform: rotate(360deg);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@-webkit-keyframes ckw {
|
|
112
|
+
0% {
|
|
113
|
+
transform: rotate(0deg);
|
|
114
|
+
-webkit-transform: rotate(0deg);
|
|
115
|
+
-moz-transform: rotate(0deg);
|
|
116
|
+
-o-transform: rotate(0deg);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
100% {
|
|
120
|
+
transform: rotate(360deg);
|
|
121
|
+
-webkit-transform: rotate(360deg);
|
|
122
|
+
-moz-transform: rotate(360deg);
|
|
123
|
+
-o-transform: rotate(360deg);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@-moz-keyframes ckw {
|
|
128
|
+
0% {
|
|
129
|
+
transform: rotate(0deg);
|
|
130
|
+
-webkit-transform: rotate(0deg);
|
|
131
|
+
-moz-transform: rotate(0deg);
|
|
132
|
+
-o-transform: rotate(0deg);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
100% {
|
|
136
|
+
transform: rotate(360deg);
|
|
137
|
+
-webkit-transform: rotate(360deg);
|
|
138
|
+
-moz-transform: rotate(360deg);
|
|
139
|
+
-o-transform: rotate(360deg);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
body {
|
|
144
|
+
background-color: #dde7e9;
|
|
145
|
+
color: #01A1FF;
|
|
146
|
+
font-family: 'Fjalla One', sans-serif;
|
|
147
|
+
position: relative;
|
|
148
|
+
margin: 0px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
section {
|
|
152
|
+
width: 100%;
|
|
153
|
+
height: 100%;
|
|
154
|
+
position: absolute;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
article {
|
|
158
|
+
display: table;
|
|
159
|
+
width: 100%;
|
|
160
|
+
height: 100%;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* .border-top {
|
|
164
|
+
width: 95px;
|
|
165
|
+
background-color: #fff;
|
|
166
|
+
height: 2px;
|
|
167
|
+
display: inline-block;
|
|
168
|
+
margin: 0px auto;
|
|
169
|
+
} */
|
|
170
|
+
|
|
171
|
+
.vcntr {
|
|
172
|
+
display: table-cell;
|
|
173
|
+
height: 100%;
|
|
174
|
+
width: 100%;
|
|
175
|
+
vertical-align: middle;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.logo {
|
|
179
|
+
width: 100px;
|
|
180
|
+
margin: 10px auto;
|
|
181
|
+
display: block;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
h1 {
|
|
185
|
+
font-size: 21px;
|
|
186
|
+
line-height: 32px;
|
|
187
|
+
margin-bottom: 0px;
|
|
188
|
+
margin-top: 28px;
|
|
189
|
+
font-weight: 700;
|
|
190
|
+
text-transform: uppercase;
|
|
191
|
+
letter-spacing: 2px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
p {
|
|
195
|
+
font-size: 16px;
|
|
196
|
+
line-height: 23px;
|
|
197
|
+
margin-bottom: 8px;
|
|
198
|
+
margin-top: 6px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.textc {
|
|
202
|
+
text-align: center;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@media only screen and (max-width:480px) {
|
|
206
|
+
.logo {
|
|
207
|
+
width: 100px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
</style>
|
|
211
|
+
</head>
|
|
212
|
+
|
|
213
|
+
<body class="">
|
|
214
|
+
<section>
|
|
215
|
+
<article>
|
|
216
|
+
<div class="vcntr">
|
|
217
|
+
<div class="logo fade-in-cls">
|
|
218
|
+
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64.95 61.24"><path d="M16.36 43.47a14.56 14.56 0 01-8.79 0A11.16 11.16 0 011 38.34a8.83 8.83 0 01-.45-1A8.09 8.09 0 01.76 31a10.08 10.08 0 013.68-4.17 6.23 6.23 0 01-.24-.65A8.17 8.17 0 014.68 20a10.47 10.47 0 014.53-4.53 13.25 13.25 0 012.12-.9 12.35 12.35 0 012.5-7.45A17.35 17.35 0 0122.7 1a22.38 22.38 0 0113.48 0 17.07 17.07 0 019.42 6.9 18.75 18.75 0 019.8.4 14 14 0 018.29 6.46 10.17 10.17 0 01.78 1.83 10 10 0 01-.59 7.56 13.05 13.05 0 01-5.64 5.64A17.05 17.05 0 0155.4 31l-39 12.45zM64.92 36q-1.05 4.48-10.54 7.63l-.36.12L15 56.22a9.87 9.87 0 01-1.91.41C6.88 57.55 2.16 54.78 0 51.24a8.2 8.2 0 00.56 3.2 7.45 7.45 0 00.45 1 11.09 11.09 0 006.56 5.13 14.64 14.64 0 008.79 0l39-12.45a17.07 17.07 0 002.84-1.2 13 13 0 005.64-5.63 10.19 10.19 0 001-5.27zm0-8.59q-1.05 4.49-10.54 7.64l-.36.12L15 47.64a9.84 9.84 0 01-1.91.4C6.88 49 2.16 46.19 0 42.65a8.28 8.28 0 00.56 3.21 8.83 8.83 0 00.45 1A11.16 11.16 0 007.57 52a14.64 14.64 0 008.79 0l39-12.45a17.05 17.05 0 002.84-1.19 13.05 13.05 0 005.64-5.64 10.17 10.17 0 001-5.27zM9 39.13a10.11 10.11 0 006 0l39-12.45a12.25 12.25 0 002.06-.87 8.52 8.52 0 003.7-3.62 5.52 5.52 0 00.37-4.19 6.6 6.6 0 00-.46-1A9.57 9.57 0 0054 12.68a14.17 14.17 0 00-8.48 0l-.16.05-.2.07-2 .69-.84-2c-.07-.16-.12-.27-.14-.33l-.18-.27a12.26 12.26 0 00-7.2-5.51 17.85 17.85 0 00-10.73 0 12.81 12.81 0 00-6.56 4.44 7.58 7.58 0 00-1.47 6l.45 2.29-2.31.4c-.27 0-.5.09-.68.13s-.46.12-.66.19a8.31 8.31 0 00-1.47.62A5.88 5.88 0 008.78 22a3.71 3.71 0 00-.24 2.79 3.77 3.77 0 00.31.7c.07.13.15.26.24.4.1.14.19.27.29.39l2 2.44-3 1.13a9.92 9.92 0 00-.94.44 5.79 5.79 0 00-2.59 2.57 3.57 3.57 0 00-.1 2.83 4.9 4.9 0 00.22.48 6.69 6.69 0 003.92 3z" fill="#01a1ff"/></svg>
|
|
219
|
+
|
|
220
|
+
</div>
|
|
221
|
+
<div class="textc">
|
|
222
|
+
<h1>Not Found</h1>
|
|
223
|
+
<p>${message}</p>
|
|
224
|
+
${html}
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
</article>
|
|
228
|
+
</section>
|
|
229
|
+
</body>
|
|
230
|
+
|
|
231
|
+
</html>
|
|
232
|
+
`;
|
package/errors/404.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: "\n<html lang=\"en\">\n\n<head>\n <META HTTP-EQUIV=\"CACHE-CONTROL\" CONTENT=\"NO-CACHE\">\n <META NAME=\"ROBOTS\" CONTENT=\"NOINDEX, NOFOLLOW\">\n <META NAME=\"GOOGLEBOT\" CONTENT=\"NOARCHIVE\">\n <title>Not Found</title>\n\n <link href='//fonts.googleapis.com/css2?family=Fjalla+One&display=swap' rel='stylesheet' type='text/css'>\n\n <style type=\"text/css\">\n .fade-in-cls {\n -webkit-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);\n -moz-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);\n animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);\n -webkit-transform: translateY(10px);\n -moz-transform: translateY(10px);\n -o-transform: translateY(10px);\n transform: translateY(10px);\n -webkit-opacity: 0;\n -moz-opacity: 0;\n opacity: 0;\n }\n\n @-webkit-keyframes fade-in {\n 100% {\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n -webkit-opacity: 1;\n -moz-opacity: 1;\n opacity: 1;\n }\n }\n\n @-moz-keyframes fade-in {\n 100% {\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n -webkit-opacity: 1;\n -moz-opacity: 1;\n opacity: 1;\n }\n }\n\n @keyframes fade-in {\n 100% {\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n -webkit-opacity: 1;\n -moz-opacity: 1;\n opacity: 1;\n }\n }\n\n .time {\n\n -webkit-animation: ckw 15s infinite;\n /* Safari 4+ */\n -moz-animation: ckw 15s infinite;\n /* Fx 5+ */\n -o-animation: ckw 15s infinite;\n /* Opera 12+ */\n animation: ckw 15s infinite;\n /* IE 10+, Fx 29+ */\n -webkit-animation-timing-function: linear;\n /* Chrome, Safari, Opera */\n animation-timing-function: linear;\n transform-origin: 50% 50%;\n display: inline-block;\n /* <--- */\n }\n\n @keyframes ckw {\n 0% {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n }\n }\n\n @-webkit-keyframes ckw {\n 0% {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n }\n }\n\n @-moz-keyframes ckw {\n 0% {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n }\n }\n\n body {\n background-color: #dde7e9;\n color: #01A1FF;\n font-family: 'Fjalla One', sans-serif;\n position: relative;\n margin: 0px;\n }\n\n section {\n width: 100%;\n height: 100%;\n position: absolute;\n }\n\n article {\n display: table;\n width: 100%;\n height: 100%;\n }\n\n /* .border-top {\n width: 95px;\n background-color: #fff;\n height: 2px;\n display: inline-block;\n margin: 0px auto;\n } */\n\n .vcntr {\n display: table-cell;\n height: 100%;\n width: 100%;\n vertical-align: middle;\n }\n\n .logo {\n width: 100px;\n margin: 10px auto;\n display: block;\n }\n\n h1 {\n font-size: 21px;\n line-height: 32px;\n margin-bottom: 0px;\n margin-top: 28px;\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 2px;\n }\n\n p {\n font-size: 16px;\n line-height: 23px;\n margin-bottom: 8px;\n margin-top: 6px;\n }\n\n .textc {\n text-align: center;\n }\n\n @media only screen and (max-width:480px) {\n .logo {\n width: 100px;\n }\n }\n </style>\n</head>\n\n<body class=\"\">\n <section>\n <article>\n <div class=\"vcntr\">\n <div class=\"logo fade-in-cls\">\n <svg data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64.95 61.24\"><path d=\"M16.36 43.47a14.56 14.56 0 01-8.79 0A11.16 11.16 0 011 38.34a8.83 8.83 0 01-.45-1A8.09 8.09 0 01.76 31a10.08 10.08 0 013.68-4.17 6.23 6.23 0 01-.24-.65A8.17 8.17 0 014.68 20a10.47 10.47 0 014.53-4.53 13.25 13.25 0 012.12-.9 12.35 12.35 0 012.5-7.45A17.35 17.35 0 0122.7 1a22.38 22.38 0 0113.48 0 17.07 17.07 0 019.42 6.9 18.75 18.75 0 019.8.4 14 14 0 018.29 6.46 10.17 10.17 0 01.78 1.83 10 10 0 01-.59 7.56 13.05 13.05 0 01-5.64 5.64A17.05 17.05 0 0155.4 31l-39 12.45zM64.92 36q-1.05 4.48-10.54 7.63l-.36.12L15 56.22a9.87 9.87 0 01-1.91.41C6.88 57.55 2.16 54.78 0 51.24a8.2 8.2 0 00.56 3.2 7.45 7.45 0 00.45 1 11.09 11.09 0 006.56 5.13 14.64 14.64 0 008.79 0l39-12.45a17.07 17.07 0 002.84-1.2 13 13 0 005.64-5.63 10.19 10.19 0 001-5.27zm0-8.59q-1.05 4.49-10.54 7.64l-.36.12L15 47.64a9.84 9.84 0 01-1.91.4C6.88 49 2.16 46.19 0 42.65a8.28 8.28 0 00.56 3.21 8.83 8.83 0 00.45 1A11.16 11.16 0 007.57 52a14.64 14.64 0 008.79 0l39-12.45a17.05 17.05 0 002.84-1.19 13.05 13.05 0 005.64-5.64 10.17 10.17 0 001-5.27zM9 39.13a10.11 10.11 0 006 0l39-12.45a12.25 12.25 0 002.06-.87 8.52 8.52 0 003.7-3.62 5.52 5.52 0 00.37-4.19 6.6 6.6 0 00-.46-1A9.57 9.57 0 0054 12.68a14.17 14.17 0 00-8.48 0l-.16.05-.2.07-2 .69-.84-2c-.07-.16-.12-.27-.14-.33l-.18-.27a12.26 12.26 0 00-7.2-5.51 17.85 17.85 0 00-10.73 0 12.81 12.81 0 00-6.56 4.44 7.58 7.58 0 00-1.47 6l.45 2.29-2.31.4c-.27 0-.5.09-.68.13s-.46.12-.66.19a8.31 8.31 0 00-1.47.62A5.88 5.88 0 008.78 22a3.71 3.71 0 00-.24 2.79 3.77 3.77 0 00.31.7c.07.13.15.26.24.4.1.14.19.27.29.39l2 2.44-3 1.13a9.92 9.92 0 00-.94.44 5.79 5.79 0 00-2.59 2.57 3.57 3.57 0 00-.1 2.83 4.9 4.9 0 00.22.48 6.69 6.69 0 003.92 3z\" fill=\"#01a1ff\"/></svg>\n\n </div>\n <div class=\"textc\">\n <h1>Not Found</h1>\n <p>We\u2019re really sorry about that. The service you were looking for doesn't exist.</p>\n </div>\n </div>\n </article>\n </section>\n</body>\n\n</html>\n";
|
|
2
|
+
export default _default;
|
package/errors/404.js
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = `
|
|
4
|
+
<html lang="en">
|
|
5
|
+
|
|
6
|
+
<head>
|
|
7
|
+
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
|
|
8
|
+
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
|
|
9
|
+
<META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">
|
|
10
|
+
<title>Not Found</title>
|
|
11
|
+
|
|
12
|
+
<link href='//fonts.googleapis.com/css2?family=Fjalla+One&display=swap' rel='stylesheet' type='text/css'>
|
|
13
|
+
|
|
14
|
+
<style type="text/css">
|
|
15
|
+
.fade-in-cls {
|
|
16
|
+
-webkit-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
17
|
+
-moz-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
18
|
+
animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
19
|
+
-webkit-transform: translateY(10px);
|
|
20
|
+
-moz-transform: translateY(10px);
|
|
21
|
+
-o-transform: translateY(10px);
|
|
22
|
+
transform: translateY(10px);
|
|
23
|
+
-webkit-opacity: 0;
|
|
24
|
+
-moz-opacity: 0;
|
|
25
|
+
opacity: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@-webkit-keyframes fade-in {
|
|
29
|
+
100% {
|
|
30
|
+
-webkit-transform: translateY(0px);
|
|
31
|
+
-moz-transform: translateY(0px);
|
|
32
|
+
-o-transform: translateY(0px);
|
|
33
|
+
transform: translateY(0px);
|
|
34
|
+
-webkit-opacity: 1;
|
|
35
|
+
-moz-opacity: 1;
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@-moz-keyframes fade-in {
|
|
41
|
+
100% {
|
|
42
|
+
-webkit-transform: translateY(0px);
|
|
43
|
+
-moz-transform: translateY(0px);
|
|
44
|
+
-o-transform: translateY(0px);
|
|
45
|
+
transform: translateY(0px);
|
|
46
|
+
-webkit-opacity: 1;
|
|
47
|
+
-moz-opacity: 1;
|
|
48
|
+
opacity: 1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@keyframes fade-in {
|
|
53
|
+
100% {
|
|
54
|
+
-webkit-transform: translateY(0px);
|
|
55
|
+
-moz-transform: translateY(0px);
|
|
56
|
+
-o-transform: translateY(0px);
|
|
57
|
+
transform: translateY(0px);
|
|
58
|
+
-webkit-opacity: 1;
|
|
59
|
+
-moz-opacity: 1;
|
|
60
|
+
opacity: 1;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.time {
|
|
65
|
+
|
|
66
|
+
-webkit-animation: ckw 15s infinite;
|
|
67
|
+
/* Safari 4+ */
|
|
68
|
+
-moz-animation: ckw 15s infinite;
|
|
69
|
+
/* Fx 5+ */
|
|
70
|
+
-o-animation: ckw 15s infinite;
|
|
71
|
+
/* Opera 12+ */
|
|
72
|
+
animation: ckw 15s infinite;
|
|
73
|
+
/* IE 10+, Fx 29+ */
|
|
74
|
+
-webkit-animation-timing-function: linear;
|
|
75
|
+
/* Chrome, Safari, Opera */
|
|
76
|
+
animation-timing-function: linear;
|
|
77
|
+
transform-origin: 50% 50%;
|
|
78
|
+
display: inline-block;
|
|
79
|
+
/* <--- */
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@keyframes ckw {
|
|
83
|
+
0% {
|
|
84
|
+
transform: rotate(0deg);
|
|
85
|
+
-webkit-transform: rotate(0deg);
|
|
86
|
+
-moz-transform: rotate(0deg);
|
|
87
|
+
-o-transform: rotate(0deg);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
100% {
|
|
91
|
+
transform: rotate(360deg);
|
|
92
|
+
-webkit-transform: rotate(360deg);
|
|
93
|
+
-moz-transform: rotate(360deg);
|
|
94
|
+
-o-transform: rotate(360deg);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@-webkit-keyframes ckw {
|
|
99
|
+
0% {
|
|
100
|
+
transform: rotate(0deg);
|
|
101
|
+
-webkit-transform: rotate(0deg);
|
|
102
|
+
-moz-transform: rotate(0deg);
|
|
103
|
+
-o-transform: rotate(0deg);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
100% {
|
|
107
|
+
transform: rotate(360deg);
|
|
108
|
+
-webkit-transform: rotate(360deg);
|
|
109
|
+
-moz-transform: rotate(360deg);
|
|
110
|
+
-o-transform: rotate(360deg);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@-moz-keyframes ckw {
|
|
115
|
+
0% {
|
|
116
|
+
transform: rotate(0deg);
|
|
117
|
+
-webkit-transform: rotate(0deg);
|
|
118
|
+
-moz-transform: rotate(0deg);
|
|
119
|
+
-o-transform: rotate(0deg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
100% {
|
|
123
|
+
transform: rotate(360deg);
|
|
124
|
+
-webkit-transform: rotate(360deg);
|
|
125
|
+
-moz-transform: rotate(360deg);
|
|
126
|
+
-o-transform: rotate(360deg);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
body {
|
|
131
|
+
background-color: #dde7e9;
|
|
132
|
+
color: #01A1FF;
|
|
133
|
+
font-family: 'Fjalla One', sans-serif;
|
|
134
|
+
position: relative;
|
|
135
|
+
margin: 0px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
section {
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: 100%;
|
|
141
|
+
position: absolute;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
article {
|
|
145
|
+
display: table;
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 100%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* .border-top {
|
|
151
|
+
width: 95px;
|
|
152
|
+
background-color: #fff;
|
|
153
|
+
height: 2px;
|
|
154
|
+
display: inline-block;
|
|
155
|
+
margin: 0px auto;
|
|
156
|
+
} */
|
|
157
|
+
|
|
158
|
+
.vcntr {
|
|
159
|
+
display: table-cell;
|
|
160
|
+
height: 100%;
|
|
161
|
+
width: 100%;
|
|
162
|
+
vertical-align: middle;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.logo {
|
|
166
|
+
width: 100px;
|
|
167
|
+
margin: 10px auto;
|
|
168
|
+
display: block;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
h1 {
|
|
172
|
+
font-size: 21px;
|
|
173
|
+
line-height: 32px;
|
|
174
|
+
margin-bottom: 0px;
|
|
175
|
+
margin-top: 28px;
|
|
176
|
+
font-weight: 700;
|
|
177
|
+
text-transform: uppercase;
|
|
178
|
+
letter-spacing: 2px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
p {
|
|
182
|
+
font-size: 16px;
|
|
183
|
+
line-height: 23px;
|
|
184
|
+
margin-bottom: 8px;
|
|
185
|
+
margin-top: 6px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.textc {
|
|
189
|
+
text-align: center;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@media only screen and (max-width:480px) {
|
|
193
|
+
.logo {
|
|
194
|
+
width: 100px;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
</style>
|
|
198
|
+
</head>
|
|
199
|
+
|
|
200
|
+
<body class="">
|
|
201
|
+
<section>
|
|
202
|
+
<article>
|
|
203
|
+
<div class="vcntr">
|
|
204
|
+
<div class="logo fade-in-cls">
|
|
205
|
+
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64.95 61.24"><path d="M16.36 43.47a14.56 14.56 0 01-8.79 0A11.16 11.16 0 011 38.34a8.83 8.83 0 01-.45-1A8.09 8.09 0 01.76 31a10.08 10.08 0 013.68-4.17 6.23 6.23 0 01-.24-.65A8.17 8.17 0 014.68 20a10.47 10.47 0 014.53-4.53 13.25 13.25 0 012.12-.9 12.35 12.35 0 012.5-7.45A17.35 17.35 0 0122.7 1a22.38 22.38 0 0113.48 0 17.07 17.07 0 019.42 6.9 18.75 18.75 0 019.8.4 14 14 0 018.29 6.46 10.17 10.17 0 01.78 1.83 10 10 0 01-.59 7.56 13.05 13.05 0 01-5.64 5.64A17.05 17.05 0 0155.4 31l-39 12.45zM64.92 36q-1.05 4.48-10.54 7.63l-.36.12L15 56.22a9.87 9.87 0 01-1.91.41C6.88 57.55 2.16 54.78 0 51.24a8.2 8.2 0 00.56 3.2 7.45 7.45 0 00.45 1 11.09 11.09 0 006.56 5.13 14.64 14.64 0 008.79 0l39-12.45a17.07 17.07 0 002.84-1.2 13 13 0 005.64-5.63 10.19 10.19 0 001-5.27zm0-8.59q-1.05 4.49-10.54 7.64l-.36.12L15 47.64a9.84 9.84 0 01-1.91.4C6.88 49 2.16 46.19 0 42.65a8.28 8.28 0 00.56 3.21 8.83 8.83 0 00.45 1A11.16 11.16 0 007.57 52a14.64 14.64 0 008.79 0l39-12.45a17.05 17.05 0 002.84-1.19 13.05 13.05 0 005.64-5.64 10.17 10.17 0 001-5.27zM9 39.13a10.11 10.11 0 006 0l39-12.45a12.25 12.25 0 002.06-.87 8.52 8.52 0 003.7-3.62 5.52 5.52 0 00.37-4.19 6.6 6.6 0 00-.46-1A9.57 9.57 0 0054 12.68a14.17 14.17 0 00-8.48 0l-.16.05-.2.07-2 .69-.84-2c-.07-.16-.12-.27-.14-.33l-.18-.27a12.26 12.26 0 00-7.2-5.51 17.85 17.85 0 00-10.73 0 12.81 12.81 0 00-6.56 4.44 7.58 7.58 0 00-1.47 6l.45 2.29-2.31.4c-.27 0-.5.09-.68.13s-.46.12-.66.19a8.31 8.31 0 00-1.47.62A5.88 5.88 0 008.78 22a3.71 3.71 0 00-.24 2.79 3.77 3.77 0 00.31.7c.07.13.15.26.24.4.1.14.19.27.29.39l2 2.44-3 1.13a9.92 9.92 0 00-.94.44 5.79 5.79 0 00-2.59 2.57 3.57 3.57 0 00-.1 2.83 4.9 4.9 0 00.22.48 6.69 6.69 0 003.92 3z" fill="#01a1ff"/></svg>
|
|
206
|
+
|
|
207
|
+
</div>
|
|
208
|
+
<div class="textc">
|
|
209
|
+
<h1>Not Found</h1>
|
|
210
|
+
<p>We’re really sorry about that. The service you were looking for doesn't exist.</p>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</article>
|
|
214
|
+
</section>
|
|
215
|
+
</body>
|
|
216
|
+
|
|
217
|
+
</html>
|
|
218
|
+
`;
|
package/errors/50x.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: "\n<html lang=\"en\">\n\n<head>\n <META HTTP-EQUIV=\"CACHE-CONTROL\" CONTENT=\"NO-CACHE\">\n <META NAME=\"ROBOTS\" CONTENT=\"NOINDEX, NOFOLLOW\">\n <META NAME=\"GOOGLEBOT\" CONTENT=\"NOARCHIVE\">\n <title>Uh Oh</title>\n\n <link href='//fonts.googleapis.com/css2?family=Fjalla+One&display=swap' rel='stylesheet' type='text/css'>\n\n <style type=\"text/css\">\n .fade-in-cls {\n -webkit-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);\n -moz-animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);\n animation: fade-in 2s 0.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);\n -webkit-transform: translateY(10px);\n -moz-transform: translateY(10px);\n -o-transform: translateY(10px);\n transform: translateY(10px);\n -webkit-opacity: 0;\n -moz-opacity: 0;\n opacity: 0;\n }\n\n @-webkit-keyframes fade-in {\n 100% {\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n -webkit-opacity: 1;\n -moz-opacity: 1;\n opacity: 1;\n }\n }\n\n @-moz-keyframes fade-in {\n 100% {\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n -webkit-opacity: 1;\n -moz-opacity: 1;\n opacity: 1;\n }\n }\n\n @keyframes fade-in {\n 100% {\n -webkit-transform: translateY(0px);\n -moz-transform: translateY(0px);\n -o-transform: translateY(0px);\n transform: translateY(0px);\n -webkit-opacity: 1;\n -moz-opacity: 1;\n opacity: 1;\n }\n }\n\n .time {\n\n -webkit-animation: ckw 15s infinite;\n /* Safari 4+ */\n -moz-animation: ckw 15s infinite;\n /* Fx 5+ */\n -o-animation: ckw 15s infinite;\n /* Opera 12+ */\n animation: ckw 15s infinite;\n /* IE 10+, Fx 29+ */\n -webkit-animation-timing-function: linear;\n /* Chrome, Safari, Opera */\n animation-timing-function: linear;\n transform-origin: 50% 50%;\n display: inline-block;\n /* <--- */\n }\n\n @keyframes ckw {\n 0% {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n }\n }\n\n @-webkit-keyframes ckw {\n 0% {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n }\n }\n\n @-moz-keyframes ckw {\n 0% {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -o-transform: rotate(360deg);\n }\n }\n\n body {\n background-color: #dde7e9;\n color: #01A1FF;\n font-family: 'Fjalla One', sans-serif;\n position: relative;\n margin: 0px;\n }\n\n section {\n width: 100%;\n height: 100%;\n position: absolute;\n }\n\n article {\n display: table;\n width: 100%;\n height: 100%;\n }\n\n /* .border-top {\n width: 95px;\n background-color: #fff;\n height: 2px;\n display: inline-block;\n margin: 0px auto;\n } */\n\n .vcntr {\n display: table-cell;\n height: 100%;\n width: 100%;\n vertical-align: middle;\n }\n\n .logo {\n width: 100px;\n margin: 10px auto;\n display: block;\n }\n\n h1 {\n font-size: 21px;\n line-height: 32px;\n margin-bottom: 0px;\n margin-top: 28px;\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 2px;\n }\n\n p {\n font-size: 16px;\n line-height: 23px;\n margin-bottom: 8px;\n margin-top: 6px;\n }\n\n .textc {\n text-align: center;\n }\n\n @media only screen and (max-width:480px) {\n .logo {\n width: 100px;\n }\n }\n </style>\n</head>\n\n<body class=\"\">\n <section>\n <article>\n <div class=\"vcntr\">\n <div class=\"logo fade-in-cls\">\n <svg data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64.95 61.24\"><path d=\"M16.36 43.47a14.56 14.56 0 01-8.79 0A11.16 11.16 0 011 38.34a8.83 8.83 0 01-.45-1A8.09 8.09 0 01.76 31a10.08 10.08 0 013.68-4.17 6.23 6.23 0 01-.24-.65A8.17 8.17 0 014.68 20a10.47 10.47 0 014.53-4.53 13.25 13.25 0 012.12-.9 12.35 12.35 0 012.5-7.45A17.35 17.35 0 0122.7 1a22.38 22.38 0 0113.48 0 17.07 17.07 0 019.42 6.9 18.75 18.75 0 019.8.4 14 14 0 018.29 6.46 10.17 10.17 0 01.78 1.83 10 10 0 01-.59 7.56 13.05 13.05 0 01-5.64 5.64A17.05 17.05 0 0155.4 31l-39 12.45zM64.92 36q-1.05 4.48-10.54 7.63l-.36.12L15 56.22a9.87 9.87 0 01-1.91.41C6.88 57.55 2.16 54.78 0 51.24a8.2 8.2 0 00.56 3.2 7.45 7.45 0 00.45 1 11.09 11.09 0 006.56 5.13 14.64 14.64 0 008.79 0l39-12.45a17.07 17.07 0 002.84-1.2 13 13 0 005.64-5.63 10.19 10.19 0 001-5.27zm0-8.59q-1.05 4.49-10.54 7.64l-.36.12L15 47.64a9.84 9.84 0 01-1.91.4C6.88 49 2.16 46.19 0 42.65a8.28 8.28 0 00.56 3.21 8.83 8.83 0 00.45 1A11.16 11.16 0 007.57 52a14.64 14.64 0 008.79 0l39-12.45a17.05 17.05 0 002.84-1.19 13.05 13.05 0 005.64-5.64 10.17 10.17 0 001-5.27zM9 39.13a10.11 10.11 0 006 0l39-12.45a12.25 12.25 0 002.06-.87 8.52 8.52 0 003.7-3.62 5.52 5.52 0 00.37-4.19 6.6 6.6 0 00-.46-1A9.57 9.57 0 0054 12.68a14.17 14.17 0 00-8.48 0l-.16.05-.2.07-2 .69-.84-2c-.07-.16-.12-.27-.14-.33l-.18-.27a12.26 12.26 0 00-7.2-5.51 17.85 17.85 0 00-10.73 0 12.81 12.81 0 00-6.56 4.44 7.58 7.58 0 00-1.47 6l.45 2.29-2.31.4c-.27 0-.5.09-.68.13s-.46.12-.66.19a8.31 8.31 0 00-1.47.62A5.88 5.88 0 008.78 22a3.71 3.71 0 00-.24 2.79 3.77 3.77 0 00.31.7c.07.13.15.26.24.4.1.14.19.27.29.39l2 2.44-3 1.13a9.92 9.92 0 00-.94.44 5.79 5.79 0 00-2.59 2.57 3.57 3.57 0 00-.1 2.83 4.9 4.9 0 00.22.48 6.69 6.69 0 003.92 3z\" fill=\"#01a1ff\"/></svg>\n </div>\n <div class=\"textc\">\n <h1>Uh Oh!</h1>\n <p>We\u2019re really sorry about that. Please contact support of the issue persists.</p>\n </div>\n </div>\n </article>\n </section>\n</body>\n\n</html>";
|
|
2
|
+
export default _default;
|