Skip to content

feat: add offline docs #8527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 19, 2023
Prev Previous commit
Next Next commit
Fix formatting
  • Loading branch information
BrunoQuaresma committed Jul 19, 2023
commit e58adb3f55ad8526582f681c0c648523f9bc5e4b
4 changes: 2 additions & 2 deletions offlinedocs/next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
trailingSlash: true,
reactStrictMode: true,
trailingSlash: true,
}

module.exports = nextConfig
36 changes: 18 additions & 18 deletions offlinedocs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@ import type { AppProps } from "next/app"
import Head from "next/head"

const theme = extendTheme({
styles: {
global: {
body: {
bg: "gray.50",
},
},
},
styles: {
global: {
body: {
bg: "gray.50",
},
},
},
})

const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
return (
<>
<Head>
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
<link rel="alternate icon" type="image/png" href="/favicon.png" />
</Head>
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
</>
)
return (
<>
<Head>
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
<link rel="alternate icon" type="image/png" href="/favicon.png" />
</Head>
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
</>
)
}

export default MyApp