Skip to content

Commit

Permalink
Merge pull request #2 from kmcginnes/fix-ci
Browse files Browse the repository at this point in the history
Add image type declarations
  • Loading branch information
kmcginnes authored Feb 5, 2024
2 parents a90fc79 + 435ca8e commit 9d83ad2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .nova/Configuration.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"workspace.color": 12
"editor.default_syntax" : "tsx",
"workspace.color" : 3
}
8 changes: 8 additions & 0 deletions .nova/Tasks/Custom Task.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"actions" : {
"run" : {
"enabled" : true,
"script" : "bun run dev"
}
}
}
14 changes: 14 additions & 0 deletions src/app/robots.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { type MetadataRoute } from "next"
import { env } from "~/env"

export default function robots(): MetadataRoute.Robots {
const baseUrl = env.SITE_URL ?? "http://localhost:3000"
return {
rules: {
userAgent: "*",
allow: "/",
disallow: "/private/",
},
sitemap: baseUrl + "/sitemap.xml",
}
}
3 changes: 3 additions & 0 deletions src/types/images.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module "*.png"
declare module "*.jpg"
declare module "*.jpeg"

0 comments on commit 9d83ad2

Please sign in to comment.