aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoscoe <roscoe@wah.moe>2025-05-02 00:15:27 +0100
committerRoscoe <roscoe@wah.moe>2025-05-02 00:15:47 +0100
commit59f8d4827ba9edd852bdbf1820aaddda886d5ba2 (patch)
tree7e9f31a20d55f932f9b16c834afa8601d2b5c505
parent8cc46fbe47d5420df4f4cb476f274ca301964df2 (diff)
Per-Page Embed Images
-rw-r--r--config/app.php2
-rw-r--r--public/images/embeds/pandamonium.pngbin0 -> 2637077 bytes
-rw-r--r--resources/views/components/layout.blade.php3
-rw-r--r--resources/views/pandamonium.blade.php4
4 files changed, 6 insertions, 3 deletions
diff --git a/config/app.php b/config/app.php
index 384d755..8029ed1 100644
--- a/config/app.php
+++ b/config/app.php
@@ -5,7 +5,7 @@ use Illuminate\Support\ServiceProvider;
return [
'name' => env('APP_NAME', 'wah.moe'),
- 'version' => '2025.04.14',
+ 'version' => '2025.05.02',
'env' => env('APP_ENV', 'production'),
'debug' => (bool) env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'),
diff --git a/public/images/embeds/pandamonium.png b/public/images/embeds/pandamonium.png
new file mode 100644
index 0000000..ec4f22e
--- /dev/null
+++ b/public/images/embeds/pandamonium.png
Binary files differ
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php
index 3e9f9ed..91d83a8 100644
--- a/resources/views/components/layout.blade.php
+++ b/resources/views/components/layout.blade.php
@@ -15,7 +15,8 @@
<!-- Page-specific -->
<meta property="og:title" content="wah! (dot moe) - {{ $title }}">
- <meta property="og:image" content="/favicon-128x128.png">
+ <meta property="og:image" content="{{ $cardImage ?? "/favicon-128x128.png" }}">
+ <meta property="og:description" content="{{ $cardDescription ?? "" }}">
</head>
<body>
<div class="page-container">
diff --git a/resources/views/pandamonium.blade.php b/resources/views/pandamonium.blade.php
index fc21aab..70fd27b 100644
--- a/resources/views/pandamonium.blade.php
+++ b/resources/views/pandamonium.blade.php
@@ -1,5 +1,7 @@
<x-layout>
- <x-slot:title>Rosco and Leko</x-slot:title>
+ <x-slot:title>Absolute Pandamonium!</x-slot:title>
+ <x-slot:cardImage>{{ asset('/images/embeds/pandamonium.png') }}</x-slot:cardImage>
+ <x-slot:cardDescription>Follow the adventures of Rosco, Leko, Viz and AJ!</x-slot:cardDescription>
<div class="rosco-leko-gallery">
@foreach($images as $image)
<div>