Skip to content

Commit

Permalink
added some padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoffer Rydeståhl committed Jun 16, 2024
1 parent 174b06d commit 2b0bb63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/pages/event/[post].astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getStaticPaths() {
allBlogPosts {
id
title
body
body(markdown: true)
eventStartDate
image {
url
Expand Down Expand Up @@ -68,7 +68,7 @@ const { post } = Astro.props
<div class="container">
<h2>{post.title}</h1><br />
<p>Evenemanget startar: {post.eventStartDate}</p><br />
<p class="text-1xl pb-8">{post.body}</p>
<div set:html={post.body} />
</div>
</section>
</div>
Expand All @@ -78,6 +78,7 @@ const { post } = Astro.props
<style lang="scss">
.container {
margin: 1rem auto;
padding-bottom: 1rem;
}
ul {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/styrelsen.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const { page } = Astro.props
{
data.map((post) => (
<div class="container-content flex flex-col items-center border bg-gray-100 bg-white bg-opacity-80">
<Image src={post.img.url} alt="A bird." width="314" height="314" class="" />
<img src={post.img.url} alt={post.name} width="314" height="314" />
<h2 class="text-center">{post.name}</h2>
<p class="text-center">{post.description}</p>
</div>
Expand Down

0 comments on commit 2b0bb63

Please sign in to comment.