Repository navigation
perf: address web performance audit (#16) #90
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
Merged
creatorcluster
merged 4 commits into
creatorcluster:main
from
Coder-soft:fix/web-perf-issue-16
Oct 5, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
b3702dd
perf: address web performance audit (issue #16)
Coder-soft 3d4d8ba
docs: note that PRs target upstream creatorcluster/renderdragon.org
Coder-soft 0096334
Merge remote-tracking branch 'upstream/main' into fix/web-perf-issue-16
Coder-soft b8437fc
fix: handle lazy Supabase client load failures
Coder-soft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # AGENTS.md | ||
|
|
||
| ## Repository layout | ||
|
|
||
| This checkout is the `Coder-soft/renderdragon.org` fork. The canonical upstream | ||
| for this project is **`creatorcluster/renderdragon.org`** (base branch `main`), | ||
| which itself forks `Yxmura/renderdragon`. | ||
|
|
||
| ## Pull requests | ||
|
|
||
| Open every pull request against upstream **`creatorcluster/renderdragon.org` `main`**, | ||
| not against the `Coder-soft` fork. Push the branch to `origin` (the fork) and open a | ||
| cross-repository PR: | ||
|
|
||
| ```sh | ||
| git push -u origin <branch> | ||
| gh pr create --repo creatorcluster/renderdragon.org --base main --head Coder-soft:<branch> | ||
| ``` | ||
|
|
||
| GitHub's native linked-branch feature (`gh issue develop`) does not work in the fork, | ||
| so reference the relevant fork issue by URL in the PR body instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,25 @@ | ||
| import React from 'react'; | ||
|
|
||
| export const Logo = ({ className = "", size = "md", mobile = false }: { className?: string, size?: "sm" | "md" | "lg" | "xl", mobile?: boolean }) => { | ||
| const LOGO_SRC = "/renderdragon-logo.webp"; | ||
|
|
||
| export const Logo = ({ className = "", size = "md" }: { className?: string, size?: "sm" | "md" | "lg" | "xl" }) => { | ||
| const dimensions = { | ||
| sm: "h-8", | ||
| md: "h-10", | ||
| lg: "h-12", | ||
| xl: "h-14" | ||
| }[size]; | ||
|
|
||
| const src = mobile ? "/renderdragon.png" : "/favicon.ico"; | ||
|
|
||
| return ( | ||
| <img | ||
| src={src} | ||
| src={LOGO_SRC} | ||
| alt="Renderdragon" | ||
| width={128} | ||
| height={92} | ||
| decoding="async" | ||
| className={`${dimensions} w-auto object-contain ${className}`} | ||
| /> | ||
| ); | ||
| }; | ||
|
|
||
| export default React.memo(Logo); | ||
| export default React.memo(Logo); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import type { SupabaseClient } from '@supabase/supabase-js'; | ||
| import type { Database } from './types'; | ||
|
|
||
| let clientPromise: Promise<SupabaseClient<Database>> | null = null; | ||
|
|
||
| export const getSupabase = (): Promise<SupabaseClient<Database>> => { | ||
| if (!clientPromise) { | ||
| clientPromise = import('./client') | ||
| .then((module) => module.supabase) | ||
| .catch((error) => { | ||
| clientPromise = null; | ||
| throw error; | ||
| }); | ||
| } | ||
| return clientPromise; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.