summaryrefslogtreecommitdiff
path: root/app/layout.tsx
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-10-13 15:56:26 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-10-13 15:56:26 +0800
commitc7afb232f9fd0bf7003e01c6f4b7e498ce491c94 (patch)
tree2ddf1a3793f01fd1ff46d15e2514c0fc62a01134 /app/layout.tsx
parentf238273f701e88679e3997b5ad0f6795a61986b9 (diff)
chore(layout): SEO, meta tag updates
Diffstat (limited to 'app/layout.tsx')
-rw-r--r--app/layout.tsx35
1 files changed, 32 insertions, 3 deletions
diff --git a/app/layout.tsx b/app/layout.tsx
index baa8efc..bb3924f 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,6 +1,6 @@
// "use client"
-import type { Metadata } from "next";
+import type { Metadata, Viewport } from "next";
// import { Inter, Audiowide, Rock_Salt, Monoton, JetBrains_Mono } from 'next/font/google'
import "./styles.css";
import { ThemeProvider } from "@/components/theme-provider"
@@ -32,12 +32,41 @@ import Performance from "@/components/performance";
export const metadata: Metadata = {
title: "littleblack111",
description: "littleblack111 is a full stack developer, who uses arch btw",
- keywords: ["littleblack111", "full stack", "developer", "arch", "btw"],
+ keywords: ["littleblack111", "full stack", "developer", "arch", "linux"],
+ publisher: "littleblack111",
authors: [{name: "littleblack111", url: "https://littleblack111.com"}],
creator: "littleblack111",
-
+ twitter: {
+ card: 'summary_large_image',
+ title: 'littleblack111',
+ description: 'littleblack111 is a full stack developer, who uses arch btw',
+ creator: '@littleblac59922',
+ images: {
+ url: "https://avatars.githubusercontent.com/u/97672521",
+ alt: "littleblack111"
+ },
+ },
+ openGraph: {
+ title: 'littleblack111',
+ description: 'littleblack111 is a full stack developer, who uses arch btw',
+ url: 'https://littleblack111.com',
+ siteName: "littleblack111's website",
+ images: {
+ url: "https://avatars.githubusercontent.com/u/97672521",
+ alt: "littleblack111"
+ },
+ type: 'website',
+ },
};
+export const viewport: Viewport = {
+ themeColor: [
+ { media: '(prefers-color-scheme: light)', color: 'white' },
+ { media: '(prefers-color-scheme: dark)', color: 'black' },
+ ],
+ userScalable: false,
+}
+
export default function RootLayout({children,}: Readonly<{children: React.ReactNode;}>) {
return (
<html lang="en" style={{ "--blur-size": 0 } as React.CSSProperties}>