// For instructions on how to use Sled please visit https://sled.buzzbar.co/docs
// For a list of all configs check the sled-config.php file, which contains all the default settings. Do not make any change to the sled-config.php file as it gets overwritten when sled is updated. Instead you can copy a setting from there and add it here.
// These settings are merged with sled-config.php at runtime. Arrays are also merged, so if you want to add a new image size, for example, you just need to add the new one here and the default ones will still be available. If you override an image size, for example, the one on this file will take precedence.
return [
// compulsory settings
'domain' => 'kqmarkets.de', // just domain name, no slashes or http/https://
'base-url' => '/',
// dynamic parameters (starting with $) can be accessed inside the pages like a URL parameter: $_GET['post-slug']
'routes' => [
'404' => 'home.php',
'' => 'page.php?page-slug=home' ,
'$page-slug' => 'page.php',
'$parent-slug/$page-slug' => 'page.php',
'blog-sidebar/$source/$currentpostid' => 'blog-sidebar.php',
'article/$date/$slug' => 'article.php?source=articles',
'post/$date/$slug' => 'article.php?source=blog',
'search' => 'search.php',
//'import' => 'import-articles.php',
'convert-tags' => 'convert-tags.php',
'sitemap.xml' => 'sitemap.php',
],
'default-part-html-element' => 'span',
'site-key' => 'fho8n3xDDbwFDGkld3d',
'master-site' => 'https://dev.kqmarkets.de/',
'default-transfer-data-items' => 'pages, navbar',
// when set to true it outputs php errors and writes to the console using consoleLog
// set to false when not in development
'debug' => true,
'cache' => false,
// During development it's easier to keep the scripts and styles unmerged
'merge-scripts-and-styles' => false,
'brand-colours' => ['#0C1A43', '#5871B5', '#F4F4F4', '#F8F8F8'],
// These are added to a page using Sled::dependencies()
// If the merge-scripts-and-styles setting is set to true, then all js and css files will be merged and versioned
'dependencies' => [
'new-header' => [
'stylesheets' => [
"https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap",
'https://use.fontawesome.com/releases/v5.11.2/css/all.css',
"https://use.fontawesome.com/releases/v5.11.2/css/v4-shims.css",
"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css",
"https://unpkg.com/aos@2.3.1/dist/aos.css",
"/styles/slick.css",
"/styles/slick-theme.css",
'/styles/main-styles.css',
'/styles/parallax.css',
'/styles/tabs.css',
],
'scripts' => [
'https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js',
//'https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.js',
//'/lib/sorttable.js',
'https://unpkg.com/aos@2.3.1/dist/aos.js',
'/sled/includes/frontend.js'
]
],
'header' => [
'stylesheets' => [
'https://use.fontawesome.com/releases/v5.11.2/css/all.css',
"https://use.fontawesome.com/releases/v5.11.2/css/v4-shims.css",
"/styles/slick.css",
"/styles/slick-theme.css",
'/styles/main-styles.css',
'/styles/content.css'
],
'scripts' => [
'https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js'
]
],
'footer' => [
'scripts' => [
"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js",
'/js/app.js',
'/js/loadcontent.js',
'/js/tabs.js',
'/js/parallax.js'
]
]
],
'image-sizes' => [
'articlethumb' => [ 'width' => 400, 'height' => 200, 'quality' => 70],
'articlesmallthumb' => [ 'width' => 200, 'height' => 100, 'quality' => 50],
'articlesmalltallthumb' => [ 'width' => 200, 'height' => 120, 'quality' => 50],
'authorthumb' => [ 'width' => 120, 'height' => 120, 'quality' => 80],
'authormedium' => [ 'width' => 240, 'height' => 240, 'quality' => 80],
],
'backend-code-injection' => ''
];