diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-07 20:50:44 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-07 20:50:44 +0000 |
| commit | 9d7bf4de4d22933cabe28aef6a3cf0d7414f6be2 (patch) | |
| tree | ce9fe3097036899afbec2d97236a50082699ba64 /source/_layouts/master.blade.php | |
| parent | 9240b4b969758bf2e73d8e4f6bc3fc92e611f32a (diff) | |
Responsive grid layout
Diffstat (limited to 'source/_layouts/master.blade.php')
| -rw-r--r-- | source/_layouts/master.blade.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php index 7677d44..0a445e7 100644 --- a/source/_layouts/master.blade.php +++ b/source/_layouts/master.blade.php @@ -6,17 +6,16 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="{{ mix('css/main.css', 'assets/build') }}"> </head> - <body class="mb-8 lg:px-16 xl:px-32"> + <body> <div id="main-sidebar-container"> - <article>@yield('article')</article> - <aside class="px-4"> - <p class="py-4 text-2xl"> - <a class="block" href="/"><svg class="inline-block fill-current w-5 h-5"xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M8 20H3V10H0L10 0l10 10h-3v10h-5v-6H8v6z"/></svg> Home</a> - </p> + <article class="p-4">@yield('article')</article> + <aside class="p-4 lg:fixed"> + <a href="/">Home</a> @foreach ($page->allCategories($posts) as $category) - <a class="rounded p-1 {{Str::slug($category) }}" href="/categories/{{ Str::slug($category) }}">{{ $category }}</a> + <a href="/categories/{{ Str::slug($category) }}">{{ $category }}</a> @endforeach </aside> </div> </body> </html> + |
