import Document, { Head, Main, NextScript } from 'next/document' import { ServerStyleSheet } from 'styled-components' const description = 'an implementation of 3GPP EPC(MME, SGW, PGW, HSS)' export default class MyDocument extends Document { render () { const sheet = new ServerStyleSheet() const main = sheet.collectStyles(
) const styleTags = sheet.getStyleElement() return ( Open5GS {styleTags}
{main}
) } }