diff --git a/CLAUDE.md b/CLAUDE.md index 5c36f38b02..1a2debc10e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,6 +11,8 @@ The `rivet.gg` domain is deprecated and should never be used in this codebase. +**ALWAYS use `github.com/rivet-dev/rivet` - NEVER use `rivet-dev/rivetkit` or `rivet-gg/*`** + ## Commands ### Build Commands diff --git a/website/package.json b/website/package.json index 404c1b159e..36130913ce 100644 --- a/website/package.json +++ b/website/package.json @@ -25,7 +25,6 @@ "@fortawesome/free-brands-svg-icons": "^7.1.0", "@fortawesome/free-solid-svg-icons": "^7.1.0", "@fortawesome/react-fontawesome": "^3.1.0", - "@giscus/react": "^3.1.0", "@headlessui/react": "^2.2.9", "@heroicons/react": "^2.2.0", "@rivet-gg/api": "25.5.3", diff --git a/website/public/giscus.css b/website/public/giscus.css deleted file mode 100644 index f33c5bd215..0000000000 --- a/website/public/giscus.css +++ /dev/null @@ -1,151 +0,0 @@ -/*! MIT License - * Copyright (c) 2018 GitHub Inc. - * https://github.com/primer/primitives/blob/main/LICENSE - */ - -main { - --color-prettylights-syntax-comment: #8b949e; - --color-prettylights-syntax-constant: #79c0ff; - --color-prettylights-syntax-entity: #d2a8ff; - --color-prettylights-syntax-storage-modifier-import: #c9d1d9; - --color-prettylights-syntax-entity-tag: #7ee787; - --color-prettylights-syntax-keyword: #ff7b72; - --color-prettylights-syntax-string: #a5d6ff; - --color-prettylights-syntax-variable: #ffa657; - --color-prettylights-syntax-brackethighlighter-unmatched: #f85149; - --color-prettylights-syntax-invalid-illegal-text: #f0f6fc; - --color-prettylights-syntax-invalid-illegal-bg: #8e1519; - --color-prettylights-syntax-carriage-return-text: #f0f6fc; - --color-prettylights-syntax-carriage-return-bg: #b62324; - --color-prettylights-syntax-string-regexp: #7ee787; - --color-prettylights-syntax-markup-list: #f2cc60; - --color-prettylights-syntax-markup-heading: #1f6feb; - --color-prettylights-syntax-markup-italic: #c9d1d9; - --color-prettylights-syntax-markup-bold: #c9d1d9; - --color-prettylights-syntax-markup-deleted-text: #ffdcd7; - --color-prettylights-syntax-markup-deleted-bg: #67060c; - --color-prettylights-syntax-markup-inserted-text: #aff5b4; - --color-prettylights-syntax-markup-inserted-bg: #033a16; - --color-prettylights-syntax-markup-changed-text: #ffdfb6; - --color-prettylights-syntax-markup-changed-bg: #5a1e02; - --color-prettylights-syntax-markup-ignored-text: #c9d1d9; - --color-prettylights-syntax-markup-ignored-bg: #1158c7; - --color-prettylights-syntax-meta-diff-range: #d2a8ff; - --color-prettylights-syntax-brackethighlighter-angle: #8b949e; - --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58; - --color-prettylights-syntax-constant-other-reference-link: #a5d6ff; - --color-btn-text: rgb(250, 250, 249); - --color-btn-bg: rgb(41, 37, 36); - --color-btn-border: rgb(240 246 252 / 10%); - --color-btn-shadow: 0 0 transparent; - --color-btn-inset-shadow: 0 0 transparent; - --color-btn-hover-bg: rgb(41, 37, 36); - --color-btn-hover-border: transparent; - --color-btn-active-bg: rgb(41, 37, 36); - --color-btn-active-border: transparent; - --color-btn-selected-bg: rgb(41, 37, 36); - --color-btn-primary-text: rgb(250, 250, 249); - --color-btn-primary-bg: rgba(255, 79, 0, 0.9); - --color-btn-primary-hover-bg: rgb(255, 79, 0); - --color-btn-primary-border: transparent; - --color-btn-primary-shadow: 0 0 transparent; - --color-btn-primary-inset-shadow: 0 0 transparent; - --color-btn-primary-hover-border: transparent; - --color-btn-primary-selected-bg: rgba(255, 79, 0, 0.998); - --color-btn-primary-selected-shadow: 0 0 transparent; - --color-btn-primary-disabled-text: #868181; - --color-btn-primary-disabled-bg: #892f07; - --color-btn-primary-disabled-border: transparent; - --color-action-list-item-default-hover-bg: rgb(177 186 196 / 12%); - --color-segmented-control-bg: rgb(18, 15, 15); - --color-segmented-control-button-bg: rgb(18, 15, 15); - --color-segmented-control-button-selected-border: transparent; - --color-fg-default: rgb(250, 250, 249); - --color-fg-muted: rgb(168, 162, 158); - --color-fg-subtle: rgb(168, 162, 158); - --color-canvas-default: rgb(18, 15, 15); - --color-canvas-overlay: rgb(18, 15, 15); - --color-canvas-inset: rgb(12, 10, 9); - --color-canvas-subtle: rgb(18, 15, 15); - --color-border-default: rgb(255 255 255 / 0.1); - --color-border-muted: rgb(255 255 255 / 0.1); - --color-neutral-muted: rgb(110 118 129 / 40%); - --color-accent-fg: rgb(255, 79, 0); - --color-accent-emphasis: rgb(255, 79, 0); - --color-accent-muted: rgb(255, 79, 0); - --color-accent-subtle: rgb(255, 79, 0); - --color-success-fg: #3fb950; - --color-attention-fg: #d29922; - --color-attention-muted: rgb(187 128 9 / 40%); - --color-attention-subtle: rgb(187 128 9 / 15%); - --color-danger-fg: #f85149; - --color-danger-muted: rgb(248 81 73 / 40%); - --color-danger-subtle: rgb(248 81 73 / 10%); - --color-primer-shadow-inset: 0 0 transparent; - --color-scale-gray-7: #21262d; - --color-scale-blue-8: #0c2d6b; - - /*! Extensions from @primer/css/alerts/flash.scss */ - - --color-social-reaction-bg-hover: var(--color-scale-gray-7); - --color-social-reaction-bg-reacted-hover: rgb(41, 37, 36); -} - -main .pagination-loader-container { - background-image: url("https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg"); -} - -main .gsc-loading-image { - background-image: url("https://github.githubassets.com/images/mona-loading-dark.gif"); -} - -main .gsc-reactions-menu[open] .gsc-reactions-popover p { - color: var(--color-fg-default); -} - -main .gsc-comment-box-write textarea::placeholder { - color: var(--color-fg-muted); -} - -main .gsc-comment-box-textarea:focus { - background-color: var(--color-canvas-inset); -} - -main .gsc-social-reaction-summary-item-count { - color: var(--color-fg-default); -} - -main .gsc-comment-author-avatar, -main .gsc-comment-author-avatar .link-primary:hover { - color: var(--color-fg-default); -} - -main .gsc-right-header .BtnGroup-item.BtnGroup-item--selected { - background-color: rgb(41, 37, 36); -} - -main .gsc-right-header .BtnGroup-item .btn:hover { - background-color: rgb(41, 37, 36); -} - -main .gsc-comment .color-box-border-info { - border-color: var(--color-border-default); -} - -main .gsc-social-reaction-summary-item { - background-color: rgb(18, 15, 15); - border: transparent; -} -main .gsc-social-reaction-summary-item.has-reacted { - background-color: rgb(41, 37, 36); - border: transparent; -} - -main .gsc-emoji-button.has-reacted { - background-color: rgb(41, 37, 36); - border: transparent; -} - -main .gsc-emoji-button { - border-radius: 16px; -} diff --git a/website/src/components/Comments.tsx b/website/src/components/Comments.tsx deleted file mode 100644 index da63e1b8e7..0000000000 --- a/website/src/components/Comments.tsx +++ /dev/null @@ -1,30 +0,0 @@ -"use client"; - -import Giscus from "@giscus/react"; -import { cn } from "@rivet-gg/components"; - -interface CommentsProps { - className?: string; -} - -export function Comments({ className }: CommentsProps) { - return ( -
Stage: {progress.stage}
+Progress: {progress.completed} / {progress.total}
+