Skip to content

Commit

Permalink
fix: add seo related things
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpak1300 committed Dec 9, 2024
1 parent 4d08cc4 commit 465cd3f
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 18 deletions.
Binary file added public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon copy.ico
Binary file not shown.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/og.webp
Binary file not shown.
1 change: 1 addition & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
89 changes: 71 additions & 18 deletions resources/views/app.blade.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,74 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title inertia>{{ config('app.name', 'Laravel') }}</title>

<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />

<!-- Scripts -->
@routes
@vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
@inertiaHead
</head>
<body class="font-sans antialiased">
@inertia
</body>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title inertia>{{ config('app.name', 'Laravel') }}</title>

<meta name="description" content="Larasonic is a modern Laravel boilerplate for the VILT stack (Vue, Inertia, Laravel, TailwindCSS). Clone and start building scalable, maintainable, and production-ready applications quickly." />
<link rel="canonical" href="https://larasonic.com/" />

<!-- Robots & Indexing -->
<meta name="robots" content="index, follow" />

<!-- Keyword Tags (Less impactful nowadays, but still can be included) -->
<meta name="keywords" content="Larasonic, Laravel boilerplate, Laravel VILT, Vue, Inertia, TailwindCSS, Laravel Octane, Docker, FilamentPHP, OpenAI integration, Laravel Cashier, Laravel Sanctum" />

<!-- Favicon & App Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#000000">

<!-- Structured Data (Example: JSON-LD Schema.org) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Larasonic",
"url": "https://larasonic.com/",
"image": "https://larasonic.com/images/og.webp",
"description": "A modern Laravel SaaS starter kit for the VILT stack. Clone the repo, start building scalable and maintainable applications quickly.",
"applicationCategory": "DeveloperTool",
"operatingSystem": "All",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD",
"category": "Free"
}
}
</script>

<!-- Basic OG Tags -->
<meta property="og:title" content="Larasonic - Your Laravel VILT Boilerplate" />
<meta property="og:description" content="Larasonic is a modern Laravel SaaS starter kit for the VILT stack. Clone the repo, start building scalable and maintainable applications quickly." />
<meta property="og:url" content="https://larasonic.com" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://larasonic.com/images/og.webp" />

<!-- Optional: Additional Tags -->
<meta property="og:site_name" content="Larasonic" />
<meta property="og:locale" content="en_US" />

<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Larasonic - Your Laravel VILT Boilerplate" />
<meta name="twitter:description" content="A modern Laravel boilerplate that boosts your developer experience with built-in tools and integrations. Clone and start building!" />
<meta name="twitter:image" content="https://larasonic.com/images/og.webp" />
<meta name="twitter:site" content="@YourTwitterHandle" />

<!-- Scripts -->
@routes
@vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
@inertiaHead
</head>

<body class="font-sans antialiased">
@inertia
</body>

</html>

0 comments on commit 465cd3f

Please sign in to comment.