Thanks to visit codestin.com
Credit goes to github.com

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 prettier roles
  • Loading branch information
BrunoQuaresma committed Jul 19, 2023
commit 0ec912fc82645ebf3bfa3f9b704b92bf6e2e93e2
2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
printWidth: 80
semi: false
trailingComma: all
useTabs: false
tabWidth: 2
overrides:
- files:
- README.md
Expand Down
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
Loading