Skip to content

Commit

Permalink
add back spaces in places
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMapleLeaf committed Sep 8, 2023
1 parent 9a13e69 commit 768efaf
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 27 deletions.
50 changes: 24 additions & 26 deletions src/components/project-list.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,29 @@ const projects = [

<div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
{
await Promise.all(
projects.map(async (project) => (
<article class="grid gap-3 overflow-clip rounded-md bg-black/50 p-4 shadow-lg">
<h3 class="font-condensed text-3xl font-light">{project.name}</h3>
<div class="-mx-4">
<Image
src={await project.image}
alt={`a screenshot of ${project.name}`}
class="aspect-[18/9] object-cover"
/>
</div>
<p>{project.description}</p>
<p>
<ExternalLink class={linkStyle} href={project.url}>
website
</ExternalLink>{" "}
<span aria-hidden class="inline-block translate-y-px px-[2px]">
&bullet;
</span>
<ExternalLink class={linkStyle} href={project.source}>
source
</ExternalLink>
</p>
</article>
)),
)
projects.map(async (project) => (
<article class="grid gap-3 overflow-clip rounded-md bg-black/50 p-4 shadow-lg">
<h3 class="font-condensed text-3xl font-light">{project.name}</h3>
<div class="-mx-4">
<Image
src={await project.image}
alt={`a screenshot of ${project.name}`}
class="aspect-[18/9] object-cover"
/>
</div>
<p>{project.description}</p>
<p>
<ExternalLink class={linkStyle} href={project.url}>
website
</ExternalLink>{" "}
<span aria-hidden class="inline-block translate-y-px px-[2px]">
&bullet;
</span>{" "}
<ExternalLink class={linkStyle} href={project.source}>
source
</ExternalLink>
</p>
</article>
))
}
</div>
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ import leaf from "../assets/white-leaf.png"
<h2 class="sr-only">Contact & source</h2>
<address class="grid gap-1 not-italic">
<p>
<span class="opacity-50">contact:</span>
<span class="opacity-50">contact:</span>{" "}
<ExternalLink
class={linkStyle}
href="mailto:[email protected]"
Expand Down

0 comments on commit 768efaf

Please sign in to comment.