-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from dardotjs/website-core-update
add sitemap, robot.txt and fixed link
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { MetadataRoute } from 'next' | ||
|
||
export default function robots(): MetadataRoute.Robots { | ||
return { | ||
rules: { | ||
userAgent: '*', | ||
allow: '/', | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { MetadataRoute } from "next"; | ||
|
||
export default function sitemap(): MetadataRoute.Sitemap { | ||
return [ | ||
{ | ||
url: "https://darjs.org/", | ||
lastModified: new Date(), | ||
changeFrequency: "monthly", | ||
priority: 1, | ||
}, | ||
{ | ||
url: "https://darjs.org/about", | ||
lastModified: new Date(), | ||
changeFrequency: "monthly", | ||
priority: 0.8, | ||
}, | ||
{ | ||
url: "https://darjs.org/meetups", | ||
lastModified: new Date(), | ||
changeFrequency: "weekly", | ||
priority: 0.5, | ||
}, | ||
{ | ||
url: "https://darjs.org/contact", | ||
lastModified: new Date(), | ||
changeFrequency: "weekly", | ||
priority: 0.5, | ||
}, | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters