mirror of
https://github.com/hanzonet/explore.git
synced 2026-10-30 18:16:57 +00:00
* page placeholder * block info snippet * add actions for calendar buttons * add timer * add redirect when timer runs out * add redirect from not found block page * block countdown index page * link to countdown index page * add link to search suggest * add URL to an event * add link to block countdown on mobile * tests * add countdown text to search result page * update margins * show block countdown when search results are not empty
21 lines
581 B
TypeScript
21 lines
581 B
TypeScript
import type { NextPage } from 'next';
|
|
import dynamic from 'next/dynamic';
|
|
import React from 'react';
|
|
|
|
import type { Props } from 'nextjs/getServerSideProps';
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
const BlockCountdownIndex = dynamic(() => import('ui/pages/BlockCountdownIndex'), { ssr: false });
|
|
|
|
const Page: NextPage<Props> = (props: Props) => {
|
|
return (
|
|
<PageNextJs pathname="/block/countdown" query={ props.query }>
|
|
<BlockCountdownIndex/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { base as getServerSideProps } from 'nextjs/getServerSideProps';
|