Skip to content

Commit

Permalink
Merge pull request #30 from geraldsamosir/develop
Browse files Browse the repository at this point in the history
fix(v3): fix build
  • Loading branch information
geraldsamosir authored Jul 24, 2022
2 parents 7e93ad5 + 5881dbf commit a777f5c
Show file tree
Hide file tree
Showing 8 changed files with 3,192 additions and 20 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"extends": "next/core-web-vitals"
"extends": "next/core-web-vitals",
"rules": {
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off"
}
}
2 changes: 1 addition & 1 deletion components/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function Navigation ({title='', MAX_SCREEN_SIZE, navigationPositi

return (
<>
<Navbar title={title}
<Navbar title={`${title}`}
left={
<>
<button onClick={() => setLeftPanelOpened(true)}><HiMenuAlt1 className="w-6 h-6" /></button>
Expand Down
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
publish = ".next"

[[plugins]]
package = "@netlify/plugin-nextjs"
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
swcMinify: true

}

module.exports = nextConfig
Loading

0 comments on commit a777f5c

Please # to comment.