Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit a363946

Browse files
authored
Merge branch 'Ruby-Network:main' into main
2 parents fe0791f + ead9b65 commit a363946

File tree

4 files changed

+48
-42
lines changed

4 files changed

+48
-42
lines changed

astro.config.mjs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ import robotsTxt from 'astro-robots-txt';
77
import partytown from '@astrojs/partytown';
88
import dotenv from 'dotenv';
99
dotenv.config();
10+
11+
// https://astro.build/config
1012
export default defineConfig({
11-
integrations: [prefetch(), tailwind(), react(), robotsTxt(), partytown()],
12-
site: process.env.URL,
13-
output: 'server',
14-
adapter: node({
15-
mode: 'middleware',
16-
}),
13+
integrations: [prefetch(), tailwind(), react(), robotsTxt(), partytown()],
14+
site: process.env.URL,
15+
output: 'server',
16+
adapter: node({
17+
mode: 'middleware'
18+
})
1719
});

public/js/games.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ await fetch('/assets/games.json')
66
//make game.name lowercase and replace spaces with dashes
77
let gn = game.name.toLowerCase().replace(/\s/g, '-');
88
return `
9-
<div onclick='window.location.href = "/games/${gn}"' class="game-tile hover:border-[var(--border-color)] hover:rounded-xl hover:border-2 hover:drop-shadow-[0_12px_12px_var(--text-bg-color)]">
9+
<div onclick='window.location.href = "/games/${gn}"' class="game-tile hover:border-[var(--border-color)] hover:rounded-xl hover:border-2">
1010
<img src="${game.img}" alt="${game.name}" />
1111
<p> ${game.name} </p>
1212
</div>

src/pages/games/index.astro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ import '../../styles/globals.css';
8484
overflow: hidden;
8585
white-space: nowrap;
8686
text-overflow: ellipsis;
87+
cursor: pointer;
8788
}
8889
.game-tile > img {
8990
width: 12rem;
@@ -103,4 +104,12 @@ import '../../styles/globals.css';
103104
margin: 0;
104105
/* box-sizing: border-box; */
105106
}
107+
.game-tile:hover {
108+
filter: drop-shadow(0 12px 12px var(--text-color));
109+
}
110+
.game-tile:active {
111+
filter: drop-shadow(0 5px 5px var(--text-color));
112+
width: 11.5rem;
113+
height: 13.5rem;
114+
}
106115
</style>

yarn.lock

Lines changed: 30 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -106,26 +106,26 @@
106106
postcss "^8.4.14"
107107
postcss-load-config "^4.0.1"
108108

109-
"@astrojs/telemetry@^2.0.0":
110-
version "2.0.0"
111-
resolved "https://registry.yarnpkg.com/@astrojs/telemetry/-/telemetry-2.0.0.tgz#025961cccca062fe010938441db7d1e607c2253a"
112-
integrity sha512-RnWojVMIsql3GGWDP5pNWmhmBQVkCpxGNZ8yPr2cbmUqsUYGSvErhqfkLfro9j2/STi5UDmSpNgjPkQmXpgnKw==
109+
"@astrojs/telemetry@^2.0.1":
110+
version "2.0.1"
111+
resolved "https://registry.yarnpkg.com/@astrojs/telemetry/-/telemetry-2.0.1.tgz#6c21b8697ce683a50124c55cbd4751bc883fe580"
112+
integrity sha512-68BLBb9CcvQMkWHE6h6VTgm5g6agm3+xm8eb3cdkmX9nP1LSQ/fiD49Jb1qAgCtWcY8yQJiWQQXwcdyStD+VoA==
113113
dependencies:
114114
ci-info "^3.3.1"
115115
debug "^4.3.4"
116116
dlv "^1.1.3"
117117
dset "^3.1.2"
118118
is-docker "^3.0.0"
119119
is-wsl "^2.2.0"
120-
undici "^5.14.0"
120+
undici "^5.20.0"
121121
which-pm-runs "^1.1.0"
122122

123-
"@astrojs/webapi@^2.0.1":
124-
version "2.0.1"
125-
resolved "https://registry.yarnpkg.com/@astrojs/webapi/-/webapi-2.0.1.tgz#b8459a2f3ad6d8d8fea0bb45bc41f7aa6436bcea"
126-
integrity sha512-aOOHa86W5Ux77A3dS91YrVlSxtBSJsVK4UhvcXHY0gAl0ZrOStSKSBO45gZ6tFi2AiHu3bzpMtZjwrPHtl+cyg==
123+
"@astrojs/webapi@^2.0.1", "@astrojs/webapi@^2.0.2":
124+
version "2.0.2"
125+
resolved "https://registry.yarnpkg.com/@astrojs/webapi/-/webapi-2.0.2.tgz#24afaeed1ee44576c150ac83983a86ef31c6053e"
126+
integrity sha512-uSNtxLuvCWOcwy/DdIy30ocIcIUedEZpyhn1MHW3XuZ3PZHg4PMej3EP38Ns6uKgDKqMyEdscca9bMLuf4cO/w==
127127
dependencies:
128-
undici "5.18.0"
128+
undici "5.20.0"
129129

130130
"@babel/code-frame@^7.18.6":
131131
version "7.18.6"
@@ -641,9 +641,9 @@
641641
tsm "^2.1.4"
642642

643643
"@titaniumnetwork-dev/ultraviolet@^1.0.8":
644-
version "1.0.8"
645-
resolved "https://registry.yarnpkg.com/@titaniumnetwork-dev/ultraviolet/-/ultraviolet-1.0.8.tgz#9241523c8caf3a259dd27a13ff3c79c9e2532045"
646-
integrity sha512-YN4vIR2wu6IDdjEHTqJStEw1MyFQE1iW+x329CUrjyM6Mog2PHAMnLBsHYlh0WSv5eTQLOJOB1gZUU/jb81lHQ==
644+
version "1.0.10"
645+
resolved "https://registry.yarnpkg.com/@titaniumnetwork-dev/ultraviolet/-/ultraviolet-1.0.10.tgz#515474b2be346574575fe155ad0f7ff82608b852"
646+
integrity sha512-y5Hv92jQUvwmcEMIeFuImuD5CmI7b0MQGL7qkFcEZxETxlwy+jveLaHpF1UWgtGJS50GSnj9GCJWZWp/W6IwEQ==
647647
dependencies:
648648
"@tomphttp/bare-client" "^1.1.2-beta.3"
649649
css-tree "^2.0.4"
@@ -1037,15 +1037,15 @@ astro-robots-txt@^0.4.0:
10371037
zod "^3.20.6"
10381038

10391039
astro@^2.0.4:
1040-
version "2.0.15"
1041-
resolved "https://registry.yarnpkg.com/astro/-/astro-2.0.15.tgz#fa4d356d9b3b152f68a9882b094fa487be2be752"
1042-
integrity sha512-CUJNrcdgcSjASValRNEesTgXSefgQ8Z9GHrZXckmTivatoBlVkYb8G8tmk7dgRt6JF+bwfOsA6cGdv7+G7hCbA==
1040+
version "2.0.16"
1041+
resolved "https://registry.yarnpkg.com/astro/-/astro-2.0.16.tgz#ebc24390f6b73edd7e55f08d1ba2573028a7129e"
1042+
integrity sha512-noQL+bbBZaCLbh7wmpVON+e4kDxymDsIQkEUzzuMKLQodYynxr/Sp7RBA/JnEqXz4CRyd7IrgeQBN0cKOuBtzQ==
10431043
dependencies:
10441044
"@astrojs/compiler" "^1.1.0"
10451045
"@astrojs/language-server" "^0.28.3"
10461046
"@astrojs/markdown-remark" "^2.0.1"
1047-
"@astrojs/telemetry" "^2.0.0"
1048-
"@astrojs/webapi" "^2.0.1"
1047+
"@astrojs/telemetry" "^2.0.1"
1048+
"@astrojs/webapi" "^2.0.2"
10491049
"@babel/core" "^7.18.2"
10501050
"@babel/generator" "^7.18.2"
10511051
"@babel/parser" "^7.18.4"
@@ -1564,9 +1564,9 @@ ee-first@1.1.1:
15641564
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==
15651565

15661566
electron-to-chromium@^1.4.284:
1567-
version "1.4.311"
1568-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.311.tgz#953bc9a4767f5ce8ec125f9a1ad8e00e8f67e479"
1569-
integrity sha512-RoDlZufvrtr2Nx3Yx5MB8jX3aHIxm8nRWPJm3yVvyHmyKaRvn90RjzB6hNnt0AkhS3IInJdyRfQb4mWhPvUjVw==
1567+
version "1.4.314"
1568+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.314.tgz#33e4ad7a2ca2ddbe2e113874cc0c0e2a00cb46bf"
1569+
integrity sha512-+3RmNVx9hZLlc0gW//4yep0K5SYKmIvB5DXg1Yg6varsuAHlHwTeqeygfS8DWwLCsNOWrgj+p9qgM5WYjw1lXQ==
15701570

15711571
emmet@^2.3.0:
15721572
version "2.3.6"
@@ -1953,9 +1953,9 @@ fraction.js@^4.2.0:
19531953
integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==
19541954

19551955
framer-motion@^10.0.0:
1956-
version "10.0.0"
1957-
resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-10.0.0.tgz#56e4cefa2a15cb052576e525f445414bf1ddac56"
1958-
integrity sha512-qVmndcu4Z3q5ftqcbUCvVewHc5yiw4uIZyM0uvJ0/spj9lza/FnWywUUc8DNIZTG1my6nFsNLRPGDruP4o6eIw==
1956+
version "10.0.1"
1957+
resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-10.0.1.tgz#62cadfb9ed80599ac9b1c1699dc4e1164c3133c5"
1958+
integrity sha512-/N7gBA9gH8PkStyNQ67P/lx8UhL/7Y8z9Ku7FfgOF77sSG8wu8781kX7I5ZUgflRRtQXo8qH4Rev23004G1zcQ==
19591959
dependencies:
19601960
tslib "^2.4.0"
19611961
optionalDependencies:
@@ -4024,14 +4024,7 @@ typescript@*:
40244024
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
40254025
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
40264026

4027-
undici@5.18.0:
4028-
version "5.18.0"
4029-
resolved "https://registry.yarnpkg.com/undici/-/undici-5.18.0.tgz#e88a77a74d991a30701e9a6751e4193a26fabda9"
4030-
integrity sha512-1iVwbhonhFytNdg0P4PqyIAXbdlVZVebtPDvuM36m66mRw4OGrCm2MYynJv/UENFLdP13J1nPVQzVE2zTs1OeA==
4031-
dependencies:
4032-
busboy "^1.6.0"
4033-
4034-
undici@^5.14.0:
4027+
undici@5.20.0, undici@^5.20.0:
40354028
version "5.20.0"
40364029
resolved "https://registry.yarnpkg.com/undici/-/undici-5.20.0.tgz#6327462f5ce1d3646bcdac99da7317f455bcc263"
40374030
integrity sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==
@@ -4062,9 +4055,11 @@ unist-util-generated@^2.0.0:
40624055
integrity sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==
40634056

40644057
unist-util-is@^5.0.0:
4065-
version "5.2.0"
4066-
resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-5.2.0.tgz#37eed0617b76c114fd34d44c201aa96fd928b309"
4067-
integrity sha512-Glt17jWwZeyqrFqOK0pF1Ded5U3yzJnFr8CG1GMjCWTp9zDo2p+cmD6pWbZU8AgM5WU3IzRv6+rBwhzsGh6hBQ==
4058+
version "5.2.1"
4059+
resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-5.2.1.tgz#b74960e145c18dcb6226bc57933597f5486deae9"
4060+
integrity sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==
4061+
dependencies:
4062+
"@types/unist" "^2.0.0"
40684063

40694064
unist-util-modify-children@^3.0.0:
40704065
version "3.1.1"

0 commit comments

Comments
 (0)