diff --git a/build_log.txt b/build_log.txt deleted file mode 100644 index a872897..0000000 --- a/build_log.txt +++ /dev/null @@ -1,29 +0,0 @@ - -> TrustLab by DyzulkDev@1.0.0 build -> next build - - Γû▓ Next.js 16.0.10 (Turbopack) - - Environments: .env.local - - Creating an optimized production build ... - -> Build error occurred -Error: Turbopack build failed with 1 errors: -./src/app/(public)/reset-password/page.tsx:6:29 -Ecmascript file had an error - 4 | import PageLoader from "@/components/ui/PageLoader"; - 5 | -> 6 | const ResetPasswordClient = dynamic(() => import("./ResetPasswordClient"), { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -> 7 | ssr: false, - | ^^^^^^^^^^^^^ -> 8 | }); - | ^^^ - 9 | - 10 | export async function generateMetadata() { - 11 | const t = await getTranslations("Auth"); - -`ssr: false` is not allowed with `next/dynamic` in Server Components. Please move it into a Client Component. - - - at (./src/app/(public)/reset-password/page.tsx:6:29) diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c9716c4 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,6 @@ +User-agent: * +Allow: / +Disallow: /dashboard/ +Disallow: /api/ + +Sitemap: https://trustlab.dyzulk.com/sitemap.xml diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..e972894 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,39 @@ + + + + https://trustlab.dyzulk.com + 2025-12-30 + daily + 1.0 + + + https://trustlab.dyzulk.com/signin + 2025-12-30 + monthly + 0.8 + + + https://trustlab.dyzulk.com/signup + 2025-12-30 + monthly + 0.8 + + + https://trustlab.dyzulk.com/contact + 2025-12-30 + monthly + 0.7 + + + https://trustlab.dyzulk.com/tools/key-generator + 2025-12-30 + weekly + 0.9 + + + https://trustlab.dyzulk.com/tools/chat-id + 2025-12-30 + weekly + 0.9 + + diff --git a/src/app/robots.ts b/src/app/robots.ts deleted file mode 100644 index 92d54df..0000000 --- a/src/app/robots.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { MetadataRoute } from 'next'; - -export default function robots(): MetadataRoute.Robots { - const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://trustlab.dyzulk.com'; - - return { - rules: { - userAgent: '*', - allow: '/', - disallow: ['/dashboard/', '/api/'], - }, - sitemap: `${baseUrl}/sitemap.xml`, - }; -} diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts deleted file mode 100644 index 3eb3853..0000000 --- a/src/app/sitemap.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { MetadataRoute } from 'next'; - -export default function sitemap(): MetadataRoute.Sitemap { - const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://trustlab.dyzulk.com'; - - return [ - { - url: baseUrl, - lastModified: new Date(), - changeFrequency: 'daily', - priority: 1, - }, - { - url: `${baseUrl}/signin`, - lastModified: new Date(), - changeFrequency: 'monthly', - priority: 0.8, - }, - { - url: `${baseUrl}/signup`, - lastModified: new Date(), - changeFrequency: 'monthly', - priority: 0.8, - }, - { - url: `${baseUrl}/contact`, - lastModified: new Date(), - changeFrequency: 'monthly', - priority: 0.7, - }, - { - url: `${baseUrl}/tools/key-generator`, - lastModified: new Date(), - changeFrequency: 'weekly', - priority: 0.9, - }, - { - url: `${baseUrl}/tools/chat-id`, - lastModified: new Date(), - changeFrequency: 'weekly', - priority: 0.9, - }, - ]; -}