Initial commit

This commit is contained in:
KirbyCMS Deploy
2026-04-15 11:50:31 +00:00
commit 0a8c107828
1114 changed files with 203788 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
<?php
use Kirby\Cms\Pages;
use Kirby\Http\Url;
use tobimori\Spielzeug\Menu;
require_once dirname(__DIR__) . '/plugins/kirby3-dotenv/global.php';
loadenv([
'dir' => realpath(dirname(__DIR__, 2)),
'file' => '.env',
]);
return [
'debug' => json_decode(env('KIRBY_DEBUG')),
'routes' => require __DIR__ . '/routes.php',
'thumbs' => require __DIR__ . '/thumbs.php',
'yaml.handler' => 'symfony',
'date.handler' => 'intl',
'url' => env("APP_URL"),
'tobimori.seo' => require __DIR__ . '/seo.php',
'tobimori.dreamform' => require __DIR__ . '/dreamform.php',
'tobimori.icon-field' => [
// use generated sprite, requires pnpm run build
// to generate (dev sprite doesn't work since it's not in the public folder)
'folder' => '',
'sprite' => fn() => Url::path(vite()->useHotFile('.never')->asset('assets/sprite.svg'))
],
/** Email */
'email' => require __DIR__ . '/email.php',
'auth' => [
'methods' => ['password', 'password-reset'],
'challenge' => [
'email' => [
'from' => env("KIRBY_MAIL_FROM"),
'subject' => 'Login-Code'
]
]
],
/** Caching */
'cache' => [
'pages' => [
'active' => json_decode(env('KIRBY_CACHE')),
]
],
/** Build Env / Vite / etc. */
'bnomei.dotenv.dir' => fn() => realpath(kirby()->roots()->base()),
'lukaskleinschmidt.kirby-laravel-vite.buildDirectory' => 'dist',
/** Panel */
'johannschopplich.plausible.sharedLink' => env('PLAUSIBLE_SHARED_LINK'),
'distantnative' => [
'retour' => [
'config' => __DIR__ . './../../data/storage/retour/config.yml',
'database' => __DIR__ . './../../data/storage/retour/log.sqlite'
]
],
'panel' => [
'menu' => fn() => array_merge(
[
'site' => Menu::site(),
],
Menu::favorites(kirby()->user()?->favorites()->toPages() ?? new Pages([])),
[
'-',
'images' => Menu::page(null, 'file-image', page('page://images')),
'files' => Menu::page(null, 'file-word', page('page://files')),
'-',
'users',
'plausible',
'retour',
]
)
],
'ready' => fn() => [
'panel' => [
'favicon' => option('debug') ? 'static/panel/favicon-dev.svg' : 'static/panel/favicon-live.svg',
'css' => vite('src/styles/panel.css'),
],
]
];

View File

@@ -0,0 +1,12 @@
<?php
return [
'multiStep' => false,
'mode' => 'htmx',
'useDataAttributes' => true,
'precognition' => true,
'secret' => env('DREAMFORM_SECRET'),
'guards' => [
'available' => ['honeypot']
],
];

View File

@@ -0,0 +1,13 @@
<?php
return [
'transport' => [
'type' => 'smtp',
'host' => env("KIRBY_MAIL_HOST"),
'port' => json_decode(env("KIRBY_MAIL_PORT")),
'security' => true,
'auth' => 'tls',
'username' => env("KIRBY_MAIL_USER"),
'password' => env("KIRBY_MAIL_PASS")
]
];

View File

@@ -0,0 +1,3 @@
<?php
return [];

View File

@@ -0,0 +1,16 @@
<?php
return [
'robots' => [
'pageSettings' => false
],
'canonicalBase' => env("APP_URL"),
'files' => [
'parent' => 'site.find("page://images")',
'template' => 'image'
],
'socialMedia' => [
'twitter' => false,
'youtube' => false
],
];

View File

@@ -0,0 +1,9 @@
<?php
return [
'srcsets' => [
'small' => [300, 500, 800],
'default' => [400, 800, 1000, 1200],
'large' => [800, 1400, 2000, 2600],
]
];