From a93d09feb8411fdbcd9e97676d3d9ec15f482277 Mon Sep 17 00:00:00 2001 From: skidoodle Date: Mon, 15 Aug 2022 13:35:47 +0200 Subject: [PATCH] html language --- pages/_app.tsx | 17 ++--------------- pages/_document.tsx | 26 ++++++++++++++++++++++++++ yarn.lock | 6 +++--- 3 files changed, 31 insertions(+), 18 deletions(-) create mode 100644 pages/_document.tsx diff --git a/pages/_app.tsx b/pages/_app.tsx index 813bddc..3292ae2 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,22 +1,9 @@ import 'styles/globals.scss' -import Head from 'next/head' import { AppProps } from 'next/app' export default function({ Component, pageProps }: AppProps) { - return( - <> - - - albert - - - - - - - - - + return ( + ) } \ No newline at end of file diff --git a/pages/_document.tsx b/pages/_document.tsx new file mode 100644 index 0000000..1f435a8 --- /dev/null +++ b/pages/_document.tsx @@ -0,0 +1,26 @@ +import Document, { Html, Head, Main, NextScript } from 'next/document' + +class AppDocument extends Document { + render() { + return ( + + + + albert + + + + + + + + +
+ + + + ) + } +} + +export default AppDocument \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index fc29dd9..41cd254 100644 --- a/yarn.lock +++ b/yarn.lock @@ -246,9 +246,9 @@ camelcase-css@^2.0.1: integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001373: - version "1.0.30001375" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001375.tgz#8e73bc3d1a4c800beb39f3163bf0190d7e5d7672" - integrity sha512-kWIMkNzLYxSvnjy0hL8w1NOaWNr2rn39RTAVyIwcw8juu60bZDWiF1/loOYANzjtJmy6qPgNmn38ro5Pygagdw== + version "1.0.30001376" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001376.tgz#af2450833e5a06873fbb030a9556ca9461a2736d" + integrity sha512-I27WhtOQ3X3v3it9gNs/oTpoE5KpwmqKR5oKPA8M0G7uMXh9Ty81Q904HpKUrM30ei7zfcL5jE7AXefgbOfMig== "chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.3: version "3.5.3"