Update layout with openGraph metadata

This commit is contained in:
Riccardo Giorato
2026-01-05 22:20:04 +01:00
parent dd1bddaaa4
commit 057cd6a67e
4 changed files with 3 additions and 20 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

+3
View File
@@ -26,6 +26,9 @@ export const metadata: Metadata = {
title: "MakeComics - AI Comic Generator", title: "MakeComics - AI Comic Generator",
description: description:
"Create stunning AI-generated comics in seconds. Choose your style, describe your story, and watch the magic happen.", "Create stunning AI-generated comics in seconds. Choose your style, describe your story, and watch the magic happen.",
openGraph:{
images: "https://make-comics.vercel.app/og.png"
}
}; };
export default function RootLayout({ export default function RootLayout({
-20
View File
@@ -1,20 +0,0 @@
import { db } from './lib/db';
import { stories, pages } from './lib/schema';
async function clearDatabase() {
try {
console.log('Clearing all pages...');
await db.delete(pages);
console.log('Clearing all stories...');
await db.delete(stories);
console.log('Database cleared successfully!');
} catch (error) {
console.error('Error clearing database:', error);
} finally {
process.exit(0);
}
}
clearDatabase();
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB