diff --git a/app/Models/Enums/TechnologyType.php b/app/Models/Enums/TechnologyType.php index 4f46b08d..c0bad316 100644 --- a/app/Models/Enums/TechnologyType.php +++ b/app/Models/Enums/TechnologyType.php @@ -23,12 +23,12 @@ public static function toLabels(): array ]; } - public function toLivewire() + public function toLivewire(): mixed { return [$this->value]; } - public static function fromLivewire($value) + public static function fromLivewire($value): Enum { return new self($value[0]); } diff --git a/resources/views/components/headers/h1.blade.php b/resources/views/components/headers/h1.blade.php index befc3dd1..78fb26e8 100644 --- a/resources/views/components/headers/h1.blade.php +++ b/resources/views/components/headers/h1.blade.php @@ -1,6 +1,6 @@ @php $tag = $tag ?? 'h1'; @endphp -<{{ $tag }} {{ $attributes->twMerge('font-druk uppercase text-72 lg:text-144 leading-80 font-bold') }}> +<{{ $tag }} {{ $attributes->twMerge('font-druk uppercase text-72 lg:text-144 leading-72 lg:leading-[125px] font-bold') }}> {{ $slot }} diff --git a/resources/views/components/insights/highlight.blade.php b/resources/views/components/insights/highlight.blade.php index a2bd2afa..c25dffd7 100644 --- a/resources/views/components/insights/highlight.blade.php +++ b/resources/views/components/insights/highlight.blade.php @@ -4,12 +4,15 @@
- {{-- @todo Thumbnail --}} -
+
+ @if ($insight->header_image) + + @endif +
-
-

- +

+

+ Latest article @@ -18,12 +21,12 @@

- + {{ $insight->title }} -
+
{!! $insight->summary !!}
diff --git a/resources/views/components/insights/list-item.blade.php b/resources/views/components/insights/list-item.blade.php index edafd87a..2309cf99 100644 --- a/resources/views/components/insights/list-item.blade.php +++ b/resources/views/components/insights/list-item.blade.php @@ -1,33 +1,25 @@ - + diff --git a/resources/views/front/pages/insights/index.blade.php b/resources/views/front/pages/insights/index.blade.php index f165363d..d1a98d7b 100644 --- a/resources/views/front/pages/insights/index.blade.php +++ b/resources/views/front/pages/insights/index.blade.php @@ -11,17 +11,16 @@ @if($highlight) - + @endif - +

More insights

@foreach($insights as $insight) @endforeach -
@if ($insights->hasMorePages()) @@ -38,7 +37,7 @@
@isset($externalFeedItems) - +

From our team & products

diff --git a/resources/views/front/pages/insights/show.blade.php b/resources/views/front/pages/insights/show.blade.php index e4b5791a..45825c9b 100644 --- a/resources/views/front/pages/insights/show.blade.php +++ b/resources/views/front/pages/insights/show.blade.php @@ -49,17 +49,20 @@ - Back to insights - @if(count($otherPosts)) -

Continue reading

- @foreach($otherPosts as $otherPost) - - {{ $otherPost->title }} - {{ htmlspecialchars_decode(strip_tags($post->summary)) }} - - @endforeach + +
+

Continue reading

+
+ @foreach($otherPosts as $otherPost) + + @endforeach +
+
+
@endif - + + + diff --git a/resources/views/livewire/newsletter.blade.php b/resources/views/livewire/newsletter.blade.php index faf5731a..c742afa9 100644 --- a/resources/views/livewire/newsletter.blade.php +++ b/resources/views/livewire/newsletter.blade.php @@ -21,8 +21,8 @@
-
- +
+ @error('email')

{{ $message }}

@enderror