nibula 1.2.3 → 1.2.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/.eleventy.js +81 -81
- package/.eleventyignore +3 -3
- package/.github/workflows/publish.yml +37 -0
- package/CHANGELOG.md +166 -135
- package/LICENSE +169 -169
- package/NOTICE +4 -4
- package/README.md +120 -123
- package/bin/create.js +507 -507
- package/bin/nibula.js +316 -307
- package/docs/Assistant CLI.md +65 -65
- package/docs/Backend.md +295 -295
- package/docs/Components.md +84 -84
- package/docs/Creating pages.md +64 -64
- package/docs/Deploy.md +189 -189
- package/docs/Head and SEO.md +138 -138
- package/docs/Javascript.md +50 -50
- package/docs/Styling with SCSS.md +141 -141
- package/nginx.conf +75 -75
- package/package.json +1 -1
- package/src/backend/.htaccess +6 -6
- package/src/backend/_core/composer.json +5 -5
- package/src/backend/_core/composer.lock +492 -492
- package/src/backend/_core/index.js +267 -267
- package/src/backend/_core/index.php +147 -147
- package/src/backend/_core/init.js +52 -52
- package/src/backend/_core/init.php +33 -33
- package/src/backend/_core/modules/RateLimiter.js +58 -58
- package/src/backend/_core/modules/RateLimiter.php +30 -30
- package/src/backend/_core/modules/Response.js +59 -59
- package/src/backend/_core/modules/Response.php +48 -48
- package/src/backend/api/protected/example-protected.js +23 -23
- package/src/backend/api/protected/example-protected.php +16 -16
- package/src/backend/api/public/example-public.js +24 -24
- package/src/backend/api/public/example-public.php +16 -16
- package/src/backend/backend-node.service.example +30 -30
- package/src/backend/database/Database.js +46 -46
- package/src/backend/database/Database.php +23 -23
- package/src/backend/example.config.js +37 -37
- package/src/backend/example.config.php +27 -27
- package/src/backend/package.json +18 -18
- package/src/backend/web.config +16 -16
- package/src/frontend/.htaccess +51 -51
- package/src/frontend/404.njk +17 -17
- package/src/frontend/assets/brand/favicon.svg +54 -54
- package/src/frontend/assets/brand/logo.svg +54 -54
- package/src/frontend/components/global/footer.njk +25 -25
- package/src/frontend/components/global/header.njk +6 -6
- package/src/frontend/components/welcome.njk +114 -114
- package/src/frontend/data/site.json +48 -48
- package/src/frontend/index.njk +8 -8
- package/src/frontend/js/modules/exampleModule.js +2 -2
- package/src/frontend/js/pages/404.js +6 -6
- package/src/frontend/js/pages/homepage.js +6 -6
- package/src/frontend/layouts/base.njk +132 -132
- package/src/frontend/layouts/page-components.njk +13 -13
- package/src/frontend/llms.njk +17 -17
- package/src/frontend/robots.njk +7 -7
- package/src/frontend/scss/modules/_animations.scss +24 -24
- package/src/frontend/scss/modules/_footer.scss +27 -27
- package/src/frontend/scss/modules/_global.scss +47 -47
- package/src/frontend/scss/modules/_header.scss +27 -27
- package/src/frontend/scss/modules/_mobile.scss +29 -29
- package/src/frontend/scss/modules/_root.scss +34 -34
- package/src/frontend/scss/modules/_typography.scss +14 -14
- package/src/frontend/scss/modules/frameworks/_bootstrap.scss +109 -109
- package/src/frontend/scss/modules/frameworks/_bulma.scss +108 -108
- package/src/frontend/scss/modules/frameworks/_foundation.scss +138 -139
- package/src/frontend/scss/modules/frameworks/_uikit.scss +109 -109
- package/src/frontend/scss/pages/404.scss +27 -27
- package/src/frontend/scss/pages/homepage.scss +22 -22
- package/src/frontend/sitemap.njk +17 -17
- package/src/frontend/ts/modules/exampleModule.ts +2 -2
- package/src/frontend/ts/pages/404.ts +6 -6
- package/src/frontend/ts/pages/homepage.ts +6 -6
- package/src/frontend/web.config +55 -55
- package/tools/assistant.js +122 -151
- package/tools/buildJs.js +39 -37
- package/tools/cleanOutput.js +23 -25
- package/tools/cli/prompt.js +40 -0
- package/tools/cli/ui.js +74 -0
- package/tools/config/messages.json +78 -0
- package/tools/config/settings.json +135 -0
- package/tools/lib/colors.js +17 -0
- package/tools/lib/files.js +65 -0
- package/tools/lib/logger.js +22 -0
- package/tools/lib/outputPath.js +141 -0
- package/tools/lib/pageActions.js +138 -0
- package/tools/lib/pageArtifacts.js +46 -0
- package/tools/lib/pageComponents.js +88 -0
- package/tools/lib/paths.js +61 -0
- package/tools/lib/project.js +54 -0
- package/tools/lib/siteData.js +93 -0
- package/tools/lib/text.js +47 -0
- package/tools/lib/validation.js +39 -0
- package/tools/res/templates/template.js +7 -5
- package/tools/res/templates/template.njk +8 -8
- package/tools/res/templates/template.scss +22 -22
- package/tools/res/templates/template.ts +7 -5
- package/tsconfig.json +24 -24
- package/tools/modules/constants.js +0 -66
- package/tools/modules/pageComponents.js +0 -77
- package/tools/modules/updateData.js +0 -90
- package/tools/modules/updateOutputPath.js +0 -133
- package/tools/modules/updatePage.js +0 -162
- package/tools/modules/utils.js +0 -27
- package/tools/modules/validation.js +0 -30
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
declare(strict_types=1);
|
|
3
|
-
|
|
4
|
-
return [
|
|
5
|
-
// Default key for protected endpoints that don't have a specific key in CUSTOM_ENDPOINT_KEYS
|
|
6
|
-
'GENERAL_API_KEY' => 'DEFAULT_KEY',
|
|
7
|
-
|
|
8
|
-
// If you want restrict access to protected endpoints to specific clients, you can define custom keys for each endpoint
|
|
9
|
-
// For subfolder endpoints, use the relative path ('subfolder/endpoint')
|
|
10
|
-
'CUSTOM_ENDPOINT_KEYS' => [
|
|
11
|
-
'subfolder/example-protected' => 'custom-key',
|
|
12
|
-
],
|
|
13
|
-
|
|
14
|
-
'GENERAL_ALLOWED_ORIGINS' => [
|
|
15
|
-
'*',
|
|
16
|
-
// 'https://example.com',
|
|
17
|
-
],
|
|
18
|
-
|
|
19
|
-
'CUSTOM_ENDPOINT_ORIGINS' => [
|
|
20
|
-
'subfolder/example-protected' => ['https://app.example.com'],
|
|
21
|
-
],
|
|
22
|
-
|
|
23
|
-
// Database configuration
|
|
24
|
-
'DB_HOST' => '127.0.0.1',
|
|
25
|
-
'DB_NAME' => 'example_db',
|
|
26
|
-
'DB_USER' => 'root',
|
|
27
|
-
'DB_PASS' => '',
|
|
1
|
+
<?php
|
|
2
|
+
declare(strict_types=1);
|
|
3
|
+
|
|
4
|
+
return [
|
|
5
|
+
// Default key for protected endpoints that don't have a specific key in CUSTOM_ENDPOINT_KEYS
|
|
6
|
+
'GENERAL_API_KEY' => 'DEFAULT_KEY',
|
|
7
|
+
|
|
8
|
+
// If you want restrict access to protected endpoints to specific clients, you can define custom keys for each endpoint
|
|
9
|
+
// For subfolder endpoints, use the relative path ('subfolder/endpoint')
|
|
10
|
+
'CUSTOM_ENDPOINT_KEYS' => [
|
|
11
|
+
'subfolder/example-protected' => 'custom-key',
|
|
12
|
+
],
|
|
13
|
+
|
|
14
|
+
'GENERAL_ALLOWED_ORIGINS' => [
|
|
15
|
+
'*',
|
|
16
|
+
// 'https://example.com',
|
|
17
|
+
],
|
|
18
|
+
|
|
19
|
+
'CUSTOM_ENDPOINT_ORIGINS' => [
|
|
20
|
+
'subfolder/example-protected' => ['https://app.example.com'],
|
|
21
|
+
],
|
|
22
|
+
|
|
23
|
+
// Database configuration
|
|
24
|
+
'DB_HOST' => '127.0.0.1',
|
|
25
|
+
'DB_NAME' => 'example_db',
|
|
26
|
+
'DB_USER' => 'root',
|
|
27
|
+
'DB_PASS' => '',
|
|
28
28
|
];
|
package/src/backend/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "backend-node",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"description": "Node.js backend for a Nibula site. Coexists with the PHP backend; pick one at scaffold time. Front controller: _core/index.js.",
|
|
6
|
-
"main": "_core/index.js",
|
|
7
|
-
"type": "commonjs",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"start": "node _core/index.js",
|
|
10
|
-
"dev": "APP_ENV=development node _core/index.js"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=18"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"mysql2": "^3.11.0"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "backend-node",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "Node.js backend for a Nibula site. Coexists with the PHP backend; pick one at scaffold time. Front controller: _core/index.js.",
|
|
6
|
+
"main": "_core/index.js",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"start": "node _core/index.js",
|
|
10
|
+
"dev": "APP_ENV=development node _core/index.js"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=18"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"mysql2": "^3.11.0"
|
|
17
|
+
}
|
|
18
|
+
}
|
package/src/backend/web.config
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<configuration>
|
|
3
|
-
<system.webServer>
|
|
4
|
-
<rewrite>
|
|
5
|
-
<rules>
|
|
6
|
-
<rule name="PassThroughCoreIndex" stopProcessing="true">
|
|
7
|
-
<match url="^_core/index\.php$" ignoreCase="true" />
|
|
8
|
-
<action type="None" />
|
|
9
|
-
</rule>
|
|
10
|
-
<rule name="RewriteToFrontController" stopProcessing="true">
|
|
11
|
-
<match url="^(.*)$" ignoreCase="true" />
|
|
12
|
-
<action type="Rewrite" url="_core/index.php" appendQueryString="true" />
|
|
13
|
-
</rule>
|
|
14
|
-
</rules>
|
|
15
|
-
</rewrite>
|
|
16
|
-
</system.webServer>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<system.webServer>
|
|
4
|
+
<rewrite>
|
|
5
|
+
<rules>
|
|
6
|
+
<rule name="PassThroughCoreIndex" stopProcessing="true">
|
|
7
|
+
<match url="^_core/index\.php$" ignoreCase="true" />
|
|
8
|
+
<action type="None" />
|
|
9
|
+
</rule>
|
|
10
|
+
<rule name="RewriteToFrontController" stopProcessing="true">
|
|
11
|
+
<match url="^(.*)$" ignoreCase="true" />
|
|
12
|
+
<action type="Rewrite" url="_core/index.php" appendQueryString="true" />
|
|
13
|
+
</rule>
|
|
14
|
+
</rules>
|
|
15
|
+
</rewrite>
|
|
16
|
+
</system.webServer>
|
|
17
17
|
</configuration>
|
package/src/frontend/.htaccess
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
Options -Indexes
|
|
2
|
-
ErrorDocument 404 /404.html
|
|
3
|
-
ErrorDocument 403 /404.html
|
|
4
|
-
|
|
5
|
-
<IfModule mod_rewrite.c>
|
|
6
|
-
RewriteEngine On
|
|
7
|
-
RewriteBase /
|
|
8
|
-
|
|
9
|
-
# Block sensitive files (web.config, dotfiles)
|
|
10
|
-
RewriteRule ^(web\.config|\..*)$ /404.html [L,NC]
|
|
11
|
-
</IfModule>
|
|
12
|
-
|
|
13
|
-
# === /api routing — covers BOTH backends ====================================
|
|
14
|
-
#
|
|
15
|
-
# Apache (unlike nginx) cannot health-check an upstream, so it cannot auto-fall
|
|
16
|
-
# back from Node to PHP. The behaviour is:
|
|
17
|
-
#
|
|
18
|
-
# - mod_proxy available -> /api is proxied to the Node backend (127.0.0.1:3000)
|
|
19
|
-
# - mod_proxy NOT present -> /api is rewritten to the PHP front controller
|
|
20
|
-
#
|
|
21
|
-
# Typical shared hosting (Aruba, cPanel) has no mod_proxy, so it uses PHP
|
|
22
|
-
# automatically. On a VPS running Node, mod_proxy sends /api to Node.
|
|
23
|
-
#
|
|
24
|
-
# If you are on a server that HAS mod_proxy but you want to use PHP, comment out
|
|
25
|
-
# the mod_proxy block below.
|
|
26
|
-
|
|
27
|
-
# --- Node backend (if mod_proxy is available) ---
|
|
28
|
-
<IfModule mod_proxy.c>
|
|
29
|
-
ProxyPreserveHost On
|
|
30
|
-
ProxyPass /api/ http://127.0.0.1:3000/api/ retry=0
|
|
31
|
-
ProxyPassReverse /api/ http://127.0.0.1:3000/api/
|
|
32
|
-
|
|
33
|
-
<IfModule mod_headers.c>
|
|
34
|
-
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
|
|
35
|
-
RequestHeader set X-Forwarded-Proto "https"
|
|
36
|
-
</IfModule>
|
|
37
|
-
</IfModule>
|
|
38
|
-
|
|
39
|
-
# --- PHP backend (fallback when mod_proxy is absent) ---
|
|
40
|
-
<IfModule mod_rewrite.c>
|
|
41
|
-
RewriteEngine On
|
|
42
|
-
RewriteBase /
|
|
43
|
-
RewriteRule ^api/(.*)$ backend/_core/index.php [QSA,L]
|
|
44
|
-
</IfModule>
|
|
45
|
-
|
|
46
|
-
# === Static files ===========================================================
|
|
47
|
-
<IfModule mod_rewrite.c>
|
|
48
|
-
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
49
|
-
RewriteCond %{REQUEST_FILENAME} -d
|
|
50
|
-
RewriteRule ^ - [L]
|
|
51
|
-
</IfModule>
|
|
1
|
+
Options -Indexes
|
|
2
|
+
ErrorDocument 404 /404.html
|
|
3
|
+
ErrorDocument 403 /404.html
|
|
4
|
+
|
|
5
|
+
<IfModule mod_rewrite.c>
|
|
6
|
+
RewriteEngine On
|
|
7
|
+
RewriteBase /
|
|
8
|
+
|
|
9
|
+
# Block sensitive files (web.config, dotfiles)
|
|
10
|
+
RewriteRule ^(web\.config|\..*)$ /404.html [L,NC]
|
|
11
|
+
</IfModule>
|
|
12
|
+
|
|
13
|
+
# === /api routing — covers BOTH backends ====================================
|
|
14
|
+
#
|
|
15
|
+
# Apache (unlike nginx) cannot health-check an upstream, so it cannot auto-fall
|
|
16
|
+
# back from Node to PHP. The behaviour is:
|
|
17
|
+
#
|
|
18
|
+
# - mod_proxy available -> /api is proxied to the Node backend (127.0.0.1:3000)
|
|
19
|
+
# - mod_proxy NOT present -> /api is rewritten to the PHP front controller
|
|
20
|
+
#
|
|
21
|
+
# Typical shared hosting (Aruba, cPanel) has no mod_proxy, so it uses PHP
|
|
22
|
+
# automatically. On a VPS running Node, mod_proxy sends /api to Node.
|
|
23
|
+
#
|
|
24
|
+
# If you are on a server that HAS mod_proxy but you want to use PHP, comment out
|
|
25
|
+
# the mod_proxy block below.
|
|
26
|
+
|
|
27
|
+
# --- Node backend (if mod_proxy is available) ---
|
|
28
|
+
<IfModule mod_proxy.c>
|
|
29
|
+
ProxyPreserveHost On
|
|
30
|
+
ProxyPass /api/ http://127.0.0.1:3000/api/ retry=0
|
|
31
|
+
ProxyPassReverse /api/ http://127.0.0.1:3000/api/
|
|
32
|
+
|
|
33
|
+
<IfModule mod_headers.c>
|
|
34
|
+
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
|
|
35
|
+
RequestHeader set X-Forwarded-Proto "https"
|
|
36
|
+
</IfModule>
|
|
37
|
+
</IfModule>
|
|
38
|
+
|
|
39
|
+
# --- PHP backend (fallback when mod_proxy is absent) ---
|
|
40
|
+
<IfModule mod_rewrite.c>
|
|
41
|
+
RewriteEngine On
|
|
42
|
+
RewriteBase /
|
|
43
|
+
RewriteRule ^api/(.*)$ backend/_core/index.php [QSA,L]
|
|
44
|
+
</IfModule>
|
|
45
|
+
|
|
46
|
+
# === Static files ===========================================================
|
|
47
|
+
<IfModule mod_rewrite.c>
|
|
48
|
+
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
49
|
+
RewriteCond %{REQUEST_FILENAME} -d
|
|
50
|
+
RewriteRule ^ - [L]
|
|
51
|
+
</IfModule>
|
package/src/frontend/404.njk
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "404"
|
|
3
|
-
permalink: 404.html
|
|
4
|
-
layout: base.njk
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
<!-- !IMPORTANT -->
|
|
8
|
-
<!-- This is the only page that you need to modify statically -->
|
|
9
|
-
|
|
10
|
-
<div class="fade-in not-found">
|
|
11
|
-
<h1>Oops! Page not found</h1>
|
|
12
|
-
<a href="/">Return to homepage</a>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{# You can also add the includes you need here below
|
|
17
|
-
{% include "component.njk" %} #}
|
|
1
|
+
---
|
|
2
|
+
title: "404"
|
|
3
|
+
permalink: 404.html
|
|
4
|
+
layout: base.njk
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!-- !IMPORTANT -->
|
|
8
|
+
<!-- This is the only page that you need to modify statically -->
|
|
9
|
+
|
|
10
|
+
<div class="fade-in not-found">
|
|
11
|
+
<h1>Oops! Page not found</h1>
|
|
12
|
+
<a href="/">Return to homepage</a>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
{# You can also add the includes you need here below
|
|
17
|
+
{% include "component.njk" %} #}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Nibula">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="nibulaShieldBorder" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
-
<stop offset="0" stop-color="#8b6fc4"/>
|
|
5
|
-
<stop offset="0.5" stop-color="#c9a06a"/>
|
|
6
|
-
<stop offset="1" stop-color="#f2c17a"/>
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="nibulaN" x1="0" y1="1" x2="1" y2="0">
|
|
9
|
-
<stop offset="0" stop-color="#6d4fa8"/>
|
|
10
|
-
<stop offset="0.45" stop-color="#a978b0"/>
|
|
11
|
-
<stop offset="0.75" stop-color="#e7a55f"/>
|
|
12
|
-
<stop offset="1" stop-color="#f7d08a"/>
|
|
13
|
-
</linearGradient>
|
|
14
|
-
<linearGradient id="nibulaNib" x1="0" y1="0" x2="1" y2="1">
|
|
15
|
-
<stop offset="0" stop-color="#f7d89a"/>
|
|
16
|
-
<stop offset="0.55" stop-color="#e0a95f"/>
|
|
17
|
-
<stop offset="1" stop-color="#b07d3e"/>
|
|
18
|
-
</linearGradient>
|
|
19
|
-
<linearGradient id="nibulaField" x1="0" y1="0" x2="0.6" y2="1">
|
|
20
|
-
<stop offset="0" stop-color="#3a2c63"/>
|
|
21
|
-
<stop offset="1" stop-color="#2a2150"/>
|
|
22
|
-
</linearGradient>
|
|
23
|
-
</defs>
|
|
24
|
-
|
|
25
|
-
<path fill="none" stroke="url(#nibulaShieldBorder)" stroke-width="10" stroke-linejoin="round"
|
|
26
|
-
d="M256 40 L440 132 L440 320 L256 472 L72 320 L72 132 Z"/>
|
|
27
|
-
<path fill="url(#nibulaField)" stroke="url(#nibulaShieldBorder)" stroke-width="6" stroke-linejoin="round"
|
|
28
|
-
d="M256 66 L418 147 L418 310 L256 442 L94 310 L94 147 Z"/>
|
|
29
|
-
|
|
30
|
-
<!-- N as one closed outline: up left post, down inner-left, diagonal to inner-bottom-right,
|
|
31
|
-
up right post, cut corner, down outer-right, close along the bottom -->
|
|
32
|
-
<path fill="url(#nibulaN)" stroke="#1a1533" stroke-width="7" stroke-linejoin="round"
|
|
33
|
-
d="M148 362
|
|
34
|
-
L148 150
|
|
35
|
-
L206 150
|
|
36
|
-
L312 300
|
|
37
|
-
L312 150
|
|
38
|
-
L370 150
|
|
39
|
-
L370 205
|
|
40
|
-
L340 205
|
|
41
|
-
L340 362
|
|
42
|
-
L282 362
|
|
43
|
-
L206 255
|
|
44
|
-
L206 362
|
|
45
|
-
Z"/>
|
|
46
|
-
|
|
47
|
-
<g stroke="#1a1533" stroke-width="7" stroke-linejoin="round" stroke-linecap="round">
|
|
48
|
-
<path fill="url(#nibulaNib)" d="M326 300 L382 300 L392 326 L336 326 Z"/>
|
|
49
|
-
<path fill="none" stroke-width="5" d="M338 313 L386 313"/>
|
|
50
|
-
<path fill="url(#nibulaNib)" d="M336 326 L392 326 L428 414 L370 380 Z"/>
|
|
51
|
-
<path fill="none" stroke-width="5" d="M366 342 L402 384"/>
|
|
52
|
-
<circle cx="376" cy="360" r="6.5" fill="#1a1533" stroke="none"/>
|
|
53
|
-
</g>
|
|
54
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Nibula">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="nibulaShieldBorder" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#8b6fc4"/>
|
|
5
|
+
<stop offset="0.5" stop-color="#c9a06a"/>
|
|
6
|
+
<stop offset="1" stop-color="#f2c17a"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="nibulaN" x1="0" y1="1" x2="1" y2="0">
|
|
9
|
+
<stop offset="0" stop-color="#6d4fa8"/>
|
|
10
|
+
<stop offset="0.45" stop-color="#a978b0"/>
|
|
11
|
+
<stop offset="0.75" stop-color="#e7a55f"/>
|
|
12
|
+
<stop offset="1" stop-color="#f7d08a"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="nibulaNib" x1="0" y1="0" x2="1" y2="1">
|
|
15
|
+
<stop offset="0" stop-color="#f7d89a"/>
|
|
16
|
+
<stop offset="0.55" stop-color="#e0a95f"/>
|
|
17
|
+
<stop offset="1" stop-color="#b07d3e"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<linearGradient id="nibulaField" x1="0" y1="0" x2="0.6" y2="1">
|
|
20
|
+
<stop offset="0" stop-color="#3a2c63"/>
|
|
21
|
+
<stop offset="1" stop-color="#2a2150"/>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
</defs>
|
|
24
|
+
|
|
25
|
+
<path fill="none" stroke="url(#nibulaShieldBorder)" stroke-width="10" stroke-linejoin="round"
|
|
26
|
+
d="M256 40 L440 132 L440 320 L256 472 L72 320 L72 132 Z"/>
|
|
27
|
+
<path fill="url(#nibulaField)" stroke="url(#nibulaShieldBorder)" stroke-width="6" stroke-linejoin="round"
|
|
28
|
+
d="M256 66 L418 147 L418 310 L256 442 L94 310 L94 147 Z"/>
|
|
29
|
+
|
|
30
|
+
<!-- N as one closed outline: up left post, down inner-left, diagonal to inner-bottom-right,
|
|
31
|
+
up right post, cut corner, down outer-right, close along the bottom -->
|
|
32
|
+
<path fill="url(#nibulaN)" stroke="#1a1533" stroke-width="7" stroke-linejoin="round"
|
|
33
|
+
d="M148 362
|
|
34
|
+
L148 150
|
|
35
|
+
L206 150
|
|
36
|
+
L312 300
|
|
37
|
+
L312 150
|
|
38
|
+
L370 150
|
|
39
|
+
L370 205
|
|
40
|
+
L340 205
|
|
41
|
+
L340 362
|
|
42
|
+
L282 362
|
|
43
|
+
L206 255
|
|
44
|
+
L206 362
|
|
45
|
+
Z"/>
|
|
46
|
+
|
|
47
|
+
<g stroke="#1a1533" stroke-width="7" stroke-linejoin="round" stroke-linecap="round">
|
|
48
|
+
<path fill="url(#nibulaNib)" d="M326 300 L382 300 L392 326 L336 326 Z"/>
|
|
49
|
+
<path fill="none" stroke-width="5" d="M338 313 L386 313"/>
|
|
50
|
+
<path fill="url(#nibulaNib)" d="M336 326 L392 326 L428 414 L370 380 Z"/>
|
|
51
|
+
<path fill="none" stroke-width="5" d="M366 342 L402 384"/>
|
|
52
|
+
<circle cx="376" cy="360" r="6.5" fill="#1a1533" stroke="none"/>
|
|
53
|
+
</g>
|
|
54
|
+
</svg>
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Nibula">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="nibulaShieldBorder" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
-
<stop offset="0" stop-color="#8b6fc4"/>
|
|
5
|
-
<stop offset="0.5" stop-color="#c9a06a"/>
|
|
6
|
-
<stop offset="1" stop-color="#f2c17a"/>
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="nibulaN" x1="0" y1="1" x2="1" y2="0">
|
|
9
|
-
<stop offset="0" stop-color="#6d4fa8"/>
|
|
10
|
-
<stop offset="0.45" stop-color="#a978b0"/>
|
|
11
|
-
<stop offset="0.75" stop-color="#e7a55f"/>
|
|
12
|
-
<stop offset="1" stop-color="#f7d08a"/>
|
|
13
|
-
</linearGradient>
|
|
14
|
-
<linearGradient id="nibulaNib" x1="0" y1="0" x2="1" y2="1">
|
|
15
|
-
<stop offset="0" stop-color="#f7d89a"/>
|
|
16
|
-
<stop offset="0.55" stop-color="#e0a95f"/>
|
|
17
|
-
<stop offset="1" stop-color="#b07d3e"/>
|
|
18
|
-
</linearGradient>
|
|
19
|
-
<linearGradient id="nibulaField" x1="0" y1="0" x2="0.6" y2="1">
|
|
20
|
-
<stop offset="0" stop-color="#3a2c63"/>
|
|
21
|
-
<stop offset="1" stop-color="#2a2150"/>
|
|
22
|
-
</linearGradient>
|
|
23
|
-
</defs>
|
|
24
|
-
|
|
25
|
-
<path fill="none" stroke="url(#nibulaShieldBorder)" stroke-width="10" stroke-linejoin="round"
|
|
26
|
-
d="M256 40 L440 132 L440 320 L256 472 L72 320 L72 132 Z"/>
|
|
27
|
-
<path fill="url(#nibulaField)" stroke="url(#nibulaShieldBorder)" stroke-width="6" stroke-linejoin="round"
|
|
28
|
-
d="M256 66 L418 147 L418 310 L256 442 L94 310 L94 147 Z"/>
|
|
29
|
-
|
|
30
|
-
<!-- N as one closed outline: up left post, down inner-left, diagonal to inner-bottom-right,
|
|
31
|
-
up right post, cut corner, down outer-right, close along the bottom -->
|
|
32
|
-
<path fill="url(#nibulaN)" stroke="#1a1533" stroke-width="7" stroke-linejoin="round"
|
|
33
|
-
d="M148 362
|
|
34
|
-
L148 150
|
|
35
|
-
L206 150
|
|
36
|
-
L312 300
|
|
37
|
-
L312 150
|
|
38
|
-
L370 150
|
|
39
|
-
L370 205
|
|
40
|
-
L340 205
|
|
41
|
-
L340 362
|
|
42
|
-
L282 362
|
|
43
|
-
L206 255
|
|
44
|
-
L206 362
|
|
45
|
-
Z"/>
|
|
46
|
-
|
|
47
|
-
<g stroke="#1a1533" stroke-width="7" stroke-linejoin="round" stroke-linecap="round">
|
|
48
|
-
<path fill="url(#nibulaNib)" d="M326 300 L382 300 L392 326 L336 326 Z"/>
|
|
49
|
-
<path fill="none" stroke-width="5" d="M338 313 L386 313"/>
|
|
50
|
-
<path fill="url(#nibulaNib)" d="M336 326 L392 326 L428 414 L370 380 Z"/>
|
|
51
|
-
<path fill="none" stroke-width="5" d="M366 342 L402 384"/>
|
|
52
|
-
<circle cx="376" cy="360" r="6.5" fill="#1a1533" stroke="none"/>
|
|
53
|
-
</g>
|
|
54
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Nibula">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="nibulaShieldBorder" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#8b6fc4"/>
|
|
5
|
+
<stop offset="0.5" stop-color="#c9a06a"/>
|
|
6
|
+
<stop offset="1" stop-color="#f2c17a"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="nibulaN" x1="0" y1="1" x2="1" y2="0">
|
|
9
|
+
<stop offset="0" stop-color="#6d4fa8"/>
|
|
10
|
+
<stop offset="0.45" stop-color="#a978b0"/>
|
|
11
|
+
<stop offset="0.75" stop-color="#e7a55f"/>
|
|
12
|
+
<stop offset="1" stop-color="#f7d08a"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="nibulaNib" x1="0" y1="0" x2="1" y2="1">
|
|
15
|
+
<stop offset="0" stop-color="#f7d89a"/>
|
|
16
|
+
<stop offset="0.55" stop-color="#e0a95f"/>
|
|
17
|
+
<stop offset="1" stop-color="#b07d3e"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<linearGradient id="nibulaField" x1="0" y1="0" x2="0.6" y2="1">
|
|
20
|
+
<stop offset="0" stop-color="#3a2c63"/>
|
|
21
|
+
<stop offset="1" stop-color="#2a2150"/>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
</defs>
|
|
24
|
+
|
|
25
|
+
<path fill="none" stroke="url(#nibulaShieldBorder)" stroke-width="10" stroke-linejoin="round"
|
|
26
|
+
d="M256 40 L440 132 L440 320 L256 472 L72 320 L72 132 Z"/>
|
|
27
|
+
<path fill="url(#nibulaField)" stroke="url(#nibulaShieldBorder)" stroke-width="6" stroke-linejoin="round"
|
|
28
|
+
d="M256 66 L418 147 L418 310 L256 442 L94 310 L94 147 Z"/>
|
|
29
|
+
|
|
30
|
+
<!-- N as one closed outline: up left post, down inner-left, diagonal to inner-bottom-right,
|
|
31
|
+
up right post, cut corner, down outer-right, close along the bottom -->
|
|
32
|
+
<path fill="url(#nibulaN)" stroke="#1a1533" stroke-width="7" stroke-linejoin="round"
|
|
33
|
+
d="M148 362
|
|
34
|
+
L148 150
|
|
35
|
+
L206 150
|
|
36
|
+
L312 300
|
|
37
|
+
L312 150
|
|
38
|
+
L370 150
|
|
39
|
+
L370 205
|
|
40
|
+
L340 205
|
|
41
|
+
L340 362
|
|
42
|
+
L282 362
|
|
43
|
+
L206 255
|
|
44
|
+
L206 362
|
|
45
|
+
Z"/>
|
|
46
|
+
|
|
47
|
+
<g stroke="#1a1533" stroke-width="7" stroke-linejoin="round" stroke-linecap="round">
|
|
48
|
+
<path fill="url(#nibulaNib)" d="M326 300 L382 300 L392 326 L336 326 Z"/>
|
|
49
|
+
<path fill="none" stroke-width="5" d="M338 313 L386 313"/>
|
|
50
|
+
<path fill="url(#nibulaNib)" d="M336 326 L392 326 L428 414 L370 380 Z"/>
|
|
51
|
+
<path fill="none" stroke-width="5" d="M366 342 L402 384"/>
|
|
52
|
+
<circle cx="376" cy="360" r="6.5" fill="#1a1533" stroke="none"/>
|
|
53
|
+
</g>
|
|
54
|
+
</svg>
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
<footer>
|
|
2
|
-
<div>
|
|
3
|
-
<h6>{{ site.title }}</h6>
|
|
4
|
-
<p>{{ site.description }}</p>
|
|
5
|
-
</div>
|
|
6
|
-
<div>
|
|
7
|
-
<h6>Legal</h6>
|
|
8
|
-
<small>
|
|
9
|
-
<ul>
|
|
10
|
-
<li><a href="{{ site.legal.privacy }}">Privacy Policy</a></li>
|
|
11
|
-
<li><a href="{{ site.legal.cookie }}">Cookie Policy</a></li>
|
|
12
|
-
<li><a href="{{ site.legal.terms }}">Terms and conditions</a></li>
|
|
13
|
-
</ul>
|
|
14
|
-
</small>
|
|
15
|
-
</div>
|
|
16
|
-
<div>
|
|
17
|
-
<h6>
|
|
18
|
-
© {{ site.legal.copyright.year }}
|
|
19
|
-
{{ site.site_name }}
|
|
20
|
-
</h6>
|
|
21
|
-
<h6>
|
|
22
|
-
{{ site.legal.copyright.text }}
|
|
23
|
-
</h6>
|
|
24
|
-
</div>
|
|
25
|
-
</footer>
|
|
1
|
+
<footer>
|
|
2
|
+
<div>
|
|
3
|
+
<h6>{{ site.title }}</h6>
|
|
4
|
+
<p>{{ site.description }}</p>
|
|
5
|
+
</div>
|
|
6
|
+
<div>
|
|
7
|
+
<h6>Legal</h6>
|
|
8
|
+
<small>
|
|
9
|
+
<ul>
|
|
10
|
+
<li><a href="{{ site.legal.privacy }}">Privacy Policy</a></li>
|
|
11
|
+
<li><a href="{{ site.legal.cookie }}">Cookie Policy</a></li>
|
|
12
|
+
<li><a href="{{ site.legal.terms }}">Terms and conditions</a></li>
|
|
13
|
+
</ul>
|
|
14
|
+
</small>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<h6>
|
|
18
|
+
© {{ site.legal.copyright.year }}
|
|
19
|
+
{{ site.site_name }}
|
|
20
|
+
</h6>
|
|
21
|
+
<h6>
|
|
22
|
+
{{ site.legal.copyright.text }}
|
|
23
|
+
</h6>
|
|
24
|
+
</div>
|
|
25
|
+
</footer>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<header>
|
|
2
|
-
<nav>
|
|
3
|
-
<a class="logo" href="/">
|
|
4
|
-
<img src="../../assets/brand/logo.svg" alt="{{ site.title }}" height="40">
|
|
5
|
-
</a>
|
|
6
|
-
</nav>
|
|
1
|
+
<header>
|
|
2
|
+
<nav>
|
|
3
|
+
<a class="logo" href="/">
|
|
4
|
+
<img src="../../assets/brand/logo.svg" alt="{{ site.title }}" height="40">
|
|
5
|
+
</a>
|
|
6
|
+
</nav>
|
|
7
7
|
</header>
|