Initial commit

This commit is contained in:
dahoud
2025-10-01 01:39:07 +00:00
commit b430bf3b96
826 changed files with 255287 additions and 0 deletions

55
app/robots.ts Normal file
View File

@@ -0,0 +1,55 @@
import { MetadataRoute } from 'next'
/**
* Robots.txt pour BTP Xpress - Optimisation SEO
*/
export default function robots(): MetadataRoute.Robots {
return {
rules: [
{
userAgent: '*',
allow: '/',
disallow: [
'/api/',
'/dashboard/',
'/chantiers/',
'/clients/',
'/devis/',
'/factures/',
'/planning/',
'/materiels/',
'/stock/',
'/rapports/',
'/admin/',
'/profile/',
'/auth/',
'/_next/',
'/private/',
],
},
{
userAgent: 'Googlebot',
allow: '/',
disallow: [
'/api/',
'/dashboard/',
'/chantiers/',
'/clients/',
'/devis/',
'/factures/',
'/planning/',
'/materiels/',
'/stock/',
'/rapports/',
'/admin/',
'/profile/',
'/auth/',
'/_next/',
'/private/',
],
},
],
sitemap: 'https://btpxpress.lions.dev/sitemap.xml',
host: 'https://btpxpress.lions.dev',
}
}