stacker.news/pages/_offline.js
ekzyis e97509eea7
Use PWA with display: standalone (#292)
* Use next-pwa

* Use standalone + back button

* Use Notification API

* Use custom service worker

* Use url_handlers

* Add offline page

* Use smaller icon in notification

* Only prompt for notifications if logged in

* small enhancements to standalone pwa

* remove unused back arrow

---------

Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-05-31 17:28:33 -05:00

13 lines
369 B
JavaScript

import { Image } from 'react-bootstrap'
import LayoutStatic from '../components/layout-static'
import styles from '../styles/404.module.css'
export default function offline () {
return (
<LayoutStatic>
<Image width='500' height='376' src='/falling.gif' fluid />
<h1 className={styles.fourZeroFour}><span>Offline</span></h1>
</LayoutStatic>
)
}