mirror of
https://github.com/acid-info/free.technology.git
synced 2025-02-23 15:08:28 +00:00
refactor: use tsx for jobs page
This commit is contained in:
parent
ba6a67d38b
commit
9119df3c0d
@ -1,21 +0,0 @@
|
||||
import { SEO } from '@/components/SEO'
|
||||
import { Navbar } from '@/components/Navbar'
|
||||
import { Home } from '@/containers/Home'
|
||||
import { Mission } from '@/components/Mission'
|
||||
import { Footer } from '@/components/Footer'
|
||||
import { JobList } from '@/components/JobList'
|
||||
import { Box } from '@/components/Box'
|
||||
|
||||
<SEO />
|
||||
|
||||
<Navbar />
|
||||
|
||||
<Box>
|
||||
<JobList unit={'codex'} />
|
||||
<JobList unit={'status'} />
|
||||
<JobList unit={'waku'} />
|
||||
<JobList unit={'nimbus'} />
|
||||
<JobList unit={'nomos'} />
|
||||
</Box>
|
||||
|
||||
<Footer />
|
35
src/pages/jobs.tsx
Normal file
35
src/pages/jobs.tsx
Normal file
@ -0,0 +1,35 @@
|
||||
import { Box } from '@/components/Box'
|
||||
import { JobList } from '@/components/JobList'
|
||||
import { Navbar } from '@/components/Navbar'
|
||||
import { SEO } from '@/components/SEO'
|
||||
|
||||
import { DefaultLayout } from '../layouts/DefaultLayout'
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
<>
|
||||
<SEO />
|
||||
<div>
|
||||
<Navbar />
|
||||
|
||||
<Box>
|
||||
<JobList unit={'codex'} />
|
||||
<JobList unit={'status'} />
|
||||
<JobList unit={'waku'} />
|
||||
<JobList unit={'nimbus'} />
|
||||
<JobList unit={'nomos'} />
|
||||
</Box>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Page.getLayout = function getLayout(page: React.ReactNode) {
|
||||
return <DefaultLayout>{page}</DefaultLayout>
|
||||
}
|
||||
|
||||
export async function getStaticProps() {
|
||||
return { props: {} }
|
||||
}
|
||||
|
||||
export default Page
|
Loading…
x
Reference in New Issue
Block a user