-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
docs: fix Cloudflare logo not updating with theme toggle #7118
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
base: main
Are you sure you want to change the base?
Changes from all commits
82c1ede
89e4ba6
809a2dc
37b18dc
7bdbdf2
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -27,12 +27,19 @@ Once you've chosen a deployment target, you can follow the deployment guidelines | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| ### Cloudflare Workers ⭐ _Official Partner_ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| <a href="https://www.cloudflare.com?utm_source=tanstack" alt="Cloudflare Logo"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <picture> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-white.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img alt="Cloudflare logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| </picture> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <a href="https://www.cloudflare.com?utm_source=tanstack"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| class="block dark:hidden" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| width="280" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| alt="Cloudflare logo" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-white.svg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| class="hidden dark:block" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| width="280" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| alt="Cloudflare logo" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| </a> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| ### Cloudflare Workers | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -110,12 +117,19 @@ Deploy your application to Cloudflare Workers using their one-click deployment p | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| ### Netlify ⭐ _Official Partner_ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| <a href="https://www.netlify.com?utm_source=tanstack" alt="Netlify Logo"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <picture> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-dark.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img alt="Netlify logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| </picture> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <a href="https://www.netlify.com?utm_source=tanstack"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| class="block dark:hidden" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| width="280" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| alt="Netlify Logo" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| class="hidden dark:block" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-dark.svg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| width="280" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| alt="Netlify Logo" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| </a> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Install and add the [`@netlify/vite-plugin-tanstack-start`](https://www.npmjs.com/package/@netlify/vite-plugin-tanstack-start) plugin, which configures your build for Netlify deployment and provides full Netlify production platform emulation in local dev: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -182,12 +196,19 @@ tool](https://docs.netlify.com/start/quickstarts/deploy-from-ai-code-generation- | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| ### Railway ⭐ _Official Partner_ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| <a href="https://railway.com?utm_source=tanstack" alt="Railway Logo"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <picture> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img alt="Railway logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg" width="280"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| </picture> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <a href="https://railway.com?utm_source=tanstack"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| class="block dark:hidden" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| arc="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| width="280" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| alt="Railway logo" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| <img | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| class="hidden dark:block" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| width="280" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| alt="Railway logo" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+199
to
+211
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Railway light-mode logo won’t render (URL placed in At Line 202, the light logo URL is in 🔧 Suggested fix <a href="https://railway.com?utm_source=tanstack">
<img
- class="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
+ class="block dark:hidden"
+ src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
+ width="280"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| </a> | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Railway provides instant deployments with zero configuration. Follow the [`Nitro`](#nitro) deployment instructions, then deploy to Railway: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
Railway light-mode image is broken due to missing
src.At Line 207, the image URL is assigned to
classinstead ofsrc, so the light logo will not render.🔧 Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents