add sitemap & robots.txt

This commit is contained in:
Matthias Nannt
2022-11-14 11:11:41 +01:00
parent a4d4ff3b1a
commit abf459eb6d
6 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "https://formbricks.com",
generateRobotsTxt: true, // (optional)
};

View File

@@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"postbuild": "next-sitemap",
"start": "next start",
"lint": "next lint"
},
@@ -15,10 +16,12 @@
"@mdx-js/loader": "^2.1.5",
"@mdx-js/react": "^2.1.5",
"@next/mdx": "^13.0.0",
"add": "^2.0.6",
"clsx": "^1.2.1",
"lottie-web": "^5.9.6",
"next": "13.0.0",
"next-plausible": "^3.6.4",
"next-sitemap": "^3.1.31",
"prism-react-renderer": "^1.3.5",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -0,0 +1,9 @@
# *
User-agent: *
Allow: /
# Host
Host: https://formbricks.com
# Sitemaps
Sitemap: https://formbricks.com/sitemap.xml

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://formbricks.com</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/blog</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/blog/open-source-forms-will-save-the-world</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/blog/snoopforms-becomes-formbricks</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/blog/why-open-source-no-code-is-the-future-of-enterprise-gov-software</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/community</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/core-api</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/data-insights/form-hq</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/data-pipelines/core-api</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/data-pipelines/email-notifications</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/data-pipelines/webhooks</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/form-creation/react-form-builder</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/introduction/how-to-achieve-this</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/introduction/quick-start</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/introduction/what-is-formbricks</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/docs/introduction/why-formbricks</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/email</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/form-hq</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/get-started</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/imprint</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/privacy</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/react-form-library</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/visual-builder</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/vs-formspree</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/vs-react-hook-form</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://formbricks.com/webhooks</loc><lastmod>2022-11-14T10:08:08.816Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://formbricks.com/sitemap-0.xml</loc></sitemap>
</sitemapindex>

26
pnpm-lock.yaml generated
View File

@@ -26,6 +26,7 @@ importers:
'@types/node': 18.11.6
'@types/react': 18.0.23
'@types/react-dom': 18.0.7
add: ^2.0.6
autoprefixer: ^10.4.12
clsx: ^1.2.1
eslint: 8.26.0
@@ -33,6 +34,7 @@ importers:
lottie-web: ^5.9.6
next: 13.0.0
next-plausible: ^3.6.4
next-sitemap: ^3.1.31
postcss: ^8.4.18
prism-react-renderer: ^1.3.5
react: 18.2.0
@@ -48,10 +50,12 @@ importers:
'@mdx-js/loader': 2.1.5_webpack@5.74.0
'@mdx-js/react': 2.1.5_react@18.2.0
'@next/mdx': 13.0.1_wuv4qx5dshjptmdbtsqqkih5iu
add: 2.0.6
clsx: 1.2.1
lottie-web: 5.9.6
next: 13.0.0_biqbaboplfbrettd7655fr4n2y
next-plausible: 3.6.4_r5sq4deac3rmm2d5onhwvomqve
next-sitemap: 3.1.31_qcnuwogvzn5dnsttittida2hji
prism-react-renderer: 1.3.5_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
@@ -493,6 +497,10 @@ packages:
prettier: 2.7.1
dev: true
/@corex/deepmerge/4.0.29:
resolution: {integrity: sha512-q/yVUnqckA8Do+EvAfpy7RLdumnBy9ZsducMUtZTvpdbJC7azEf1hGtnYYxm0QfphYxjwggv6XtH64prvS1W+A==}
dev: false
/@docsearch/css/3.3.0:
resolution: {integrity: sha512-rODCdDtGyudLj+Va8b6w6Y85KE85bXRsps/R4Yjwt5vueXKXZQKYw0aA9knxLBT6a/bI/GMrAcmCR75KYOM6hg==}
dev: false
@@ -1341,6 +1349,10 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
/add/2.0.6:
resolution: {integrity: sha512-j5QzrmsokwWWp6kUcJQySpbG+xfOBqqKnup3OIk1pz+kB/80SLorZ9V8zHFLO92Lcd+hbvq8bT+zOGoPkmBV0Q==}
dev: false
/ajv-keywords/3.5.2_ajv@6.12.6:
resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
peerDependencies:
@@ -4114,6 +4126,20 @@ packages:
react-dom: 18.2.0_react@18.2.0
dev: false
/next-sitemap/3.1.31_qcnuwogvzn5dnsttittida2hji:
resolution: {integrity: sha512-GGp+EKSNYy3nlfuZtyI2DAsUrTSA6u35glVQVxpiPRnPHINDozsxSbFzHgFNqZ95hBBdkw5anDJYVnRYGIWvNw==}
engines: {node: '>=14.18'}
hasBin: true
peerDependencies:
'@next/env': '*'
next: '*'
dependencies:
'@corex/deepmerge': 4.0.29
'@next/env': 13.0.0
minimist: 1.2.6
next: 13.0.0_biqbaboplfbrettd7655fr4n2y
dev: false
/next/13.0.0_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-puH1WGM6rGeFOoFdXXYfUxN9Sgi4LMytCV5HkQJvVUOhHfC1DoVqOfvzaEteyp6P04IW+gbtK2Q9pInVSrltPA==}
engines: {node: '>=14.6.0'}