diff --git a/.env b/.env index 53cc433..ad4acc8 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ ESLINT_NO_DEV_ERRORS=true -NEXT_PUBLIC_GRAPHCMS_ENDPOINT='https://api-eu-central-1.graphcms.com/v2/cku56f92114s901yz0ce9ah3f/master' -GRAPHCMS_TOKEN='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImdjbXMtbWFpbi1wcm9kdWN0aW9uIn0.eyJ2ZXJzaW9uIjozLCJpYXQiOjE2MzI5MzEwNTIsImF1ZCI6WyJodHRwczovL2FwaS1ldS1jZW50cmFsLTEuZ3JhcGhjbXMuY29tL3YyL2NrdTU2ZjkyMTE0czkwMXl6MGNlOWFoM2YvbWFzdGVyIiwiaHR0cHM6Ly9tYW5hZ2VtZW50LW5leHQuZ3JhcGhjbXMuY29tIl0sImlzcyI6Imh0dHBzOi8vbWFuYWdlbWVudC5ncmFwaGNtcy5jb20vIiwic3ViIjoiODQyMTFmOWQtODk5My00ODQ2LWExZDItOWI2ZmUwNjVlMGI3IiwianRpIjoiY2t1NW96anh2MXRnYzAxeG5nbDNyM3F0MyJ9.Kg-yIyRma2sHtDUsDGWV-wa7DFQow98Yea7qkVIH5YmTg2C0XpwS8XSvnPuB64z09l1Jd0IKBHes_Sxv8EwMk-XlTjzqgxx3u96xBTlv5t-UA94zlCv2E1GEGWtsCWqxHBxISXB5wHwigqS_pZYCHWjG0WwjIj8aQ2z_SxwiZErxwFCuG9l1f12_Wfs2IDmkQMA8mFsbQvOSy-MqxuMt-5o82oM9i-Usi69j2vm4veBQcKss9TWGkK-ZcVkifl_-JDrJ41qXu9G66WxnZzI2TQF9BcanwuUmsB0N_fhnkcX4BFN5Xq0OmDfSOKNKUQ6zZCy1PbU6vX4sQJ5eiRgFPXmkXtnTcsVgVsrbO2sP8SKj0KLA4diI3X5UsxduzDRCXP833_8z3AfQQmp0zUg4caDtVjHTBzBRMLNeX10PFaFQ6toeFvrFjwcNHO7jUmgdUR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STEJlHJBp-5jrGtqhZEd3velOf71zcAWNNy-72ehGs-Up-np2s9TP-iNxsvi6l2ICggkhU1AVcKFHuwdiowDwyfCSWU3CYQpWvGU6bE5XEPJokhwLUx2XStNJcw_g6BCmbPPVJSARq3490OpALjxHL66cZaUkOiGwOoH9QLQskcmeRd6tDij4l3VFQLwrA8T3Sb4wrCTW6mVSqtBb2h50zm1dEVYIS23_DTr0CuLCruWawlKTxn29_-WRHxHj-dO8nL5yQRdxcj5-arJNDMT0KNRFbt_2GSgfncPMkfflZgPp9sOFN7ejViBrjjXn1jTihfVFih8bJD8bhFJb1lH4KRwoXQ1S3lz9iwhLVG14Fk16DXTg9YHXku_w' \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index bfaabf1..2bb23eb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -28,7 +28,7 @@ module.exports = { 'import/prefer-default-export': 0, 'max-len': [ 2, - 250, + 260, ], 'no-multiple-empty-lines': [ 'error', diff --git a/components/Categories.jsx b/components/Categories.jsx index 1e113ec..10bdb3d 100644 --- a/components/Categories.jsx +++ b/components/Categories.jsx @@ -13,11 +13,11 @@ const Categories = () => { }, []); return ( -
-

Categories

+
+

Categories

{categories.map((category, index) => ( - {category.name} + {category.name} ))}
diff --git a/components/Comments.jsx b/components/Comments.jsx index 1fc9834..fee4efe 100644 --- a/components/Comments.jsx +++ b/components/Comments.jsx @@ -16,7 +16,7 @@ const Comments = ({ slug }) => { return ( <> {comments.length > 0 && ( -
+

{comments.length} {' '} diff --git a/components/CommentsForm.jsx b/components/CommentsForm.jsx index 484b17a..318ca84 100644 --- a/components/CommentsForm.jsx +++ b/components/CommentsForm.jsx @@ -75,7 +75,7 @@ const CommentsForm = ({ slug }) => { }; return ( -
+

Leave a Reply