nibula 1.2.4 → 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.
Files changed (81) hide show
  1. package/.eleventy.js +81 -81
  2. package/.eleventyignore +3 -3
  3. package/.github/workflows/publish.yml +37 -0
  4. package/CHANGELOG.md +166 -148
  5. package/LICENSE +169 -169
  6. package/NOTICE +4 -4
  7. package/README.md +120 -123
  8. package/bin/create.js +507 -507
  9. package/bin/nibula.js +317 -305
  10. package/docs/Assistant CLI.md +65 -65
  11. package/docs/Backend.md +295 -295
  12. package/docs/Components.md +84 -84
  13. package/docs/Creating pages.md +64 -64
  14. package/docs/Deploy.md +189 -189
  15. package/docs/Head and SEO.md +138 -138
  16. package/docs/Javascript.md +50 -50
  17. package/docs/Styling with SCSS.md +141 -141
  18. package/nginx.conf +75 -75
  19. package/package.json +1 -1
  20. package/src/backend/.htaccess +6 -6
  21. package/src/backend/_core/composer.json +5 -5
  22. package/src/backend/_core/composer.lock +492 -492
  23. package/src/backend/_core/index.js +267 -267
  24. package/src/backend/_core/index.php +147 -147
  25. package/src/backend/_core/init.js +52 -52
  26. package/src/backend/_core/init.php +33 -33
  27. package/src/backend/_core/modules/RateLimiter.js +58 -58
  28. package/src/backend/_core/modules/RateLimiter.php +30 -30
  29. package/src/backend/_core/modules/Response.js +59 -59
  30. package/src/backend/_core/modules/Response.php +48 -48
  31. package/src/backend/api/protected/example-protected.js +23 -23
  32. package/src/backend/api/protected/example-protected.php +16 -16
  33. package/src/backend/api/public/example-public.js +24 -24
  34. package/src/backend/api/public/example-public.php +16 -16
  35. package/src/backend/backend-node.service.example +30 -30
  36. package/src/backend/database/Database.js +46 -46
  37. package/src/backend/database/Database.php +23 -23
  38. package/src/backend/example.config.js +37 -37
  39. package/src/backend/example.config.php +27 -27
  40. package/src/backend/package.json +18 -18
  41. package/src/backend/web.config +16 -16
  42. package/src/frontend/.htaccess +51 -51
  43. package/src/frontend/404.njk +17 -17
  44. package/src/frontend/assets/brand/favicon.svg +54 -54
  45. package/src/frontend/assets/brand/logo.svg +54 -54
  46. package/src/frontend/components/global/footer.njk +25 -25
  47. package/src/frontend/components/global/header.njk +6 -6
  48. package/src/frontend/components/welcome.njk +114 -114
  49. package/src/frontend/data/site.json +48 -48
  50. package/src/frontend/index.njk +8 -8
  51. package/src/frontend/js/modules/exampleModule.js +2 -2
  52. package/src/frontend/js/pages/404.js +6 -6
  53. package/src/frontend/js/pages/homepage.js +6 -6
  54. package/src/frontend/layouts/base.njk +132 -132
  55. package/src/frontend/layouts/page-components.njk +13 -13
  56. package/src/frontend/llms.njk +17 -17
  57. package/src/frontend/robots.njk +7 -7
  58. package/src/frontend/scss/modules/_animations.scss +24 -24
  59. package/src/frontend/scss/modules/_footer.scss +27 -27
  60. package/src/frontend/scss/modules/_global.scss +47 -47
  61. package/src/frontend/scss/modules/_header.scss +27 -27
  62. package/src/frontend/scss/modules/_mobile.scss +29 -29
  63. package/src/frontend/scss/modules/_root.scss +34 -34
  64. package/src/frontend/scss/modules/_typography.scss +14 -14
  65. package/src/frontend/scss/modules/frameworks/_bootstrap.scss +109 -109
  66. package/src/frontend/scss/modules/frameworks/_bulma.scss +108 -108
  67. package/src/frontend/scss/modules/frameworks/_foundation.scss +138 -139
  68. package/src/frontend/scss/modules/frameworks/_uikit.scss +109 -109
  69. package/src/frontend/scss/pages/404.scss +27 -27
  70. package/src/frontend/scss/pages/homepage.scss +22 -22
  71. package/src/frontend/sitemap.njk +17 -17
  72. package/src/frontend/ts/modules/exampleModule.ts +2 -2
  73. package/src/frontend/ts/pages/404.ts +6 -6
  74. package/src/frontend/ts/pages/homepage.ts +6 -6
  75. package/src/frontend/web.config +55 -55
  76. package/tools/config/messages.json +3 -1
  77. package/tools/res/templates/template.js +6 -6
  78. package/tools/res/templates/template.njk +8 -8
  79. package/tools/res/templates/template.scss +22 -22
  80. package/tools/res/templates/template.ts +6 -6
  81. package/tsconfig.json +24 -24
@@ -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
  ];
@@ -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
+ }
@@ -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>
@@ -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>
@@ -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
- &copy; {{ 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
+ &copy; {{ 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>