An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
@php
$settingsMenuSections = [
'Configuration' => [
['label' => 'General', 'route' => 'settings.index', 'icon' => 'settings'],
['label' => 'Advanced', 'route' => 'settings.advanced', 'icon' => 'grid'],
['label' => 'Updates', 'route' => 'settings.updates', 'icon' => 'refresh3'],
],
'Instance' => [
['label' => 'Authentication', 'route' => 'settings.oauth', 'icon' => 'keys'],
['label' => 'Email', 'route' => 'settings.email', 'icon' => 'mail'],
['label' => 'Backup', 'route' => 'settings.backup', 'icon' => 'database'],
],
];
@endphp
{{-- The pages are in the Settings submenu of the main sidebar (components/navbar.blade.php). --}}
<section class="application-settings-workspace w-full max-w-none">
<header class="settings-mobile-header xl:hidden">
<h1 class="settings-mobile-title">Instance Settings</h1>
<p class="settings-mobile-description">Configure global settings for this Coolify instance.</p>
</header>
{{-- Feeds the page search with the settings pages. --}}
<div hidden data-settings-search-items="{{ json_encode(settingsSearchItems($settingsMenuSections, [])) }}"></div>
@isset($submenu)
{{-- Sub-items of the current page, under its entry in the main sidebar. --}}
@teleport('#main-nav-active-children')
<div>{{ $submenu }}</div>
@endteleport
@endisset
<div class="min-w-0">
{{ $slot }}
</div>
</section>