diff --git a/.eslintrc.yml b/.eslintrc.yml index dcbc16d..cc2b0be 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -40,5 +40,6 @@ rules: no-unused-vars: off # TODO: warn later react/no-unescaped-entities: off react/no-unused-prop-types: warn + react/no-unknown-property: [2, { ignore: jsx }] react/react-in-jsx-scope: off react/prop-types: off # TODO: open later diff --git a/components/badgen-title.tsx b/components/badgen-title.tsx index 27dc825..c077b05 100644 --- a/components/badgen-title.tsx +++ b/components/badgen-title.tsx @@ -16,7 +16,7 @@ export default function BadgenTitle ({ host }) {
Fast badge generating service
- - + ) } diff --git a/components/footer.tsx b/components/footer.tsx index 1024691..482d532 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -43,7 +43,7 @@ export default function Footer () { - diff --git a/package.json b/package.json index 03c1100..60ad0c8 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build:api": "tsc -p server.tsconfig.json", "build:web": "next build && next export -o dist", "build-0": "npm run tools && npm run build:web && npm run build:api", - "build": "next build", + "build": "npm run tools && next build", "dev": "next dev", "dev:api": "nodemon --config nodemon.json index.ts", "dev:web": "next", diff --git a/pages/index.tsx b/pages/index.tsx index 8fa2675..6f6523e 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -23,9 +23,7 @@ const merriweather = Inter({ subsets: ['latin'] }) // } import { useState, useEffect } from 'react' -import BadgeExamples from '../components/badge-examples' import BadgenTitle from '../components/badgen-title' -// import TopBar from '../components/top-bar' import Intro from '../components/home-intro' import Footer from '../components/footer' import examples from '../static/.meta/badges.json' @@ -41,12 +39,18 @@ export default function Index () { }) return <> + + Badgen: fast badge generating service + + + +