fix: add pre-commit, bad padding

This commit is contained in:
Jason
2023-09-18 21:55:26 -07:00
parent b4b11e6f63
commit 315ab77014
3 changed files with 6 additions and 1 deletions

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

4
.husky/pre-commit Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install lint-staged

View File

@@ -102,7 +102,7 @@ const BentoBox = ({ posts }) => {
alt={posts[0].title}
width={0}
height={0}
className="ml-2 w-[80%] rounded-2xl border border-border md:ml-3 lg:ml-4"
className="m-2 w-[80%] rounded-2xl border border-border md:ml-3 lg:ml-4"
unoptimized
/>
<a href={posts[0].path} className="block">