-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0807c24
commit cd116c2
Showing
7 changed files
with
62 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
import { NextPage } from 'next'; | ||
import { GetStaticProps, NextPage } from 'next'; | ||
|
||
import ItemBottom from '@/components/home/ItemBottom'; | ||
import Seo from '@/components/Seo'; | ||
import ToTop from '@/components/toTop/ToTop'; | ||
|
||
import content from '../../../data/ats.md'; | ||
|
||
import { HelpPageProps } from '@/types/help'; | ||
|
||
const ATSPage: NextPage<HelpPageProps> = ({ content }) => { | ||
return ( | ||
<> | ||
<Seo title='用户服务协议' /> | ||
|
||
<div className='mt-2 bg-white p-5 dark:bg-gray-800 md:rounded-lg '> | ||
<div className='mb-10 flex flex-col items-center px-2 text-4xl font-bold '> | ||
<div className='mt-2 bg-white p-5 dark:bg-gray-800 md:rounded-lg'> | ||
<div className='mb-10 flex flex-col items-center px-2 text-4xl font-bold'> | ||
用户服务协议 | ||
</div> | ||
<article className='whitespace-pre-line'>{content}</article> | ||
<ItemBottom endText='END'></ItemBottom> | ||
<ItemBottom endText='END' /> | ||
</div> | ||
<ToTop /> | ||
<div className='h-4'></div> | ||
<div className='h-4' /> | ||
</> | ||
); | ||
}; | ||
|
||
export default ATSPage; | ||
|
||
export async function getStaticProps() { | ||
export const getStaticProps: GetStaticProps = async () => { | ||
const content = await import('../../../data/ats.md').then( | ||
(mod) => mod.default | ||
); | ||
return { | ||
props: { content: content }, | ||
props: { content }, | ||
}; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters