rikunarita-2 commited on
Commit
ab12938
·
verified ·
1 Parent(s): 6a529c4

Create index.tsx

Browse files
Files changed (1) hide show
  1. frontend/pages/index.tsx +23 -0
frontend/pages/index.tsx ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { GetServerSideProps } from 'next';
2
+ import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
3
+ import Layout from '../components/Layout';
4
+ import JobForm from '../components/JobForm';
5
+ import JobQueue from '../components/JobQueue';
6
+
7
+ export default function Home() {
8
+ return (
9
+ <Layout>
10
+ <div className="max-w-4xl mx-auto p-6 space-y-8">
11
+ <h1 className="text-3xl font-bold">🧬 Evolutionary Model Merger</h1>
12
+ <JobForm />
13
+ <JobQueue />
14
+ </div>
15
+ </Layout>
16
+ );
17
+ }
18
+
19
+ export const getServerSideProps: GetServerSideProps = async ({ locale }) => ({
20
+ props: {
21
+ ...(await serverSideTranslations(locale!, ['common'])),
22
+ },
23
+ });