Skip to content

Commit

Permalink
微調整
Browse files Browse the repository at this point in the history
  • Loading branch information
yamader committed Jan 3, 2024
1 parent a85f3fd commit 20bde8a
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

footer {
margin-top: auto;
padding: 0.8rem 0 0.5rem;
padding: 0.5rem 0;
text-align: center;
}
</style>
28 changes: 0 additions & 28 deletions src/pages/pizza.md

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
27 changes: 27 additions & 0 deletions src/pages/pizza/index.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
import { Image } from "astro:assets"
import Layout from "~/layouts/Layout.astro"
import pizza1 from "./_1.jpg"
import pizza2 from "./_2.jpg"
import pizza3 from "./_3.jpg"
---

<Layout title="ピザ">
<h1>ピザ</h1>

<section class="gallery">
<Image src={pizza1} alt="1" />
<Image src={pizza2} alt="2" />
<Image src={pizza3} alt="3" />
</section>
</Layout>

<style>
.gallery {
display: grid;
margin-top: 1rem;
grid-template-columns: repeat(auto-fit, minmax(194px, 1fr));
gap: 1rem;
}
</style>

0 comments on commit 20bde8a

Please sign in to comment.