mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 17:41:21 +00:00
chore: rework metadata fields
This commit is contained in:
parent
3dea32828f
commit
4e870b76c9
2 changed files with 11 additions and 7 deletions
|
@ -3,7 +3,7 @@ import localFont from "next/font/local";
|
||||||
|
|
||||||
import "@/styles/globals.css";
|
import "@/styles/globals.css";
|
||||||
import { siteConfig } from "@/config/site";
|
import { siteConfig } from "@/config/site";
|
||||||
import { absoluteUrl, cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import { Analytics } from "@/components/analytics";
|
import { Analytics } from "@/components/analytics";
|
||||||
import { TailwindIndicator } from "@/components/tailwind-indicator";
|
import { TailwindIndicator } from "@/components/tailwind-indicator";
|
||||||
import { ThemeProvider } from "@/components/theme-provider";
|
import { ThemeProvider } from "@/components/theme-provider";
|
||||||
|
@ -13,13 +13,16 @@ export const metadata = {
|
||||||
default: siteConfig.name,
|
default: siteConfig.name,
|
||||||
template: `%s | ${siteConfig.name}`,
|
template: `%s | ${siteConfig.name}`,
|
||||||
},
|
},
|
||||||
|
metadataBase: new URL(`https://${siteConfig.url}}`),
|
||||||
description: siteConfig.description,
|
description: siteConfig.description,
|
||||||
keywords: [
|
keywords: [
|
||||||
|
"Portfolio",
|
||||||
"Next.js",
|
"Next.js",
|
||||||
"React",
|
"React",
|
||||||
"Tailwind CSS",
|
"Azure",
|
||||||
"Server Components",
|
"Kubernetes",
|
||||||
"Radix UI",
|
"DevOps",
|
||||||
|
"Python",
|
||||||
],
|
],
|
||||||
authors: [
|
authors: [
|
||||||
{
|
{
|
||||||
|
@ -27,7 +30,7 @@ export const metadata = {
|
||||||
url: siteConfig.url,
|
url: siteConfig.url,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
creator: "shadcn",
|
creator: "bartvdbraak",
|
||||||
themeColor: [
|
themeColor: [
|
||||||
{ media: "(prefers-color-scheme: light)", color: "white" },
|
{ media: "(prefers-color-scheme: light)", color: "white" },
|
||||||
{ media: "(prefers-color-scheme: dark)", color: "black" },
|
{ media: "(prefers-color-scheme: dark)", color: "black" },
|
||||||
|
@ -64,7 +67,6 @@ const fontSans = FontSans({
|
||||||
variable: "--font-sans",
|
variable: "--font-sans",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Font files can be colocated inside of `pages`
|
|
||||||
const fontHeading = localFont({
|
const fontHeading = localFont({
|
||||||
src: "../assets/fonts/CalSans-SemiBold.woff2",
|
src: "../assets/fonts/CalSans-SemiBold.woff2",
|
||||||
variable: "--font-heading",
|
variable: "--font-heading",
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
|
import { env } from "@/env.mjs";
|
||||||
|
|
||||||
export const siteConfig = {
|
export const siteConfig = {
|
||||||
name: "hellob.art",
|
name: "hellob.art",
|
||||||
description: "a simple portfolio made by bart van der braak.",
|
description: "a simple portfolio made by bart van der braak.",
|
||||||
url: "https://hellob.art",
|
url: env.NEXT_PUBLIC_APP_URL || "https://hellob.art",
|
||||||
ogImage: "https://hellob.art/og.jpg",
|
ogImage: "https://hellob.art/og.jpg",
|
||||||
links: {
|
links: {
|
||||||
linkedIn: "https://linkedin.com/in/bartvdbraak",
|
linkedIn: "https://linkedin.com/in/bartvdbraak",
|
||||||
|
|
Loading…
Reference in a new issue