Skip to content

Commit

Permalink
feat: add metadata files & update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
aabuhijleh committed Nov 18, 2024
1 parent 366b6f7 commit cf86fee
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 3 deletions.
Binary file modified app/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion app/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,18 @@ export const metadata: Metadata = {
creator: siteConfig.name,
authors: [{ name: siteConfig.name, url: siteConfig.url }],
keywords: [
"Abdurrahman Abu-Hijleh",
"Abed",
"Abdurrahman",
"Abu-Hijleh",
"developer",
"software engineer",
"web development",
"full stack",
],
};

export const viewport: Viewport = {
themeColor: "#050917",
themeColor: siteConfig.themeColor,
colorScheme: "dark",
};

Expand Down
21 changes: 21 additions & 0 deletions app/manifest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { MetadataRoute } from "next";
import { siteConfig } from "~/assets/config";

export default function manifest(): MetadataRoute.Manifest {
return {
name: siteConfig.name,
short_name: siteConfig.name,
description: siteConfig.description,
start_url: "/",
display: "standalone",
background_color: siteConfig.themeColor,
theme_color: siteConfig.themeColor,
icons: [
{
src: "/android-chrome-192x192.png",
sizes: "192x192",
type: "image/png",
},
],
};
}
13 changes: 13 additions & 0 deletions app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { MetadataRoute } from "next";
import { siteConfig } from "~/assets/config";

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: siteConfig.url,
lastModified: new Date(),
changeFrequency: "yearly",
priority: 1,
},
];
}
1 change: 1 addition & 0 deletions assets/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const siteConfig = {
name: "Abed Abu-Hijleh",
description: "Abed Abu-Hijleh is a full-stack software engineer 👨‍💻",
url: "https://aabuhijleh.com",
themeColor: "#020817",
};

export const socialLinks: BrandLink[] = [
Expand Down
Binary file added public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf86fee

Please sign in to comment.