Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@
'Cards' => 'examples/cards',
'Forms' => 'examples/forms',
'Navigation' => 'examples/navigation',
'Layouts' => 'examples/layouts',
],
];
34 changes: 34 additions & 0 deletions docs/source/docs/examples/layouts.blade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
extends: _layouts.documentation
title: "Layouts"
description: null
---

@include('_partials.work-in-progress-example')

## Simple

@component('_partials.code-sample')
<!doctype html>
<html>
<head>
<title>Your page!</title>
<!--<link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css" rel="stylesheet">-->
</head>
<body class="pb-12">
<header class="container mx-auto px-4 py-6 border-b border-grey">
<a href="/" class="font-bold">Your site!</a>
</header>

<div class="container mx-auto px-4 py-8">
<div class="row">
Welcome!
</div>
</div>

<footer class="container mx-auto px-4 py-6 border-t border-grey text-center">
<p>&copy; You!</p>
</footer>
</body>
</html>
@endcomponent