From f09b4032820e265b77eb22075bfb536c446960b5 Mon Sep 17 00:00:00 2001 From: GeorgeWebberley Date: Tue, 3 Feb 2026 14:52:42 +0100 Subject: [PATCH] Added favicon, bunny cdn and site name --- app/layout.tsx | 7 +++++-- next.config.ts | 16 ++++++++-------- public/favicon.svg | 7 +++++++ 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 public/favicon.svg diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..38eb6e6 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -13,8 +13,11 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "George W.", + description: "Portfolio site", + icons: { + icon: [{ url: "/favicon.svg", type: "image/svg+xml" }], + }, }; export default function RootLayout({ diff --git a/next.config.ts b/next.config.ts index b2f8015..3b4c81a 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,14 +2,14 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", - // assetPrefix: - // process.env.NODE_ENV === "production" - // ? "https://cdn.georgew.dev" - // : undefined, - // images: { - // loader: "imgix", - // path: "https://cdn.georgew.dev/", - // }, + assetPrefix: + process.env.NODE_ENV === "production" + ? "https://georgew.b-cdn.net" + : undefined, + images: { + domains: ["georgew.b-cdn.net"], + loader: "default", + }, }; export default nextConfig; diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..af1a4c7 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,7 @@ + + + + < > + + \ No newline at end of file