Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MakinoharaShoko committed Aug 3, 2024
2 parents 5341e49 + 4021aae commit 2c5554d
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 21 deletions.
6 changes: 3 additions & 3 deletions app/[locale]/components/TopVisual/TopVisual.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ const TopVisual = () => {
const topVisualImagesData = [
{
title: 'game',
src: '/images/game.png',
src: '/images/game.webp',
},
{
title: 'terre',
src: '/images/terre.png',
src: '/images/terre.webp',
},
{
title: 'title',
src: '/images/title.png',
src: '/images/title.webp',
},
]

Expand Down
6 changes: 3 additions & 3 deletions components/GameCard/GameCard.module.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.card {
@apply bg-white drop-shadow rounded-md transition-transform;
@apply bg-white drop-shadow rounded-md transition-transform duration-200;
}

.card:hover {
@apply drop-shadow-md;
@apply drop-shadow-md translate-y-[-2px];
}

.link {
@apply flex flex-col items-center;
}

.imageContainer {
@apply rounded-t-md aspect-video bg-gray-100;
@apply rounded-t-md aspect-video bg-gray-100 overflow-hidden;
width: -moz-available;
width: -webkit-fill-available;
}
Expand Down
16 changes: 12 additions & 4 deletions data/games.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,30 +41,38 @@ export const games: Game[] = [
developer: 'WasabiStone',
releaseDate: '2023-11-05',
url: 'https://store.steampowered.com/app/2645190/Agnostic_Requiem/',
cover: 'agnostic-requiem.png',
cover: 'agnostic-requiem.webp',
},
{
id: 'safe-house',
title: 'Safe House',
developer: 'HuangZeXin',
releaseDate: '2023-12-30',
url: 'https://store.steampowered.com/app/2707580/Safe_House/',
cover: 'safe-house.png',
cover: 'safe-house.webp',
},
{
id: 'fayanshideshiyan',
title: '法言使的誓言',
developer: '醉未了',
releaseDate: '2024-02-12',
url: 'https://www.bilibili.com/video/BV1ru4m1K7uj/',
cover: 'fayanshideshiyan.png',
cover: 'fayanshideshiyan.webp',
},
{
id: 'qinglian',
title: '青恋',
developer: '阿牛, NICE',
releaseDate: '2024-06-28',
url: 'https://store.steampowered.com/app/3043160/_/',
cover: 'ql.png',
cover: 'ql.webp',
},
{
id: 'xinxi',
title: '信息',
developer: '三玖谁顶的住啊',
releaseDate: '2024-07-10',
url: 'https://www.bilibili.com/video/BV1aH4y1w7g4/',
cover: 'xinxi.webp',
}
]
32 changes: 21 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed public/images/game.png
Binary file not shown.
Binary file added public/images/game.webp
Binary file not shown.
Binary file removed public/images/games/agnostic-requiem.png
Binary file not shown.
Binary file added public/images/games/agnostic-requiem.webp
Binary file not shown.
Binary file removed public/images/games/fayanshideshiyan.png
Binary file not shown.
Binary file added public/images/games/fayanshideshiyan.webp
Binary file not shown.
Binary file removed public/images/games/ql.png
Binary file not shown.
Binary file added public/images/games/ql.webp
Binary file not shown.
Binary file removed public/images/games/safe-house.png
Binary file not shown.
Binary file added public/images/games/safe-house.webp
Binary file not shown.
Binary file added public/images/games/xinxi.webp
Binary file not shown.
Binary file removed public/images/terre.png
Binary file not shown.
Binary file modified public/images/terre.webp
Binary file not shown.
Binary file removed public/images/title.png
Binary file not shown.
Binary file modified public/images/title.webp
Binary file not shown.

0 comments on commit 2c5554d

Please sign in to comment.