Elimination of pointing gesture from touch display
Please open this URL on your smartphone : https://withoutpointing.now.sh
- moving page by panning up / down / left / right
- font awesome icon represents a hint of adjacent pages
- touch new
.js
file for/pages
- copy below code and paste to touched file
- change the part surrounded by
${ }
import Page from '../components/page';
import { pageInfo as topPage } from './${top page path}';
import { pageInfo as bottomPage } from './${bottom page path}';
import { pageInfo as leftPage } from './${left page path}';
import { pageInfo as rightPage } from './${right page path}';
import icon from '@fortawesome/fontawesome-free-solid/${icon of this page}';
const pageInfo = {
title: '${page title}',
icon: icon,
bgColor: '${background color}',
link: '/${file name}',
children: (
<React.Fragment>
{/* center position content */}
</React.Fragment>
)
};
export default () => (
<Page
pageInfo={pageInfo}
top={topPage}
bottom={bottomPage}
left={leftPage}
right={rightPage}
/>
);
export { pageInfo };
- progfay - progfay