feat: final commit
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
This commit is contained in:
parent
517a25d91d
commit
7b5d149ecc
21 changed files with 463 additions and 100 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue