faq, privacy-policy and about page complated
This commit is contained in:
15
src/app/[locale]/about/page.tsx
Normal file
15
src/app/[locale]/about/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { AboutContent } from '@/features/about/ui/AboutContent';
|
||||
import { AboutHero } from '@/features/about/ui/AboutHero';
|
||||
import { PartnershipForm } from '@/features/about/ui/AboutPage';
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div className="custom-container">
|
||||
<AboutHero />
|
||||
<AboutContent />
|
||||
<PartnershipForm />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
11
src/app/[locale]/faq/page.tsx
Normal file
11
src/app/[locale]/faq/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import Faq from '@/features/faq/ui/Faq';
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div>
|
||||
<Faq />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
@@ -3,6 +3,7 @@ import { routing } from '@/shared/config/i18n/routing';
|
||||
import QueryProvider from '@/shared/config/react-query/QueryProvider';
|
||||
import { ThemeProvider } from '@/shared/config/theme-provider';
|
||||
import { PRODUCT_INFO } from '@/shared/constants/data';
|
||||
import { Toaster } from '@/shared/ui/sonner';
|
||||
import type { Metadata } from 'next';
|
||||
import { hasLocale, Locale, NextIntlClientProvider } from 'next-intl';
|
||||
import { setRequestLocale } from 'next-intl/server';
|
||||
@@ -48,6 +49,7 @@ export default async function RootLayout({ children, params }: Props) {
|
||||
>
|
||||
<QueryProvider>
|
||||
<LayoutShell>{children}</LayoutShell>
|
||||
<Toaster />
|
||||
</QueryProvider>
|
||||
</ThemeProvider>
|
||||
</NextIntlClientProvider>
|
||||
|
||||
11
src/app/[locale]/privacy-policy/page.tsx
Normal file
11
src/app/[locale]/privacy-policy/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import PrivacyPolicy from '@/features/privacy-policy/ui/PrivacyPlicy';
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div>
|
||||
<PrivacyPolicy />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
Reference in New Issue
Block a user