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>
|
||||
);
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500&display=swap');
|
||||
@import 'tailwindcss';
|
||||
@import 'tw-animate-css';
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box;}
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
@theme inline {
|
||||
|
||||
Reference in New Issue
Block a user