1
0
Fork 0

feat: final commit

Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
This commit is contained in:
Vojtěch Mareš 2023-12-13 18:20:21 +01:00
parent 517a25d91d
commit 7b5d149ecc
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
21 changed files with 463 additions and 100 deletions

View file

@ -1,4 +1,5 @@
import '/styles/global.css';
import { Footer } from 'components/Footer';
import 'styles/global.css';
import { Metadata } from 'next';
export const metadata: Metadata = {
@ -16,9 +17,10 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="en" className="[color-scheme:dark]">
<body className="bg-gray-1100 overflow-y-scroll bg-[url('/grid.svg')] pb-36">
<h1>Terraform Školení</h1>
<html lang="cs">
<body>
{children}
<Footer />
</body>
</html>
);

View file

@ -1,13 +0,0 @@
import { Boundary } from '../components/Boundary';
export default function NotFound() {
return (
<Boundary labels={['not-found.tsx']} color="pink">
<div className="space-y-4 text-vercel-pink">
<h2 className="text-lg font-bold">Not Found</h2>
<p className="text-sm">Could not find requested resource</p>
</div>
</Boundary>
);
}

View file

@ -1,5 +1,26 @@
import { Container } from "components/Container";
import { Hero } from "../components/Hero";
import { Dates } from "../components/Dates";
import { Price } from "../components/Price";
import { CourseDetails } from "components/CourseDetails";
export default function Page() {
return (
<>Hello</>
<>
<main>
<Hero />
<div className="bg-amber-500 h-8" />
{/* <Dates /> */}
<Container className="mt-12 md:grid md:grid-cols-5 md:gap-x-4 md:gap-y-4">
<div className="md:col-span-3">
<CourseDetails />
</div>
<div className="mt-8 md:col-span-2 md:mt-0">
<Price />
</div>
</Container>
</main>
</>
);
}