@everymatrix/casino-404 0.0.367 → 0.0.368
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/README.md +30 -30
- package/dist/casino-404.js +1 -1
- package/dist/casino-404.js.map +1 -1
- package/index.html +37 -37
- package/index.js +1 -1
- package/package.json +2 -2
- package/public/reset.css +47 -47
- package/rollup.config.js +59 -59
- package/src/Casino_404.svelte +158 -158
- package/src/i18n.js +27 -27
- package/src/index.ts +4 -4
- package/src/translations.js +107 -107
- package/stories/Casino_404.stories.js +13 -13
- package/tsconfig.json +6 -6
package/index.html
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
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
|
-
|
|
7
|
-
<title>
|
|
8
|
-
casino-404
|
|
9
|
-
</title>
|
|
10
|
-
<link rel="stylesheet" href="public/reset.css">
|
|
11
|
-
<script src='dist/casino-404.js'></script>
|
|
12
|
-
</head>
|
|
13
|
-
|
|
14
|
-
<body>
|
|
15
|
-
<style>
|
|
16
|
-
html,body { margin: 0; padding: 0; height: 100%; font-family: "Helvetica Neue", "Helvetica", sans-serif; }
|
|
17
|
-
.header { display: flex; justify-content: center; align-items: center; padding: 10px 20px; margin-bottom: 20px; background: #42a3e2; box-shadow: 3px 4px 5px 0px rgba(0,0,0, .2); }
|
|
18
|
-
.header__logo svg { height: 50px; width: 50px; margin-right: 5px; }
|
|
19
|
-
.header__name { color: #fff; }
|
|
20
|
-
.header__name span { margin-right: 10px; font-weight: bold; }
|
|
21
|
-
.webcomponent { padding: 10px 20px; }
|
|
22
|
-
</style>
|
|
23
|
-
<header class="header">
|
|
24
|
-
<div class="header__logo">
|
|
25
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="161" height="132" viewBox="0 0 161 132"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="#2A3B8F" offset="0%"/><stop stop-color="#29ABE2" offset="100%"/></linearGradient><linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="c"><stop stop-color="#B4D44E" offset="0%"/><stop stop-color="#E7F716" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="#166DA5" d="M160.6 65.9l-17.4 29.3-24.4-29.7 24.4-28.9z"/><path fill="#8FDB69" d="M141.3 100.2l-26.5-31.7-15.9 26.6 24.7 36.1z"/><path fill="#166DA5" d="M141 31.4l-26.2 31.8-15.9-26.6L123.6.9z"/><path fill="url(#a)" opacity=".95" d="M61.1 31.4H141L123.4.7H78.7z M114.8 63.3H159l-15.9-26.8H98.8"/><path fill="url(#c)" opacity=".95" d="M141.3 100.3H61l17.6 30.5h45z M114.8 68.4H159l-15.9 26.8H98.8"/><path fill="#010101" d="M78.6 130.8L41 65.8 79.1.8H37.9L.4 65.8l37.5 65z"/></g></svg>
|
|
26
|
-
</div>
|
|
27
|
-
<h1 class="header__name">
|
|
28
|
-
<span>WEBCOMPONENT:</span> casino-404
|
|
29
|
-
</h1>
|
|
30
|
-
</header>
|
|
31
|
-
|
|
32
|
-
<div class="webcomponent">
|
|
33
|
-
<casino-404 lang="ro"></casino-404>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
</body>
|
|
37
|
-
</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
|
+
|
|
7
|
+
<title>
|
|
8
|
+
casino-404
|
|
9
|
+
</title>
|
|
10
|
+
<link rel="stylesheet" href="public/reset.css">
|
|
11
|
+
<script src='dist/casino-404.js'></script>
|
|
12
|
+
</head>
|
|
13
|
+
|
|
14
|
+
<body>
|
|
15
|
+
<style>
|
|
16
|
+
html,body { margin: 0; padding: 0; height: 100%; font-family: "Helvetica Neue", "Helvetica", sans-serif; }
|
|
17
|
+
.header { display: flex; justify-content: center; align-items: center; padding: 10px 20px; margin-bottom: 20px; background: #42a3e2; box-shadow: 3px 4px 5px 0px rgba(0,0,0, .2); }
|
|
18
|
+
.header__logo svg { height: 50px; width: 50px; margin-right: 5px; }
|
|
19
|
+
.header__name { color: #fff; }
|
|
20
|
+
.header__name span { margin-right: 10px; font-weight: bold; }
|
|
21
|
+
.webcomponent { padding: 10px 20px; }
|
|
22
|
+
</style>
|
|
23
|
+
<header class="header">
|
|
24
|
+
<div class="header__logo">
|
|
25
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="161" height="132" viewBox="0 0 161 132"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="#2A3B8F" offset="0%"/><stop stop-color="#29ABE2" offset="100%"/></linearGradient><linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="c"><stop stop-color="#B4D44E" offset="0%"/><stop stop-color="#E7F716" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="#166DA5" d="M160.6 65.9l-17.4 29.3-24.4-29.7 24.4-28.9z"/><path fill="#8FDB69" d="M141.3 100.2l-26.5-31.7-15.9 26.6 24.7 36.1z"/><path fill="#166DA5" d="M141 31.4l-26.2 31.8-15.9-26.6L123.6.9z"/><path fill="url(#a)" opacity=".95" d="M61.1 31.4H141L123.4.7H78.7z M114.8 63.3H159l-15.9-26.8H98.8"/><path fill="url(#c)" opacity=".95" d="M141.3 100.3H61l17.6 30.5h45z M114.8 68.4H159l-15.9 26.8H98.8"/><path fill="#010101" d="M78.6 130.8L41 65.8 79.1.8H37.9L.4 65.8l37.5 65z"/></g></svg>
|
|
26
|
+
</div>
|
|
27
|
+
<h1 class="header__name">
|
|
28
|
+
<span>WEBCOMPONENT:</span> casino-404
|
|
29
|
+
</h1>
|
|
30
|
+
</header>
|
|
31
|
+
|
|
32
|
+
<div class="webcomponent">
|
|
33
|
+
<casino-404 lang="ro"></casino-404>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
</body>
|
|
37
|
+
</html>
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import './dist/casino-404.js';
|
|
1
|
+
import './dist/casino-404.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-404",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.368",
|
|
4
4
|
"main": "dist/casino-404.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8de3cc787cc97aec99916dfedb01ec69ac55ba98"
|
|
40
40
|
}
|
package/public/reset.css
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
|
2
|
-
v2.0 | 20110126
|
|
3
|
-
License: none (public domain)
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
html, body, div, span, applet, object, iframe,
|
|
7
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
8
|
-
a, abbr, acronym, address, big, cite, code,
|
|
9
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
10
|
-
small, strike, strong, sub, sup, tt, var,
|
|
11
|
-
b, u, i, center,
|
|
12
|
-
dl, dt, dd, ol, ul, li,
|
|
13
|
-
fieldset, form, label, legend,
|
|
14
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
15
|
-
article, aside, canvas, details, embed,
|
|
16
|
-
figure, figcaption, footer, header, hgroup,
|
|
17
|
-
menu, nav, output, ruby, section, summary,
|
|
18
|
-
time, mark, audio, video {
|
|
19
|
-
margin: 0;
|
|
20
|
-
padding: 0;
|
|
21
|
-
border: 0;
|
|
22
|
-
font-size: 100%;
|
|
23
|
-
font: inherit;
|
|
24
|
-
vertical-align: baseline;
|
|
25
|
-
}
|
|
26
|
-
/* HTML5 display-role reset for older browsers */
|
|
27
|
-
article, aside, details, figcaption, figure,
|
|
28
|
-
footer, header, hgroup, menu, nav, section {
|
|
29
|
-
display: block;
|
|
30
|
-
}
|
|
31
|
-
body {
|
|
32
|
-
line-height: 1;
|
|
33
|
-
}
|
|
34
|
-
ol, ul {
|
|
35
|
-
list-style: none;
|
|
36
|
-
}
|
|
37
|
-
blockquote, q {
|
|
38
|
-
quotes: none;
|
|
39
|
-
}
|
|
40
|
-
blockquote:before, blockquote:after,
|
|
41
|
-
q:before, q:after {
|
|
42
|
-
content: '';
|
|
43
|
-
content: none;
|
|
44
|
-
}
|
|
45
|
-
table {
|
|
46
|
-
border-collapse: collapse;
|
|
47
|
-
border-spacing: 0;
|
|
1
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
|
2
|
+
v2.0 | 20110126
|
|
3
|
+
License: none (public domain)
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
html, body, div, span, applet, object, iframe,
|
|
7
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
8
|
+
a, abbr, acronym, address, big, cite, code,
|
|
9
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
10
|
+
small, strike, strong, sub, sup, tt, var,
|
|
11
|
+
b, u, i, center,
|
|
12
|
+
dl, dt, dd, ol, ul, li,
|
|
13
|
+
fieldset, form, label, legend,
|
|
14
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
15
|
+
article, aside, canvas, details, embed,
|
|
16
|
+
figure, figcaption, footer, header, hgroup,
|
|
17
|
+
menu, nav, output, ruby, section, summary,
|
|
18
|
+
time, mark, audio, video {
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
border: 0;
|
|
22
|
+
font-size: 100%;
|
|
23
|
+
font: inherit;
|
|
24
|
+
vertical-align: baseline;
|
|
25
|
+
}
|
|
26
|
+
/* HTML5 display-role reset for older browsers */
|
|
27
|
+
article, aside, details, figcaption, figure,
|
|
28
|
+
footer, header, hgroup, menu, nav, section {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
body {
|
|
32
|
+
line-height: 1;
|
|
33
|
+
}
|
|
34
|
+
ol, ul {
|
|
35
|
+
list-style: none;
|
|
36
|
+
}
|
|
37
|
+
blockquote, q {
|
|
38
|
+
quotes: none;
|
|
39
|
+
}
|
|
40
|
+
blockquote:before, blockquote:after,
|
|
41
|
+
q:before, q:after {
|
|
42
|
+
content: '';
|
|
43
|
+
content: none;
|
|
44
|
+
}
|
|
45
|
+
table {
|
|
46
|
+
border-collapse: collapse;
|
|
47
|
+
border-spacing: 0;
|
|
48
48
|
}
|
package/rollup.config.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import svelte from 'rollup-plugin-svelte';
|
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
4
|
-
import serve from 'rollup-plugin-dev-server';
|
|
5
|
-
import livereload from 'rollup-plugin-livereload';
|
|
6
|
-
import { terser } from 'rollup-plugin-terser';
|
|
7
|
-
import sveltePreprocess from 'svelte-preprocess';
|
|
8
|
-
import typescript from '@rollup/plugin-typescript';
|
|
9
|
-
const production = process.env.NODE_ENV === 'production';
|
|
10
|
-
const dev = process.env.NODE_ENV === 'development';
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
input: 'src/index.ts',
|
|
14
|
-
output: {
|
|
15
|
-
sourcemap: true,
|
|
16
|
-
format: 'umd',
|
|
17
|
-
name: 'app',
|
|
18
|
-
file: 'dist/casino-404.js'
|
|
19
|
-
},
|
|
20
|
-
plugins: [
|
|
21
|
-
svelte({
|
|
22
|
-
preprocess: sveltePreprocess(),
|
|
23
|
-
compilerOptions: {
|
|
24
|
-
// enable run-time checks when not in production
|
|
25
|
-
customElement: true,
|
|
26
|
-
dev: !production
|
|
27
|
-
}
|
|
28
|
-
}),
|
|
29
|
-
commonjs(),
|
|
30
|
-
resolve({
|
|
31
|
-
browser: true,
|
|
32
|
-
dedupe: ['svelte']
|
|
33
|
-
}),
|
|
34
|
-
dev && serve({
|
|
35
|
-
open: true,
|
|
36
|
-
verbose: true,
|
|
37
|
-
allowCrossOrigin: true,
|
|
38
|
-
historyApiFallback: false,
|
|
39
|
-
host: 'localhost',
|
|
40
|
-
port: 5050,
|
|
41
|
-
}),
|
|
42
|
-
dev && livereload({ watch: ['', 'dist'] }),
|
|
43
|
-
typescript({
|
|
44
|
-
sourceMap: !production,
|
|
45
|
-
inlineSources: !production,
|
|
46
|
-
}),
|
|
47
|
-
// If we're building for production (npm run build
|
|
48
|
-
// instead of npm run dev), minify
|
|
49
|
-
production &&
|
|
50
|
-
terser({
|
|
51
|
-
output: {
|
|
52
|
-
comments: "all"
|
|
53
|
-
},
|
|
54
|
-
})
|
|
55
|
-
],
|
|
56
|
-
watch: {
|
|
57
|
-
clearScreen: false
|
|
58
|
-
}
|
|
59
|
-
};
|
|
1
|
+
import svelte from 'rollup-plugin-svelte';
|
|
2
|
+
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
+
import resolve from '@rollup/plugin-node-resolve';
|
|
4
|
+
import serve from 'rollup-plugin-dev-server';
|
|
5
|
+
import livereload from 'rollup-plugin-livereload';
|
|
6
|
+
import { terser } from 'rollup-plugin-terser';
|
|
7
|
+
import sveltePreprocess from 'svelte-preprocess';
|
|
8
|
+
import typescript from '@rollup/plugin-typescript';
|
|
9
|
+
const production = process.env.NODE_ENV === 'production';
|
|
10
|
+
const dev = process.env.NODE_ENV === 'development';
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
input: 'src/index.ts',
|
|
14
|
+
output: {
|
|
15
|
+
sourcemap: true,
|
|
16
|
+
format: 'umd',
|
|
17
|
+
name: 'app',
|
|
18
|
+
file: 'dist/casino-404.js'
|
|
19
|
+
},
|
|
20
|
+
plugins: [
|
|
21
|
+
svelte({
|
|
22
|
+
preprocess: sveltePreprocess(),
|
|
23
|
+
compilerOptions: {
|
|
24
|
+
// enable run-time checks when not in production
|
|
25
|
+
customElement: true,
|
|
26
|
+
dev: !production
|
|
27
|
+
}
|
|
28
|
+
}),
|
|
29
|
+
commonjs(),
|
|
30
|
+
resolve({
|
|
31
|
+
browser: true,
|
|
32
|
+
dedupe: ['svelte']
|
|
33
|
+
}),
|
|
34
|
+
dev && serve({
|
|
35
|
+
open: true,
|
|
36
|
+
verbose: true,
|
|
37
|
+
allowCrossOrigin: true,
|
|
38
|
+
historyApiFallback: false,
|
|
39
|
+
host: 'localhost',
|
|
40
|
+
port: 5050,
|
|
41
|
+
}),
|
|
42
|
+
dev && livereload({ watch: ['', 'dist'] }),
|
|
43
|
+
typescript({
|
|
44
|
+
sourceMap: !production,
|
|
45
|
+
inlineSources: !production,
|
|
46
|
+
}),
|
|
47
|
+
// If we're building for production (npm run build
|
|
48
|
+
// instead of npm run dev), minify
|
|
49
|
+
production &&
|
|
50
|
+
terser({
|
|
51
|
+
output: {
|
|
52
|
+
comments: "all"
|
|
53
|
+
},
|
|
54
|
+
})
|
|
55
|
+
],
|
|
56
|
+
watch: {
|
|
57
|
+
clearScreen: false
|
|
58
|
+
}
|
|
59
|
+
};
|
package/src/Casino_404.svelte
CHANGED
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
<svelte:options tag={null} />
|
|
2
|
-
<script lang="ts">
|
|
3
|
-
import { _, addNewMessages, setLocale } from './i18n';
|
|
4
|
-
import { Translations } from './translations';
|
|
5
|
-
|
|
6
|
-
export let lang:string = 'en';
|
|
7
|
-
|
|
8
|
-
Object.keys(Translations).forEach((item:any):void => {
|
|
9
|
-
addNewMessages(item, Translations[item]);
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
const goToHome = ():void => {
|
|
13
|
-
window.postMessage({ type: 'GoToHomepage' }, window.location.href);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const setActiveLanguage = ():void => {
|
|
17
|
-
setLocale(lang);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
$: lang && setActiveLanguage();
|
|
21
|
-
</script>
|
|
22
|
-
|
|
23
|
-
<div class="PageWrapper">
|
|
24
|
-
<div class="NotFoundPage">
|
|
25
|
-
<svg class="svgColor" xmlns="http://www.w3.org/2000/svg" width="130.345" height="130.345" viewBox="0 0 130.345 130.345"><g transform="translate(-9.37 -9.34)"><path class="a" d="M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z" transform="translate(-658.898 -446.452)"/><path class="a" d="M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z" transform="translate(-433.716 -446.252)"/><path class="a" d="M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z" transform="translate(-200.173 -446.452)"/><path class="a" d="M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"/><path class="a" d="M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z" transform="translate(-116.772 -116.794)"/><path class="a" d="M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z" transform="translate(-250.22 -116.794)"/></g></svg>
|
|
26
|
-
<p class="PageTitle">
|
|
27
|
-
{$_('Translations.pageNotFound')}
|
|
28
|
-
</p>
|
|
29
|
-
<p class="PageContent">
|
|
30
|
-
{$_('Translations.pageNotFoundMessage')}
|
|
31
|
-
</p>
|
|
32
|
-
<button class="ButtonDefaultSmall" on:click={() => goToHome()}>{$_('Translations.home')}</button>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<style lang="scss">
|
|
38
|
-
:host {
|
|
39
|
-
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
*,
|
|
43
|
-
*::before,
|
|
44
|
-
*::after {
|
|
45
|
-
margin: 0;
|
|
46
|
-
padding: 0;
|
|
47
|
-
list-style: none;
|
|
48
|
-
text-decoration: none;
|
|
49
|
-
outline: none;
|
|
50
|
-
box-sizing: border-box;
|
|
51
|
-
font-family: "Helvetica Neue", "Helvetica", sans-serif;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.PageWrapper {
|
|
55
|
-
color: var(--emfe-w-color-white, #FFFFFF);
|
|
56
|
-
background: var(--emfe-w-color-contrast, #07072A);
|
|
57
|
-
padding: 50px 0;
|
|
58
|
-
width: 100%;
|
|
59
|
-
text-align: center;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.NotFoundPage {
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
margin: auto;
|
|
66
|
-
gap: 40px;
|
|
67
|
-
align-items: center;
|
|
68
|
-
max-width: 800px;
|
|
69
|
-
padding: 50px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.NotFoundPage svg {
|
|
73
|
-
fill: var(--emfe-w-color-primary, #D0046C);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.PageTitle {
|
|
77
|
-
color: var(--emfe-w-color-primary, #D0046C);
|
|
78
|
-
font-weight: 500;
|
|
79
|
-
font-size: 28px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.PageContent {
|
|
83
|
-
color: #D1D1D1;
|
|
84
|
-
font-size:18px;
|
|
85
|
-
line-height: 24px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.ErrorPageTitle {
|
|
89
|
-
color: var(--emfe-w-color-error, #FD2839);
|
|
90
|
-
font-weight: 500;
|
|
91
|
-
font-size: 28px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.ErrorPageContent {
|
|
95
|
-
color: var(--emfe-w-color-error, #FD2839);
|
|
96
|
-
font-size:18px;
|
|
97
|
-
line-height: 24px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ButtonDefaultSmall {
|
|
101
|
-
background: var(--emfe-w-color-primary, #D0046C);
|
|
102
|
-
border: 1px solid var(--emfe-w-color-primary, #D0046C);
|
|
103
|
-
color: #fff;
|
|
104
|
-
border-radius: 5px;
|
|
105
|
-
width: 30%;
|
|
106
|
-
height: 60px;
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
justify-content: center;
|
|
110
|
-
font-size: 16px;
|
|
111
|
-
text-transform: uppercase;
|
|
112
|
-
transition-duration: 0.3s;
|
|
113
|
-
box-sizing: border-box;
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@media only screen and (max-width: 475px) {
|
|
118
|
-
|
|
119
|
-
.PageWrapper {
|
|
120
|
-
color: var(--emfe-w-color-white, #FFFFFF);
|
|
121
|
-
background: var(--emfe-w-color-contrast, #07072A);
|
|
122
|
-
padding: 20px 0;
|
|
123
|
-
width: 100%;
|
|
124
|
-
text-align: center;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.NotFoundPage {
|
|
128
|
-
text-align: center;
|
|
129
|
-
width: 100%;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.PageTitle {
|
|
133
|
-
font-size: 22px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.ButtonDefaultSmall {
|
|
137
|
-
width: 80%;
|
|
138
|
-
height: 50px;
|
|
139
|
-
font-size:14px;
|
|
140
|
-
grid-template-columns: 1fr;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.ErrorPageContent {
|
|
144
|
-
font-size: 16px;
|
|
145
|
-
line-height: 18px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.ErrorPageTitle {
|
|
149
|
-
font-size: 18px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.PageContent {
|
|
153
|
-
font-size: 16px;
|
|
154
|
-
line-height: 18px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
</style>
|
|
1
|
+
<svelte:options tag={null} />
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
import { _, addNewMessages, setLocale } from './i18n';
|
|
4
|
+
import { Translations } from './translations';
|
|
5
|
+
|
|
6
|
+
export let lang:string = 'en';
|
|
7
|
+
|
|
8
|
+
Object.keys(Translations).forEach((item:any):void => {
|
|
9
|
+
addNewMessages(item, Translations[item]);
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
const goToHome = ():void => {
|
|
13
|
+
window.postMessage({ type: 'GoToHomepage' }, window.location.href);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const setActiveLanguage = ():void => {
|
|
17
|
+
setLocale(lang);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
$: lang && setActiveLanguage();
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<div class="PageWrapper">
|
|
24
|
+
<div class="NotFoundPage">
|
|
25
|
+
<svg class="svgColor" xmlns="http://www.w3.org/2000/svg" width="130.345" height="130.345" viewBox="0 0 130.345 130.345"><g transform="translate(-9.37 -9.34)"><path class="a" d="M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z" transform="translate(-658.898 -446.452)"/><path class="a" d="M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z" transform="translate(-433.716 -446.252)"/><path class="a" d="M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z" transform="translate(-200.173 -446.452)"/><path class="a" d="M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"/><path class="a" d="M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z" transform="translate(-116.772 -116.794)"/><path class="a" d="M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z" transform="translate(-250.22 -116.794)"/></g></svg>
|
|
26
|
+
<p class="PageTitle">
|
|
27
|
+
{$_('Translations.pageNotFound')}
|
|
28
|
+
</p>
|
|
29
|
+
<p class="PageContent">
|
|
30
|
+
{$_('Translations.pageNotFoundMessage')}
|
|
31
|
+
</p>
|
|
32
|
+
<button class="ButtonDefaultSmall" on:click={() => goToHome()}>{$_('Translations.home')}</button>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<style lang="scss">
|
|
38
|
+
:host {
|
|
39
|
+
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
*,
|
|
43
|
+
*::before,
|
|
44
|
+
*::after {
|
|
45
|
+
margin: 0;
|
|
46
|
+
padding: 0;
|
|
47
|
+
list-style: none;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
outline: none;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
font-family: "Helvetica Neue", "Helvetica", sans-serif;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.PageWrapper {
|
|
55
|
+
color: var(--emfe-w-color-white, #FFFFFF);
|
|
56
|
+
background: var(--emfe-w-color-contrast, #07072A);
|
|
57
|
+
padding: 50px 0;
|
|
58
|
+
width: 100%;
|
|
59
|
+
text-align: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.NotFoundPage {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
margin: auto;
|
|
66
|
+
gap: 40px;
|
|
67
|
+
align-items: center;
|
|
68
|
+
max-width: 800px;
|
|
69
|
+
padding: 50px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.NotFoundPage svg {
|
|
73
|
+
fill: var(--emfe-w-color-primary, #D0046C);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.PageTitle {
|
|
77
|
+
color: var(--emfe-w-color-primary, #D0046C);
|
|
78
|
+
font-weight: 500;
|
|
79
|
+
font-size: 28px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.PageContent {
|
|
83
|
+
color: #D1D1D1;
|
|
84
|
+
font-size:18px;
|
|
85
|
+
line-height: 24px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ErrorPageTitle {
|
|
89
|
+
color: var(--emfe-w-color-error, #FD2839);
|
|
90
|
+
font-weight: 500;
|
|
91
|
+
font-size: 28px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.ErrorPageContent {
|
|
95
|
+
color: var(--emfe-w-color-error, #FD2839);
|
|
96
|
+
font-size:18px;
|
|
97
|
+
line-height: 24px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ButtonDefaultSmall {
|
|
101
|
+
background: var(--emfe-w-color-primary, #D0046C);
|
|
102
|
+
border: 1px solid var(--emfe-w-color-primary, #D0046C);
|
|
103
|
+
color: #fff;
|
|
104
|
+
border-radius: 5px;
|
|
105
|
+
width: 30%;
|
|
106
|
+
height: 60px;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: center;
|
|
110
|
+
font-size: 16px;
|
|
111
|
+
text-transform: uppercase;
|
|
112
|
+
transition-duration: 0.3s;
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@media only screen and (max-width: 475px) {
|
|
118
|
+
|
|
119
|
+
.PageWrapper {
|
|
120
|
+
color: var(--emfe-w-color-white, #FFFFFF);
|
|
121
|
+
background: var(--emfe-w-color-contrast, #07072A);
|
|
122
|
+
padding: 20px 0;
|
|
123
|
+
width: 100%;
|
|
124
|
+
text-align: center;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.NotFoundPage {
|
|
128
|
+
text-align: center;
|
|
129
|
+
width: 100%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.PageTitle {
|
|
133
|
+
font-size: 22px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ButtonDefaultSmall {
|
|
137
|
+
width: 80%;
|
|
138
|
+
height: 50px;
|
|
139
|
+
font-size:14px;
|
|
140
|
+
grid-template-columns: 1fr;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ErrorPageContent {
|
|
144
|
+
font-size: 16px;
|
|
145
|
+
line-height: 18px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ErrorPageTitle {
|
|
149
|
+
font-size: 18px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.PageContent {
|
|
153
|
+
font-size: 16px;
|
|
154
|
+
line-height: 18px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
}
|
|
158
|
+
</style>
|