-
Notifications
You must be signed in to change notification settings - Fork 8
Add tier-specific color-coded glow rings to member avatars #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
09a87ed
e214c3a
1bbb2e6
91c3e5b
bdf8d01
e34596b
56e343d
202ee08
c593828
49205da
93355c1
611b945
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -49,6 +49,16 @@ export const POST: RequestHandler = async ({ request, platform }) => { | |||||
|
|
||||||
| // Look up stored metadata to verify the request | ||||||
| const kv = platform?.env?.GATED_CONTENT ?? null; | ||||||
| if (!kv && env.NODE_ENV === 'production') { | ||||||
| console.error('[Genesis Lightning] GATED_CONTENT KV binding is missing in production environment'); | ||||||
| return json( | ||||||
| { | ||||||
| error: 'Service unavailable', | ||||||
|
||||||
| error: 'Service unavailable', | |
| error: 'Service unavailable: GATED_CONTENT KV namespace is not configured', |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -71,11 +71,13 @@ export const POST: RequestHandler = async ({ request, platform }) => { | |||||||
|
|
||||||||
| // Look up stored metadata to verify the request matches what was created | ||||||||
| const kv = platform?.env?.GATED_CONTENT ?? null; | ||||||||
|
|
||||||||
| // In production, missing KV binding is a misconfiguration, not a 404 | ||||||||
| if (!kv && env.NODE_ENV === 'production') { | ||||||||
| console.error('[Verify Lightning] GATED_CONTENT KV binding is missing in production environment'); | ||||||||
| return json( | ||||||||
| { error: 'Service unavailable: GATED_CONTENT KV binding is missing' }, | ||||||||
| { | ||||||||
| error: 'Service unavailable', | ||||||||
| message: 'GATED_CONTENT KV namespace is not configured' | ||||||||
|
Comment on lines
+78
to
+79
|
||||||||
| error: 'Service unavailable', | |
| message: 'GATED_CONTENT KV namespace is not configured' | |
| error: 'Service unavailable: GATED_CONTENT KV namespace is not configured' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
glowStylesetsbox-shadowinline on.avatar-wrapper, which will override anybox-shadow-based styles passed viaclassName(notably Tailwindring-*andshadow-*). This is already used at least inTrendingRecipeCard.svelte(className="ring-2 ring-white"), so active members would lose that ring. Consider rendering the glow via a pseudo-element/overlay, or set a CSS var for the glow and compose it with Tailwind’s--tw-ring-*/--tw-shadowvariables in.avatar-wrapperso both effects apply.