rikunarita-2 commited on
Commit
8d00c92
·
verified ·
1 Parent(s): ab12938

Create components/Layout.tsx

Browse files
Files changed (1) hide show
  1. frontend/components/Layout.tsx +20 -0
frontend/components/Layout.tsx ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React from 'react';
2
+ import Head from 'next/head';
3
+ import { useTranslation } from 'next-i18next';
4
+
5
+ const Layout: React.FC<{children: React.ReactNode}> = ({ children }) => {
6
+ const { t } = useTranslation('common');
7
+ return (
8
+ <>
9
+ <Head>
10
+ <title>{t('title')}</title>
11
+ <meta name="description" content="Evolutionary model merging for Hugging Face" />
12
+ </Head>
13
+ <main className="min-h-screen bg-gray-50 text-gray-900">
14
+ {children}
15
+ </main>
16
+ </>
17
+ );
18
+ };
19
+
20
+ export default Layout;