Made it so it is possible to buy a package

This commit is contained in:
Tiago Ribeiro
2023-10-13 15:22:18 +01:00
parent c3e43d2d44
commit c10ffa7f42
6 changed files with 692 additions and 24 deletions

View File

@@ -1,22 +1,20 @@
import './globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import "./globals.css";
import type {Metadata} from "next";
import {Inter} from "next/font/google";
import {Elements} from "@stripe/react-stripe-js";
import {loadStripe} from "@stripe/stripe-js";
const inter = Inter({ subsets: ['latin'] })
const inter = Inter({subsets: ["latin"]});
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
title: "EnCoach",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
export default function RootLayout({children}: {children: React.ReactNode}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
);
}