diff --git a/app/layout.tsx b/app/layout.tsx index 9799482..60ccb24 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,41 +1,11 @@ import { Inter } from "next/font/google"; -import Head from "next/head"; import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); -const customMetadata = { - title: "Elden Ring Message Creator - Easily Compose Custom Messages", - description: "Generate custom messages for Elden Ring. Elden Scribe is an easy-to-use tool for creating Elden Ring messages.", - keywords: "Elden Ring, message generator, custom messages, game tool, Elden Scribe", - author: "Chris Worcester", -}; - const RootLayout = ({ children }: { children: React.ReactNode }) => { return ( - - {customMetadata.title} - - - - - - {/* Open Graph meta tags for Facebook */} - - - - {/* Twitter card meta tags */} - - - - {/* Canonical URL */} - {/* Language */} - - {/* Favicon */} - - - {children} ); diff --git a/app/page.tsx b/app/page.tsx index 13726ce..cc6fa68 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -4,6 +4,18 @@ import React, { useState, useEffect, useRef } from "react"; import Filter from "./filter"; import Message from "./message"; import Head from "next/head"; +import { Inter } from "next/font/google"; +import "./globals.css"; + +const inter = Inter({ subsets: ["latin"] }); + +const customMetadata = { + title: "Elden Ring Message Creator - Easily Compose Custom Messages", + description: "Generate custom messages for Elden Ring. Elden Scribe is an easy-to-use tool for creating Elden Ring messages.", + keywords: "Elden Ring, message generator, custom messages, game tool, Elden Scribe", + author: "Chris Worcester", + siteUrl: "https://chriswhisker.github.io/elden-ring-message-creator/", +}; const Home = () => { const inputRef = useRef(null); @@ -50,88 +62,109 @@ const Home = () => { }, []); return ( - <> + - Elden Ring Message Creator - Easily Compose Custom Messages + {customMetadata.title} + + + + + {/* Open Graph meta tags for Facebook */} + + + + + {/* Twitter card meta tags */} + + + + {/* Canonical URL */} + + {/* Language */} + + {/* Favicon */} + -
-
- - - - - - +
+
+ + + + + + + + + + +
+ +
+
- - - - -
- -
-
- -
-
-
+ +
+
+
+
+ {/* Word bank buttons will be dynamically added here */} +
+
- {/* Word bank buttons will be dynamically added here */} +
{messageText}
+
{renderedButtons}
+
+
+
+
© 2024 Chris Worcester. All Rights Reserved.
-
-
-
{messageText}
-
{renderedButtons}
-
-
-
-
© 2024 Chris Worcester. All Rights Reserved. -
-
- + + + ); };