Skip to content

Aurora 1.0 is out!

What's new →
Docs menu

Building a site

Structuring a project

Where your blocks, layouts, CSS and set-up live.

Keep the CMS out of your app and your site out of the CMS.

WhatWhere
Your blocks' classesapp/Blocks/ (found automatically; see aurora.block_path)
Your blocks' viewsresources/views/components/blocks/{type}.blade.php
Page layoutsresources/views/vendor/aurora/layouts/ (published), or any Blade view you name in Settings › Layouts
The site's shell (header, footer, menus)resources/views/components/layouts/ and components/site/
Website CSSresources/css/app.css (Tailwind 4), also used on the editor's canvas
Design tokens (colours, fonts)resources/css/site/tokens.css, imported by app.css
Site set-up: settings tabs, block orderapp/Providers/AppServiceProvider.php
Overrides of Aurora's public viewsresources/views/vendor/aurora/

Read content in templates through the models and helpers Aurora gives you: Menu::location('header'), Setting::get('site_name') and $page->url().

This website is built that way

The docs layout you're reading is a view in the app (resources/views/layouts/docs.blade.php), added as a layout under Settings › Templates › Layouts. Its sidebar is Menu::location('docs').