Update layout with openGraph metadata
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
@@ -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
@@ -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();
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.7 MiB |
Reference in New Issue
Block a user