@if ($slots.head) {{{ await $slots.head() }}} @endif
{{ title || app.appName }} - AdonisJS
@vite(['resources/css/app.css', 'resources/js/app.js'])
{{ app.appName }}
Home
AdonisJS
Adocasts
@if (await auth.check())
@!svg('ph:user', { class: 'w-5 h-5' })
Profile Settings
Account Settings
@form({ action: route('auth.logout') })
Logout
@end
@else @button({ href: route('auth.login.show'), variant: 'ghost' }) Login @end @button({ href: route('auth.register.show') }) Register @end @endif
{{{ await $slots.main() }}}
@!toast.flash()