1
0
Fork 0

refactor: move content of src/ to root dir for readability

This commit is contained in:
Vojtěch Mareš 2022-12-06 13:02:09 +01:00
parent 87958d1d28
commit 532d1eba99
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
69 changed files with 5 additions and 4 deletions

9
pages/_app.tsx Normal file
View file

@ -0,0 +1,9 @@
import { AppProps } from 'next/app';
import '@/css/tailwind.css';
function App({ Component, pageProps }: AppProps) {
return (<Component {...pageProps} />);
}
export default App;

37
pages/_document.tsx Normal file
View file

@ -0,0 +1,37 @@
import { Head, Html, Main, NextScript } from 'next/document'
export default function Document(props: any) {
let pageProps = props.__NEXT_DATA__?.props?.pageProps
return (
<Html
className="h-full scroll-smooth bg-white antialiased [font-feature-settings:'ss01']"
lang="cs"
>
<Head>
{/* <link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="anonymous"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lexend:wght@400;500&display=swap"
/> */}
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<script defer data-domain="vojtamares.cz" src="https://plausible.io/js/script.js"></script>
</Head>
<body className="flex h-full flex-col">
<Main />
<NextScript />
</body>
</Html>
)
}

39
pages/index.tsx Normal file
View file

@ -0,0 +1,39 @@
import Head from "next/head";
import { Header } from "@/components/Header"
import { Hero } from "@/components/Hero"
import { CallToAction } from '@/components/CallToAction'
import { Faqs } from '@/components/Faqs'
import { Footer } from '@/components/Footer'
import { Pricing } from '@/components/Pricing'
import { PrimaryFeatures } from '@/components/PrimaryFeatures'
import { TechStack } from '@/components/TechStack'
import { Testimonials } from '@/components/Testimonials'
import { Environment } from '@/components/Environment'
export default function Home() {
return (
<>
<Head>
<title>Vojtěch Mareš - DevOps konzultant, lektor, engineer</title>
<meta
name="description"
content="Vojtěch Mareš - DevOps konzultant, lektor, engineer"
/>
</Head>
<main>
<Header />
<Hero />
<PrimaryFeatures />
<TechStack />
<CallToAction />
<Environment />
{/* <Testimonials /> */}
<Pricing />
{/* <Faqs /> */}
</main>
<Footer />
</>
);
}

24
pages/skoleni/index.tsx Normal file
View file

@ -0,0 +1,24 @@
import Head from "next/head";
import { Header } from "@/components/Header"
import { Footer } from '@/components/Footer'
export default function Home() {
return (
<>
<Head>
<title>Moje školení | Vojtěch Mareš - DevOps konzultant, lektor, engineer</title>
<meta
name="description"
content="Moje školení | Vojtěch Mareš - DevOps konzultant, lektor, engineer"
/>
</Head>
<main>
<Header />
<h1 className="text-4xl mx-auto w-12 my-8">Připravuji</h1>
</main>
<Footer />
</>
);
}