mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
24 lines
612 B
TypeScript
24 lines
612 B
TypeScript
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
import config from 'configs/app';
|
|
import SwaggerUI from 'ui/apiDocs/SwaggerUI';
|
|
import PageTitle from 'ui/shared/Page/PageTitle';
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/api-docs">
|
|
<PageTitle
|
|
title={ config.meta.seo.enhancedDataEnabled ? `${ config.chain.name } API documentation` : 'API documentation' }
|
|
/>
|
|
<SwaggerUI/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { apiDocs as getServerSideProps } from 'nextjs/getServerSideProps';
|