kopia lustrzana https://github.com/badgen/badgen.net
				
				
				
			
		
			
				
	
	
		
			29 wiersze
		
	
	
		
			925 B
		
	
	
	
		
			JavaScript
		
	
	
			
		
		
	
	
			29 wiersze
		
	
	
		
			925 B
		
	
	
	
		
			JavaScript
		
	
	
| import React from 'react'
 | |
| import App, { Container } from 'next/app'
 | |
| import Head from 'next/head'
 | |
| 
 | |
| export default class MyApp extends App {
 | |
|   render () {
 | |
|     const { Component, pageProps } = this.props
 | |
| 
 | |
|     return (
 | |
|       <Container>
 | |
|         <Head>
 | |
|           <title>Badgen - Fast badge generating service</title>
 | |
|           <link rel='icon' type='image/png' href='/static/favicon.png' />
 | |
|           <meta name='viewport' content='initial-scale=1.0, width=device-width' />
 | |
|           <link rel='stylesheet'
 | |
|             href='https://fonts.googleapis.com/css?family=Merriweather:700,300' />
 | |
|           <link rel='stylesheet' href='/static/index.css' />
 | |
|         </Head>
 | |
|         <Component {...pageProps} />
 | |
|         <style jsx global>{`
 | |
|           html, body { margin: 0; height: 100%; scroll-behavior: smooth }
 | |
|           #__next { height: 100% }
 | |
|           a { text-decoration: none }
 | |
|         `}</style>
 | |
|       </Container>
 | |
|     )
 | |
|   }
 | |
| }
 |