feat: stricter lint, check pipelines, docker-containers, pnpm
This commit is contained in:
@@ -8,11 +8,11 @@ import "@splidejs/splide/css/sea-green";
|
||||
|
||||
import Head from "next/head";
|
||||
|
||||
export default function MyApp({ Component, pageProps }: AppProps) {
|
||||
export default function MyApp({ Component, pageProps }: AppProps): JSX.Element {
|
||||
useEffect(() => {
|
||||
// here you can add your aos options
|
||||
AOS.init({
|
||||
offset: 100,
|
||||
offset: 100
|
||||
});
|
||||
}, []);
|
||||
|
||||
@@ -42,4 +42,4 @@ export default function MyApp({ Component, pageProps }: AppProps) {
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
</>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Html, Head, Main, NextScript} from "next/document";
|
||||
import { Html, Head, Main, NextScript } from "next/document";
|
||||
|
||||
export default function Document() {
|
||||
export default function Document(): JSX.Element {
|
||||
return (
|
||||
<Html lang="en">
|
||||
<Head/>
|
||||
@@ -10,4 +10,4 @@ export default function Document() {
|
||||
</body>
|
||||
</Html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import MainPage from "@/src/portfolio/MainPage";
|
||||
|
||||
export default function Home() {
|
||||
export default function Home(): JSX.Element {
|
||||
return (
|
||||
<main>
|
||||
<MainPage/>
|
||||
|
||||
@@ -3,10 +3,10 @@ import { Work_Sans } from "next/font/google";
|
||||
const workSans = Work_Sans({ subsets: ["latin"] });
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
children
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
}): JSX.Element {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={workSans.className}>{children}</body>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default function Home() {
|
||||
export default function Home(): JSX.Element {
|
||||
return (
|
||||
<h1>:/</h1>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user