Files
tom goriunovandGitHub 25a4c2a97e Replace OP Superchain feature with generic Multichain explorer (#3299)
* rename feature

* rename evn preset

* types, mocks and stubs renaming

* rename UI components
2026-02-25 18:02:52 +01:00

31 lines
736 B
TypeScript

import React from 'react';
import type { NextPageWithLayout } from 'nextjs/types';
import PageNextJs from 'nextjs/PageNextJs';
import config from 'configs/app';
import MultichainHome from 'ui/multichain/home/MultichainHome';
import Home from 'ui/pages/Home';
import LayoutHome from 'ui/shared/layout/LayoutHome';
const Page: NextPageWithLayout = () => {
return (
<PageNextJs pathname="/">
{ config.features.multichain.isEnabled ? <MultichainHome/> : <Home/> }
</PageNextJs>
);
};
Page.getLayout = function getLayout(page: React.ReactElement) {
return (
<LayoutHome>
{ page }
</LayoutHome>
);
};
export default Page;
export { base as getServerSideProps } from 'nextjs/getServerSideProps/main';