Skip to content

Commit

Permalink
Merge pull request #73 from No-Country-simulation/feat/loginfix
Browse files Browse the repository at this point in the history
fix: en construcción proyectos / consultas / sobre appshet
  • Loading branch information
Moya30 authored Dec 10, 2024
2 parents 2a12e02 + 8c57f14 commit b5a3441
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
11 changes: 10 additions & 1 deletion client/src/app/[locale]/(auth)/about-appsheet/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getTranslations, setRequestLocale } from 'next-intl/server';
import ComingSoon from '@core/components/ComingSoon';
import { routing } from '@core/lib/i18nRouting';

export async function generateStaticParams() {
Expand Down Expand Up @@ -33,6 +34,14 @@ export default async function AboutAppsheetPage({
params,
}: Readonly<{ params: Promise<{ locale: string }> }>) {
const { locale } = await params;
const ct = await getTranslations<'ComingSoon'>({
locale: locale,
namespace: 'ComingSoon',
});
setRequestLocale(locale);
return <main className="mt-36 size-full px-10 sm:px-[51px] min-[1800px]:px-16"></main>;
return (
<main className="mb-20 mt-36 size-full px-10 sm:px-[51px] min-[1800px]:px-16">
<ComingSoon className="self-center" title={ct('title')} subTitle={ct('subTitle')} />
</main>
);
}
11 changes: 10 additions & 1 deletion client/src/app/[locale]/(auth)/consultancies/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getTranslations, setRequestLocale } from 'next-intl/server';
import ComingSoon from '@core/components/ComingSoon';
import { routing } from '@core/lib/i18nRouting';

export async function generateStaticParams() {
Expand Down Expand Up @@ -33,6 +34,14 @@ export default async function ConsultanciesPage({
params,
}: Readonly<{ params: Promise<{ locale: string }> }>) {
const { locale } = await params;
const ct = await getTranslations<'ComingSoon'>({
locale: locale,
namespace: 'ComingSoon',
});
setRequestLocale(locale);
return <main className="mt-36 size-full px-10 sm:px-[51px] min-[1800px]:px-16"></main>;
return (
<main className="mt-36 size-full px-10 sm:px-[51px] min-[1800px]:px-16">
<ComingSoon className="self-center" title={ct('title')} subTitle={ct('subTitle')} />
</main>
);
}
11 changes: 10 additions & 1 deletion client/src/app/[locale]/(auth)/projects/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getTranslations, setRequestLocale } from 'next-intl/server';
import ComingSoon from '@core/components/ComingSoon';
import { routing } from '@core/lib/i18nRouting';

export async function generateStaticParams() {
Expand Down Expand Up @@ -31,6 +32,14 @@ export async function generateMetadata({

export default async function ProjectPage({ params }: { params: Promise<{ locale: string }> }) {
const { locale } = await params;
const ct = await getTranslations<'ComingSoon'>({
locale: locale,
namespace: 'ComingSoon',
});
setRequestLocale(locale);
return <main className="mt-36 size-full px-10 sm:px-[51px] min-[1800px]:px-16"></main>;
return (
<main className="mb-20 mt-36 size-full px-10 sm:px-[51px] min-[1800px]:px-16">
<ComingSoon className="self-center" title={ct('title')} subTitle={ct('subTitle')} />
</main>
);
}

0 comments on commit b5a3441

Please sign in to comment.