Skip to content

Commit

Permalink
prisma 5, modal
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Jul 16, 2023
1 parent b566145 commit 4253491
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 31 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@nuxtjs/auth-next": "5.0.0-1667386184.dfbbb54",
"@nuxtjs/color-mode": "^3.2.0",
"@pinia/nuxt": "^0.4.11",
"@prisma/client": "4.15.0-integration-feat-client-esm.27",
"@prisma/client": "5",
"@tailwindcss/typography": "^0.5.9",
"@tiptap/core": "^2.0.3",
"@tiptap/extension-code-block": "^2.0.3",
Expand Down Expand Up @@ -65,7 +65,7 @@
"lowlight": "^2.9.0",
"md5": "^2.3.0",
"nuxt": "^3.5.3",
"prisma": "4.15.0-integration-feat-client-esm.27",
"prisma": "5",
"prosemirror-commands": "^1.5.2",
"prosemirror-dropcursor": "^1.8.1",
"prosemirror-gapcursor": "^1.3.2",
Expand Down
10 changes: 5 additions & 5 deletions src/components/T/modal.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ $in: blur(0.5em) opacity(0) saturate(0.5);
@apply transition-all;
&[status="show"] {
@apply backdrop-blur-md;
@apply backdrop-saturate-[0.8] backdrop-contrast-[1.02] backdrop-brightness-[1.02];
@apply dark:backdrop-contrast-[1.05] dark:backdrop-brightness-[0.9];
@apply bg-gbase-200/25 dark:bg-gbase-800/30;
@apply backdrop-blur-lg;
// @apply backdrop-saturate-[0.6] backdrop-contrast-[1.02] backdrop-brightness-[1.02];
// @apply dark:backdrop-contrast-[1.05] dark:backdrop-brightness-[0.9];
}
}
// &[status="hidden"] {
// }
&[status="show"] {
animation: zoomIn $duration $animate-function forwards;
> [response-modal] {
animation: slideFromBottom calc($duration / 1.4) $animate-function
forwards;
animation: slideFromBottom calc($duration / 1.4) $animate-function forwards;
@screen md {
animation: zoomIn $duration $animate-function forwards;
}
Expand Down
9 changes: 4 additions & 5 deletions src/components/userpage/statistics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const ScoreToNextLevel = computed(
/> -->
{{ ppRankingSystems.includes(selectedRankingSystem as PPRankingSystem) ? `${scoreFmt((currentRankingSystem as PPRank)?.performance)}` : scoreFmtCompact((deferredRender[selectedRankingSystem as LeaderboardRankingSystem] as ScoreRank).score as bigint) }}
</div>
<div class="stat-desc flex gap-1 items-center">
<div class="stat-desc flex gap-1 items-center font-mono">
<!-- <Roller
:char-set="chars"
class="font-mono"
Expand All @@ -124,21 +124,20 @@ const ScoreToNextLevel = computed(
<div class="stat-title">
Level
</div>
<div class="stat-value">
<div class="stat-value font-mono">
<!-- <Roller
class="font-mono"
:char-set="chars"
:value="userLevelInt.toString()"
/> -->
{{ userLevelInt.toString() }}
{{ userLevelInt.toString() }}{{ userLevelPercent.slice(1) }}
<!-- <Roller
class="font-mono text-lg self-end pb-1"
:char-set="percent"
:value="`${userLevelPercent.slice(1)}`"
/> -->
{{ userLevelPercent.slice(1) }}
</div>
<div class="stat-desc flex gap-1 items-center">
<div class="stat-desc flex gap-1 items-center font-mono">
<!-- <Roller
class="font-mono"
:char-set="chars"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/me/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ async function kickSession(session: string) {
</div>
<div>
<div class="font-bold">
{{ OS[session.OS] }} <span v-if="session.current" class="badge badge-ghost badge-sm">Current Session</span>
{{ OS[session.OS] }} <span v-if="session.current" class="badge badge-ghost badge-sm whitespace-nowrap">Current Session</span>
</div>
<div class="text-sm opacity-50">
{{ Client[session.client] }}
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1198,22 +1198,22 @@
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f"
integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==

"@prisma/client@4.15.0-integration-feat-client-esm.27":
version "4.15.0-integration-feat-client-esm.27"
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.15.0-integration-feat-client-esm.27.tgz#055ccc56fd3953e66879aed5ec358442c4118f65"
integrity sha512-d1+EXkJpNaLOFH4x2FIRj66rkdW8g8wAwDcw7ayPNzix+1MKW4IBWncZLZDf5by9gSwHJlCb5N2BTRJmUnE3qQ==
"@prisma/client@5":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.0.0.tgz#9f0cd4164f4ffddb28bb1811c27eb7fa1e01a087"
integrity sha512-XlO5ELNAQ7rV4cXIDJUNBEgdLwX3pjtt9Q/RHqDpGf43szpNJx2hJnggfFs7TKNx0cOFsl6KJCSfqr5duEU/bQ==
dependencies:
"@prisma/engines-version" "4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944"
"@prisma/engines-version" "4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584"

"@prisma/engines-version@4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944":
version "4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944"
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944.tgz#8d880becf996cffe08c78ad5afab6bc06090c990"
integrity sha512-sVOig4tjGxxlYaFcXgE71f/rtFhzyYrfyfNFUsxCIEJyVKU9rdOWIlIwQ2NQ7PntvGnn+x0XuFo4OC1jvPJKzg==
"@prisma/engines-version@4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584":
version "4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584"
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584.tgz#b36eda5620872d3fac810c302a7e46cf41daa033"
integrity sha512-HHiUF6NixsldsP3JROq07TYBLEjXFKr6PdH8H4gK/XAoTmIplOJBCgrIUMrsRAnEuGyRoRLXKXWUb943+PFoKQ==

"@prisma/engines@4.15.0-integration-feat-client-esm.27":
version "4.15.0-integration-feat-client-esm.27"
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.15.0-integration-feat-client-esm.27.tgz#6ea56a5a516a60d6fb1090261c85d16dc04dcac1"
integrity sha512-xzD1472StQ6GA3gaZpPVwj6qlkbs92mPMTSESWiDCtDvkyPvN/g1qgrdPxRt1uFuPM2NSj5Ngc2InyfwRUAQFA==
"@prisma/engines@5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.0.0.tgz#5249650eabe77c458c90f2be97d8210353c2e22e"
integrity sha512-kyT/8fd0OpWmhAU5YnY7eP31brW1q1YrTGoblWrhQJDiN/1K+Z8S1kylcmtjqx5wsUGcP1HBWutayA/jtyt+sg==

"@redis/[email protected]":
version "1.2.0"
Expand Down Expand Up @@ -7731,12 +7731,12 @@ pretty-bytes@^6.1.0:
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-6.1.0.tgz#1d1cc9aae1939012c74180b679da6684616bf804"
integrity sha512-Rk753HI8f4uivXi4ZCIYdhmG1V+WKzvRMg/X+M42a6t7D07RcmopXJMDNk6N++7Bl75URRGsb40ruvg7Hcp2wQ==

prisma@4.15.0-integration-feat-client-esm.27:
version "4.15.0-integration-feat-client-esm.27"
resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.15.0-integration-feat-client-esm.27.tgz#a92604359b42a368100da9051e333d8a2706a713"
integrity sha512-hVuVm+KPUhPRbTE0Z86wnaD2P6wBu2byP6w7fQ8z5kM2/STrkGLz4xja8AlQQQ43bZObvmTy1GMP0eHTbi7G2Q==
prisma@5:
version "5.0.0"
resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.0.0.tgz#f6571c46dc2478172cb7bc1bb62d74026a2c2630"
integrity sha512-KYWk83Fhi1FH59jSpavAYTt2eoMVW9YKgu8ci0kuUnt6Dup5Qy47pcB4/TLmiPAbhGrxxSz7gsSnJcCmkyPANA==
dependencies:
"@prisma/engines" "4.15.0-integration-feat-client-esm.27"
"@prisma/engines" "5.0.0"

proc-log@^3.0.0:
version "3.0.0"
Expand Down

0 comments on commit 4253491

Please sign in to comment.