feat(ui): update meta image URLs for social sharing

- Update og:image and twitter:image URLs to use CDN for improved performance and consistency in social media sharing previews.
This commit is contained in:
Rico van Zelst
2024-03-03 15:11:44 +01:00
parent f511320a17
commit fecd0e1d5f
3 changed files with 3 additions and 10 deletions

View File

@@ -9,13 +9,6 @@
Heimerdinger.LoL is a website dedicated to providing information about League of
Legends. We provide information about the champions, skins, game assets, and more.
</h2>
<div class="flex items-center justify-center w-full mt-4 mb-6">
<a href="https://www.producthunt.com/posts/heimerdinger-lol?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-heimerdinger&#0045;lol"
target="_blank"><img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=442110&theme=light"
alt="Heimerdinger&#0046;lol - Discover&#0032;LoL&#0058;&#0032;Champions&#0044;&#0032;Skins&#0044;&#0032;Sales&#0032;and&#0032;More&#0033; | Product Hunt"
style="width: 250px; height: 54px;" width="250" height="54" /></a>
</div>
</div>
<div class="grid grid-cols-1 gap-8 mt-8 md:grid-cols-2 lg:grid-cols-3">

View File

@@ -1,6 +1,6 @@
@extends('layouts.app')
@section('title', 'Heimerdinger.LoL • Home')
@section('title', 'Heimerdinger.LoL • Discover LoL: Champions, Skins, Sales and More!')
@section('description', 'Explore League of Legends champions, skins, and game assets on Heimerdinger.LoL.
Your ultimate source for in-depth information on LoL gaming. Dive in now!')

View File

@@ -32,14 +32,14 @@
<meta property="og:description" content="@yield('description')">
<meta property="og:locale" content="en">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ asset('img/og_image.png') }}">
<meta property="og:image" content="https://cdn.heimerdinger.lol/og-img-home.png">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="heimerdinger.lol">
<meta property="twitter:title" content="@yield('title')">
<meta property="twitter:description" content="@yield('description')">
<meta property="twitter:image" content="{{ asset('img/og_image.png') }}">
<meta property="twitter:image" content="https://cdn.heimerdinger.lol/og-img-home.png">
@vite(['resources/css/app.css', 'resources/js/app.js'])