Skip to content

Instantly share code, notes, and snippets.

@ScreamZ
Created January 7, 2022 18:34
Show Gist options
  • Save ScreamZ/24e53801d14d5d8872b86fc335d0e770 to your computer and use it in GitHub Desktop.
Save ScreamZ/24e53801d14d5d8872b86fc335d0e770 to your computer and use it in GitHub Desktop.
import "tailwindcss/tailwind.css";
import type { CodingSparkAppProps } from "modules/nextjs";
import { LayoutFactory } from "modules/ui/layouts/LayoutFactory";
import { DefaultSeo } from "next-seo";
import React from "react";
function MyApp({ Component, pageProps }: CodingSparkAppProps) {
const { layout } = Component;
return (
<>
<DefaultSeo
titleTemplate="%s | CodingSpark.io"
description="L'écosystème par les développeurs et pour les développeurs souhaitant créer des application modernes et performantes."
/>
<LayoutFactory layout={layout}>
<Component {...pageProps} />
</LayoutFactory>
</>
);
}
export default MyApp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment