first commit

This commit is contained in:
2026-01-17 14:17:42 +05:30
commit 0f194eb9e7
328 changed files with 73544 additions and 0 deletions

94
app/robots.ts Normal file
View File

@@ -0,0 +1,94 @@
import { MetadataRoute } from 'next'
export default function robots(): MetadataRoute.Robots {
const baseUrl = process.env.NEXTAUTH_URL || 'https://padmaajarasooi.com'
return {
rules: [
{
userAgent: '*',
allow: [
'/',
'/about',
'/products',
'/kashmina-rice',
'/contact',
'/about/quality',
'/private-label',
'/export',
'/products/*',
'/cart',
'/auth/signin',
'/auth/signup',
'/legal/*',
],
disallow: [
'/dashboard/*',
'/admin/*',
'/api/*',
'/orders/*',
'/profile/*',
'/checkout/*',
'/maintenance',
'/offline',
'/_next/*',
'/node_modules/*',
'/*.json$',
'/*.xml$',
'/temp/*',
'/private/*',
],
},
{
userAgent: 'Googlebot',
allow: [
'/',
'/about',
'/products',
'/contact',
'/about/quality',
'/private-label',
'/export',
'/products/*',
'/legal/*',
],
disallow: [
'/dashboard/*',
'/admin/*',
'/api/*',
'/orders/*',
'/profile/*',
'/checkout/*',
'/cart',
'/auth/*',
],
},
{
userAgent: 'Bingbot',
allow: [
'/',
'/about',
'/products',
'/contact',
'/about/quality',
'/private-label',
'/export',
'/products/*',
'/legal/*',
],
disallow: [
'/dashboard/*',
'/admin/*',
'/api/*',
'/orders/*',
'/profile/*',
'/checkout/*',
'/cart',
'/auth/*',
],
},
],
sitemap: `${baseUrl}/sitemap.xml`,
host: baseUrl,
}
}