Skip to content

Commit

Permalink
JSXわからん
Browse files Browse the repository at this point in the history
  • Loading branch information
akku1139 authored Feb 15, 2024
1 parent d520642 commit d647902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Article.astro
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function createArticleCard({
| string | undefined;
};
}) {
return (<a href={link} class="no-underline">
return <a href={link} class="no-underline">
<div class="p-4">
<div class="aspect-oblong sms:aspect-square sm:aspect-oblong rounded-t-xl bg-blue-200 relative p-0 flex items-center justify-center">
{thumbnail}
Expand All @@ -99,7 +99,7 @@ function createArticleCard({
</div>
</div>
</div>
</a>);
</a>;
}
---
<div class="grid grid-cols-1 sms:grid-cols-2 sm:grid-cols-3 gap-2">
Expand Down

0 comments on commit d647902

Please sign in to comment.