Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoguenet committed Mar 9, 2024
1 parent d6290dd commit 2e79887
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
<link rel="icon" type="image/png" href="{{ asset('favicon.png') }}">

<!-- Primary Meta Tags -->
<title>{{ config('app.name', 'Laravel') }} | The best Laravel tips</title>
<meta name="title" content="{{ config('app.name', 'Laravel') }} | The best Laravel tips" />
<title>{{ config('app.name', 'Laravel') }} | {{ $title ?? 'The best Laravel tips' }}</title>
<meta name="title" content="{{ config('app.name', 'Laravel') }} | {{ $title ?? 'The best Laravel tips' }}" />
<meta name="description" content="Share your best tips about Laravel!" />

<!-- Open Graph / Facebook -->
<meta property="og:url" content="{{ config('app.url') }}" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ config('app.name', 'Laravel') }} | The best Laravel tips" />
<meta property="og:title" content="{{ config('app.name', 'Laravel') }} | {{ $title ?? 'The best Laravel tips' }}" />
<meta property="og:description" content="Share your best tips about Laravel!" />
<meta property="og:image" content="{{ asset('images/banner.jpg') }}" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="{{ config('app.url') }}" />
<meta property="twitter:title" content="{{ config('app.name', 'Laravel') }} | The best Laravel tips" />
<meta property="twitter:title" content="{{ config('app.name', 'Laravel') }} | {{ $title ?? 'The best Laravel tips' }}" />
<meta property="twitter:description" content="Share your best tips about Laravel!" />
<meta property="twitter:image" content="{{ asset('images/banner.jpg') }}" />

Expand Down
4 changes: 4 additions & 0 deletions resources/views/nudges/show.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<x-app-layout>
<x-slot name="title">
{{ $nudge->title }}
</x-slot>

<div class="px-6 py-24 sm:py-32 lg:px-8">
<div class="mx-auto max-w-4xl">
@if ($nudge)
Expand Down

0 comments on commit 2e79887

Please sign in to comment.