-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add working
Nextra
app with basic insights.
- Loading branch information
1 parent
31b6550
commit e5d5b00
Showing
5 changed files
with
110 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,4 +142,5 @@ dist | |
/.swc | ||
|
||
# Content layer | ||
.contentlayer | ||
.contentlayer | ||
certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
// These styles apply to every route in the application | ||
import '@/src/globals.css' | ||
import type { AppProps } from 'next/app' | ||
import { SessionProvider } from "next-auth/react" | ||
import "@/src/globals.css"; | ||
import type { AppProps } from "next/app"; | ||
import { SessionProvider } from "next-auth/react"; | ||
import PlausibleProvider from "next-plausible"; | ||
|
||
export default function MyApp({ | ||
Component, | ||
pageProps: { session, ...pageProps }, | ||
}: AppProps) { | ||
export default function MyApp({ Component, pageProps: { session, ...pageProps } }: AppProps) { | ||
return ( | ||
<SessionProvider session={session}> | ||
<Component {...pageProps} /> | ||
</SessionProvider> | ||
) | ||
<PlausibleProvider domain="nextra-demo-seven.vercel.app" customDomain="https://analytics.dwyl.com" selfHosted> | ||
<SessionProvider session={session}> | ||
<Component {...pageProps} /> | ||
</SessionProvider> | ||
</PlausibleProvider> | ||
); | ||
} |