title
This commit is contained in:
parent
b59cfa6a7a
commit
7865ac9b10
|
@ -24,8 +24,7 @@ export default function Layout({ title, children }) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Head>
|
<Head>
|
||||||
<title>Skynet - {title}</title>
|
<title key="title">Skynet - {title}</title>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
|
||||||
</Head>
|
</Head>
|
||||||
<div className="bg-gray-800 pb-32">
|
<div className="bg-gray-800 pb-32">
|
||||||
<nav className="bg-gray-800">
|
<nav className="bg-gray-800">
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import { Elements } from "@stripe/react-stripe-js";
|
import { Elements } from "@stripe/react-stripe-js";
|
||||||
import { loadStripe } from "@stripe/stripe-js";
|
import { loadStripe } from "@stripe/stripe-js";
|
||||||
|
import Head from "next/head";
|
||||||
import "tailwindcss/tailwind.css";
|
import "tailwindcss/tailwind.css";
|
||||||
import "@fontsource/metropolis/all.css";
|
import "@fontsource/metropolis/all.css";
|
||||||
|
|
||||||
|
@ -8,6 +9,10 @@ const stripePromise = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY)
|
||||||
function MyApp({ Component, pageProps }) {
|
function MyApp({ Component, pageProps }) {
|
||||||
return (
|
return (
|
||||||
<Elements stripe={stripePromise}>
|
<Elements stripe={stripePromise}>
|
||||||
|
<Head>
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||||||
|
<title key="title">Skynet</title>
|
||||||
|
</Head>
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
</Elements>
|
</Elements>
|
||||||
);
|
);
|
||||||
|
|
Reference in New Issue