Skip to content

Commit 85e4e96

Browse files
committed
dev: move images
1 parent a6607a7 commit 85e4e96

File tree

11 files changed

+16
-24
lines changed

11 files changed

+16
-24
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818
bun install --frozen-lockfile
1919
```
2020

21-
## TODO
22-
23-
style more
24-
a11y <https://astro.build/integrations/2/?search=&categories%5B%5D=performance%2Bseo&categories%5B%5D=accessibility>
25-
pagination
26-
27-
- https://code.vool.jp/blog/astro-pagination/
28-
- https://docs.astro.build/en/guides/routing/#pagination
29-
3021
## 開発
3122

3223
```shell

src/pages/contact.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import { Picture } from "astro:assets";
33
import ActionButton from "../components/ActionButton.astro";
4-
import ContactHeader from "../images/contact-header.jpg";
4+
import Header from "../images/headers/contact.jpg";
55
import GlobalLayout from "../layouts/GlobalLayout.astro";
66
import { Focus } from "../schema";
77
---
@@ -10,7 +10,7 @@ import { Focus } from "../schema";
1010
title="連絡"
1111
description="ut.code(); に連絡する手段"
1212
focus={Focus.contact}
13-
image={ContactHeader}
13+
image={Header}
1414
>
1515
<div class="container mx-auto px-4 pt-16 pb-12">
1616
<h1 class="text-4xl">ut.code(); に連絡する</h1>
@@ -19,7 +19,7 @@ import { Focus } from "../schema";
1919
formats={["avif", "webp"]}
2020
alt=""
2121
loading="eager"
22-
src={ContactHeader}
22+
src={Header}
2323
width="1920"
2424
height="600"
2525
class="h-30 object-cover sm:h-50 md:h-100"

src/pages/donation.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import { Picture } from "astro:assets";
33
import ActionButton from "../components/ActionButton.astro";
4-
import DonationHeader from "../images/donation-header.jpg";
4+
import Header from "../images/headers/donation.jpg";
55
import GlobalLayout from "../layouts/GlobalLayout.astro";
66
import { Focus } from "../schema";
77
---
@@ -11,14 +11,14 @@ import { Focus } from "../schema";
1111
description="ご寄付・ご協賛をお願いしております"
1212
focus={Focus.contact}
1313
class="prose"
14-
image={DonationHeader}
14+
image={Header}
1515
>
1616
<h1 class="mt-12 ml-4 text-4xl md:ml-[20%]">ご寄付・ご協賛のお願い</h1>
1717
<Picture
1818
formats={["avif", "webp"]}
1919
alt=""
2020
loading="eager"
21-
src={DonationHeader}
21+
src={Header}
2222
width="1920"
2323
height="600"
2424
class="my-8 h-100 w-full object-cover md:h-150"

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ProjectList from "../components/ProjectList.astro";
1111
import SectionHeader from "../components/per-page/SectionHeader.astro";
1212
import { Focus } from "../schema.ts";
1313
14-
import Hero from "../images/hero.jpg";
14+
import Hero from "../images/headers/index.jpg";
1515
import LabCafe from "../images/lab-cafe.jpg";
1616
import LogoGMOMedia from "../images/logo-gmo-media.png";
1717

src/pages/join.astro

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import { Picture } from "astro:assets";
33
import ActionButton from "../components/ActionButton.astro";
4-
import JoinHeader from "../images/join-header.jpg";
4+
import Header from "../images/headers/join.jpg";
55
import GlobalLayout from "../layouts/GlobalLayout.astro";
66
import { Focus } from "../schema";
77
---
@@ -10,17 +10,18 @@ import { Focus } from "../schema";
1010
title="参加"
1111
description="ut.code(); に参加する"
1212
focus={Focus.join}
13-
image={JoinHeader}
13+
image={Header}
1414
>
1515
<Picture
1616
formats={["avif", "webp"]}
1717
fit="cover"
1818
alt=""
1919
loading="eager"
20-
src={JoinHeader}
20+
src={Header}
2121
width="1920"
22-
height={60 * 8}
23-
class="top-0 h-[35rem] w-full object-cover"
22+
height="600"
23+
quality="mid"
24+
class="top-0 w-full object-cover object-top"
2425
/>
2526
<main class="px-16 py-16">
2627
<div class="prose max-w-none">

0 commit comments

Comments
 (0)