Add new post

* fix styles
This commit is contained in:
Defectink
2022-04-14 11:32:33 +08:00
parent 55d36c18d1
commit 1d9fa50fd3
11 changed files with 1086 additions and 197 deletions

View File

@ -18,7 +18,7 @@ const Image = ({ src, alt }: Props) => {
layout="fill"
className={styles.image}
/>
<span className="block text-center text-gray-400">{alt}</span>
{alt && <span className="block text-center text-gray-400">{alt}</span>}
</p>
</>
);