feat: added dockerfile and now following all lower case convention for folder naming

This commit is contained in:
Dev Singh 2024-09-25 15:26:30 +05:30
parent d0e657c49d
commit c1f7b81cb6
16 changed files with 339 additions and 65 deletions

25
components/Font/font.tsx Normal file
View file

@ -0,0 +1,25 @@
// pages/_document.js
import Document, { Html, Head, Main, NextScript } from 'next/document';
class MyDocument extends Document {
render() {
return (
<Html>
<Head>
{/* Import Google Fonts */}
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
href="https://fonts.googleapis.com/css2?family=Caveat+Brush&display=swap"
rel="stylesheet"
/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}
export default MyDocument;

View file

@ -1,5 +1,5 @@
import Footer from 'components/Footer';
import Header from 'components/Header';
import Footer from 'components/footer';
import Header from 'components/header';
import { ReactNode } from 'react';
import "styles/tailwind.css"
@ -12,7 +12,7 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
return (
<div className="flex flex-col min-h-screen">
<Header />
<main className="flex-grow">
<main className="grow">
{children}
</main>
<Footer />