Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmann7 committed Jan 21, 2024
1 parent 0a91a99 commit 9101e03
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
File renamed without changes
14 changes: 14 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/icon.png",
"sizes": "32x32",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const metadata: Metadata = {
icons: {
icon: "/icon.png",
},
manifest: `${siteConfig.url}/site.webmanifest`,
}

export const viewport: Viewport = {
Expand Down
2 changes: 1 addition & 1 deletion src/app/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type MetadataRoute } from "next"
import { siteConfig } from "@/config/site"

export default function sitemap(): MetadataRoute.Sitemap {
const routes = ["", "/million"].map((route) => ({
const routes = [""].map((route) => ({
url: `${siteConfig.url}${route}`,
lastModified: new Date().toISOString(),
}))
Expand Down
7 changes: 5 additions & 2 deletions src/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ export const siteConfig = {
name: "Shadcn Table",
description:
"Shadcn table component with server side sorting, pagination, and filtering",
url: "https://shadcn-table-alt.vercel.app",
links: { github: "https://github.com/sadmann7/shadcn-table-v2" },
url:
process.env.NODE_ENV === "development"
? "http://localhost:3000"
: "https://table.sadmn.com",
links: { github: "https://github.com/sadmann7/shadcn-table" },
}

0 comments on commit 9101e03

Please sign in to comment.