Skip to content

Commit

Permalink
SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakshan-Madushanka committed Dec 19, 2024
1 parent 966339a commit b43e9de
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 3 deletions.
8 changes: 8 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,13 @@ public function boot(): void
if ($this->app->isProduction()) {
URL::forceScheme('https');
}

seo()
->site('Movieshark - Browse and search movies.')
->description('Browse and search movies and may more functionalities.')
->withUrl()
->locale('en_US')
->twitter()
->favicon();
}
}
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"license": "MIT",
"require": {
"php": "^8.2",
"archtechx/laravel-seo": "^0.10.2",
"guzzlehttp/guzzle": "^7.9.2",
"inertiajs/inertia-laravel": "^1.0",
"laravel/framework": "^10.48.20",
Expand Down
60 changes: 59 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title inertia>{{ config('app.name', 'Laravel') }}</title>
<x-seo::meta />

<link rel="icon" type="image/x-icon" href="/images/logo.avif">
<title inertia>{{ config('app.name', 'Laravel') }}</title>

<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
Expand Down

0 comments on commit b43e9de

Please sign in to comment.