breakign changes

This commit is contained in:
Mark Gregory
2026-07-24 15:19:36 +01:00
parent 4988cb85bd
commit 0be7be48e7
7 changed files with 49 additions and 50 deletions
@@ -1,9 +1,9 @@
<x-stylist-theme-saasland::layouts.app
title="Blog"
description="Ideas, guides and updates from our team."
eyebrow="Insights"
:breadcrumbs="['Blog' => null]"
>
@extends('stylist-theme-saasland::layouts.app')
@php($title = 'Blog')
@php($description = 'Ideas, guides and updates from our team.')
@php($eyebrow = 'Insights')
@php($breadcrumbs = ['Blog' => null])
@section('content')
<section class="content-section">
<div class="wrap">
<div class="content-grid">
@@ -24,4 +24,4 @@
<div class="theme-pagination">{{ $records->links() }}</div>
</div>
</section>
</x-stylist-theme-saasland::layouts.app>
@endsection
@@ -1,9 +1,9 @@
<x-stylist-theme-saasland::layouts.app
:title="$record->title"
:description="$record->excerpt"
eyebrow="Blog"
:breadcrumbs="['Blog' => route('blog.public.index'), $record->title => null]"
>
@extends('stylist-theme-saasland::layouts.app')
@php($title = $record->title)
@php($description = $record->excerpt)
@php($eyebrow = 'Blog')
@php($breadcrumbs = ['Blog' => route('blog.public.index'), $record->title => null])
@section('content')
<section class="content-section">
<div class="wrap content-layout">
<article class="content-card prose-content">
@@ -16,4 +16,4 @@
</article>
</div>
</section>
</x-stylist-theme-saasland::layouts.app>
@endsection
@@ -1,9 +1,9 @@
<x-stylist-theme-saasland::layouts.app
title="News"
description="The latest announcements, releases and company updates."
eyebrow="Updates"
:breadcrumbs="['News' => null]"
>
@extends('stylist-theme-saasland::layouts.app')
@php($title = 'News')
@php($description = 'The latest announcements, releases and company updates.')
@php($eyebrow = 'Updates')
@php($breadcrumbs = ['News' => null])
@section('content')
<section class="content-section">
<div class="wrap">
<div class="content-grid">
@@ -24,4 +24,4 @@
<div class="theme-pagination">{{ $records->links() }}</div>
</div>
</section>
</x-stylist-theme-saasland::layouts.app>
@endsection
@@ -1,9 +1,9 @@
<x-stylist-theme-saasland::layouts.app
:title="$record->title"
:description="$record->excerpt"
eyebrow="News"
:breadcrumbs="['News' => route('news.public.index'), $record->title => null]"
>
@extends('stylist-theme-saasland::layouts.app')
@php($title = $record->title)
@php($description = $record->excerpt)
@php($eyebrow = 'News')
@php($breadcrumbs = ['News' => route('news.public.index'), $record->title => null])
@section('content')
<section class="content-section">
<div class="wrap content-layout">
<article class="content-card prose-content">
@@ -16,4 +16,4 @@
</article>
</div>
</section>
</x-stylist-theme-saasland::layouts.app>
@endsection
@@ -1,9 +1,9 @@
<x-stylist-theme-saasland::layouts.app
:title="$page->title"
:description="$page->summary"
eyebrow="Page"
:breadcrumbs="[$page->title => null]"
>
@extends('stylist-theme-saasland::layouts.app')
@php($title = $page->title)
@php($description = $page->summary)
@php($eyebrow = 'Page')
@php($breadcrumbs = [$page->title => null])
@section('content')
<section class="content-section">
<div class="wrap content-layout">
<article class="content-card prose-content">
@@ -15,4 +15,4 @@
</article>
</div>
</section>
</x-stylist-theme-saasland::layouts.app>
@endsection
@@ -1,8 +1,8 @@
<x-stylist-theme-saasland::layouts.app
:title="$siteTitle"
:description="$siteDescription"
:hero="true"
>
@extends('stylist-theme-saasland::layouts.app')
@php($title = $siteTitle)
@php($description = $siteDescription)
@php($hero = true)
@section('content')
<section class="hero">
<div class="glow one"></div>
<div class="glow two"></div>
@@ -385,4 +385,4 @@
@endauth
</div>
</section>
</x-stylist-theme-saasland::layouts.app>
@endsection
@@ -1,11 +1,10 @@
@props([
'title' => null,
'description' => null,
'eyebrow' => null,
'hero' => false,
'breadcrumbs' => [],
])
@php
$title = $title ?? null;
$description = $description ?? null;
$eyebrow = $eyebrow ?? null;
$hero = $hero ?? false;
$breadcrumbs = $breadcrumbs ?? [];
@endphp
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" id="top">
<head>
@@ -50,7 +49,7 @@
@endunless
<main class="{{ $hero ? 'marketing-main' : 'page-main' }}">
{{ $slot }}
@yield('content')
</main>
@include('stylist-theme-saasland::partials.footer')