From 7e56db9a4f5dee6fa8f1a79e39e9f493634f771d Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Mon, 20 Nov 2023 16:31:19 -0800 Subject: [PATCH] bump next & add doge --- app/(post)/og/[id]/route.tsx | 2 +- app/about/opengraph-image.tsx | 2 +- app/doge.tsx | 23 +++++++ app/layout.tsx | 8 ++- app/opengraph-image.tsx | 2 +- next.config.js | 1 - package.json | 2 +- pnpm-lock.yaml | 122 ++++++++++++++++++---------------- 8 files changed, 98 insertions(+), 64 deletions(-) create mode 100644 app/doge.tsx diff --git a/app/(post)/og/[id]/route.tsx b/app/(post)/og/[id]/route.tsx index 9166101e..2ec74321 100644 --- a/app/(post)/og/[id]/route.tsx +++ b/app/(post)/og/[id]/route.tsx @@ -1,6 +1,6 @@ export const runtime = "edge"; -import { ImageResponse } from "next/server"; +import { ImageResponse } from "next/og"; import { getPosts } from "@/app/get-posts"; // fonts diff --git a/app/about/opengraph-image.tsx b/app/about/opengraph-image.tsx index 0a8fd17f..366690c6 100644 --- a/app/about/opengraph-image.tsx +++ b/app/about/opengraph-image.tsx @@ -1,7 +1,7 @@ export const runtime = "edge"; export const revalidate = 60; -import { ImageResponse } from "next/server"; +import { ImageResponse } from "next/og"; import { getPosts } from "@/app/get-posts"; import commaNumber from "comma-number"; diff --git a/app/doge.tsx b/app/doge.tsx new file mode 100644 index 00000000..63482965 --- /dev/null +++ b/app/doge.tsx @@ -0,0 +1,23 @@ +export function doge() { + console.log(` + ▄ ▄ + ▌▒█ ▄▀▒▌ + ▌▒▒█ ▄▀▒▒▒▐ + ▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐ + ▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐ + ▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌ + ▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌ + ▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐ + ▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌ + ▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌ + ▌▒▀▐▄█▄█▌▄░▀▒▒░░░░░░░░░░▒▒▒▐ + ▐▒▒▐▀▐▀▒░▄▄▒▄▒▒▒▒▒▒░▒░▒░▒▒▒▒▌ + ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒▒▒░▒░▒░▒▒▐ + ▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒░▒░▒░▒░▒▒▒▌ + ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▄▒▒▐ + ▀▄▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▄▒▒▒▒▌ + ▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀ + ▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀ + ▒▒▒▒▒▒▒▒▒▒▀▀ + `); +} diff --git a/app/layout.tsx b/app/layout.tsx index dc024e5b..5ad38c2b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,6 +5,7 @@ import { themeEffect } from "./theme-effect"; import { Analytics } from "./analytics"; import { Header } from "./header"; import { Footer } from "./footer"; +import { doge } from "./doge"; const inter = Inter({ subsets: ["latin"] }); @@ -24,10 +25,13 @@ export const metadata = { site: "@rauchg", creator: "@rauchg", }, - themeColor: "transparent", metadataBase: new URL("https://rauchg.com"), }; +export const viewport = { + themeColor: "transparent", +}; + export default function RootLayout({ children, }: { @@ -42,7 +46,7 @@ export default function RootLayout({