Skip to content

Commit

Permalink
feat: updated metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdly committed Jul 22, 2024
1 parent 9b12611 commit 19a0559
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
5 changes: 3 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ import { cn } from "@/lib/utils";
import "@/styles/globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { description, title } from "@/lib/data";

const inter = Inter({
subsets: ["latin"],
variable: "--font-inter",
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title,
description,
icons: [{ rel: "icon", url: "/favicon.ico" }],
};

Expand Down
19 changes: 18 additions & 1 deletion src/lib/data.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
// To make the website easy to update, there should be very little hardcoded
// values in use. Instead, create and use variables here.

//
// Metadata
//

export const title = "Nicholas Ly";
export const description = "Nicholas Ly is a web developer and software engineer building high quality and performant products.";

//
// Images
//

export const avatarUrl =
"https://utfs.io/f/0055a8f0-325f-4c79-8a74-172c964ea1f6-icd3nt.jpg";
export const bannerUrl =
"https://utfs.io/f/126fd0dc-959a-48b8-abcc-ca239d1ef32c-rqcmyx.png";

//
// User Profile
//

export const name = "Nicholas Ly";
export const role = "Web Developer";
export const bio = "Hi, I'm Nicholas. Welcome to my website!";

export const birthday = "August 2001";
export const location = "Chicago, USA";
export const link = {
Expand Down

0 comments on commit 19a0559

Please sign in to comment.