refactor: drop everything and start again
- too many packages - packages were too general - the repo was hard to work with - sites were too connected to packages - difficult to do stuff after a while
This commit is contained in:
parent
358e6e59e3
commit
ada7eb3cdd
54 changed files with 1066 additions and 1011 deletions
25
sites/terraform-skoleni.cz/app/layout.tsx
Normal file
25
sites/terraform-skoleni.cz/app/layout.tsx
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import '/styles/global.css';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
default: 'Terraform školení - Vojtěch Mareš',
|
||||
template: '%s | Next.js App Router',
|
||||
},
|
||||
description:
|
||||
'Terraform školení pro začátečníky i pokročilé | Školí Vojtěch Mareš - DevOps konzultant, lektor a mentor',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
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>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
13
sites/terraform-skoleni.cz/app/not-found.tsx
Normal file
13
sites/terraform-skoleni.cz/app/not-found.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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>
|
||||
);
|
||||
}
|
||||
5
sites/terraform-skoleni.cz/app/page.tsx
Normal file
5
sites/terraform-skoleni.cz/app/page.tsx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export default function Page() {
|
||||
return (
|
||||
<>Hello</>
|
||||
);
|
||||
}
|
||||
Reference in a new issue