mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* update csv export text * fix pw tests * base layout and customization for home page and search results page * refactor rest of the pages * refactor AppError * move header padding to layout * move nextjs utils to separate folder * combine PageServer and Page * make useQueryClientConfig hook * add tests * remove unused var * fix envs for pw * fix pw tests
21 lines
476 B
TypeScript
21 lines
476 B
TypeScript
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
import SwaggerUI from 'ui/apiDocs/SwaggerUI';
|
|
import PageTitle from 'ui/shared/Page/PageTitle';
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/api-docs">
|
|
<PageTitle title="API Documentation"/>
|
|
<SwaggerUI/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { apiDocs as getServerSideProps } from 'nextjs/getServerSideProps';
|