This commit is contained in:
Karol Wypchlo 2021-02-26 15:33:23 +01:00
parent b59cfa6a7a
commit 7865ac9b10
2 changed files with 6 additions and 2 deletions

View File

@ -24,8 +24,7 @@ export default function Layout({ title, children }) {
return (
<div>
<Head>
<title>Skynet - {title}</title>
<link rel="icon" href="/favicon.ico" />
<title key="title">Skynet - {title}</title>
</Head>
<div className="bg-gray-800 pb-32">
<nav className="bg-gray-800">

View File

@ -1,5 +1,6 @@
import { Elements } from "@stripe/react-stripe-js";
import { loadStripe } from "@stripe/stripe-js";
import Head from "next/head";
import "tailwindcss/tailwind.css";
import "@fontsource/metropolis/all.css";
@ -8,6 +9,10 @@ const stripePromise = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY)
function MyApp({ Component, pageProps }) {
return (
<Elements stripe={stripePromise}>
<Head>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<title key="title">Skynet</title>
</Head>
<Component {...pageProps} />
</Elements>
);