Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
サムネを良い感じに
Browse files Browse the repository at this point in the history
Hiroshiba committed Oct 25, 2024
1 parent 99d9fff commit ef87f8b
Showing 33 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/generateThumb.ts
Original file line number Diff line number Diff line change
@@ -29,6 +29,8 @@ const sleep = (msec: number) =>
continue
}

console.log(`Generating ${savePath}`)

await page.goto(
`http://localhost:8000/__thumb_generator/product/${characterInfos[key].id}/`
)
Binary file modified src/images/product/thumb-aierutan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-amehare_hau.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-aoyama_ryusei.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-chibishikiji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-chugoku_usagi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-goki.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-haruka_nana.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-horinaito_benizakura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kasukabe_tsumugi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kenzaki_mesuo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kigashima_sourin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kotoyomi_nia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kurita_maron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kurono_takehiro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-kyushu_sora.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-manbetsu_hanamaru.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-meimei_himari.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-mochikosan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-namine_ritsu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-nekotsuka_aru.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-nekotsuka_bi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-number_seven.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-nurserobo_typet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-ouka_miko.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-sayo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/product/thumb-shikoku_metan.png
Binary file modified src/images/product/thumb-shirakami_kotarou.png
Binary file modified src/images/product/thumb-voidoll.png
Binary file modified src/images/product/thumb-wakamatsu_akashi.png
Binary file modified src/images/product/thumb-white_cul.png
Binary file modified src/images/product/thumb-zundamon.png
11 changes: 5 additions & 6 deletions src/pages/__thumb_generator/product/{Character.characterId}.tsx
Original file line number Diff line number Diff line change
@@ -161,16 +161,15 @@ export default ({ location, params }: PageProps) => {
style={{
position: "absolute",
top: "20%",
width: "39%",
height: "80%",
backgroundImage: `url(${getSrc(
characterInfo.portraitImage
)})`,
left: "2px",
width: "38.5%",
height: "52.1%",
backgroundImage: `url(${getSrc(characterInfo.bustupImage)})`,
backgroundPosition: "center",
backgroundSize: "cover",
backgroundRepeat: "no-repeat",
backgroundClip: "content-box",
paddingBottom: "39.2%",
paddingBottom: "10%",
}}
/>
</div>

0 comments on commit ef87f8b

Please sign in to comment.