landing page added
This commit is contained in:
@@ -11,6 +11,7 @@ import { setRequestLocale } from 'next-intl/server';
|
||||
import QueryProvider from '@/shared/config/react-query/QueryProvider';
|
||||
import Script from 'next/script';
|
||||
import Provider from '@/features/providers/provider';
|
||||
import { ToastContainer } from 'react-toastify';
|
||||
|
||||
type Props = {
|
||||
children: ReactNode;
|
||||
@@ -45,6 +46,7 @@ export default async function RootLayout({ children, params }: Props) {
|
||||
<Navbar />
|
||||
{children}
|
||||
<Footer />
|
||||
<ToastContainer position="top-center" />
|
||||
</Provider>
|
||||
</QueryProvider>
|
||||
</ThemeProvider>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import { PlagiarismCheckForm } from '@/widgets/fileUpload/ui/Plagiraismcheckform';
|
||||
import { HistoryPage } from '@/widgets/history';
|
||||
import PlagiarismLanding from '@/widgets/home';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="bg-[#f4f5ffec]">
|
||||
<PlagiarismCheckForm />
|
||||
<HistoryPage />
|
||||
<PlagiarismLanding />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
11
src/app/[locale]/plagat/page.tsx
Normal file
11
src/app/[locale]/plagat/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { PlagiarismCheckForm } from '@/widgets/fileUpload/ui/Plagiraismcheckform';
|
||||
import { HistoryPage } from '@/widgets/history';
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
<PlagiarismCheckForm />
|
||||
<HistoryPage />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user