Skip to content

Docs: update main page - #371

Closed
mdong1909 wants to merge 18 commits into
mainfrom
docs-update-main-page
Closed

mdong1909 wants to merge 18 commits into
mainfrom
docs-update-main-page

Conversation

@mdong1909

Copy link
Copy Markdown
Contributor

No description provided.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-update-main-page-void-cloud.voidzero-docs.workers.dev (commit 71fedd7)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d2c0c17a-void-cloud.voidzero-docs.workers.dev 71fedd7 2026-10-07T05:29:49.424Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ba04accc-void-cloud.voidzero-docs.workers.dev 77a38e8 2026-10-05T08:05:46.850Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://3bfdd248-void-cloud.voidzero-docs.workers.dev d0f18ce 2026-10-05T06:39:46.810Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f712fb08-void-cloud.voidzero-docs.workers.dev 60edbde 2026-10-05T05:50:17.835Z Visit the dashboard ↗

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 60edbdeee6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/.vitepress/theme/HomePlatform.vue Outdated
.platform-panel__copy p {
max-width: 32ch;
margin-top: 0.65rem;
color: #777780;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Increase contrast for platform body text

The #777780 text has a contrast ratio of only about 4.17:1 against the control panel's #f8f8f6 background, below the 4.5:1 requirement for this 0.85rem normal-weight text. The same color reused for the 0.9rem AI-card paragraphs on white reaches only about 4.44:1, so both newly added sections are difficult to read for low-vision users; use a darker text color for these paragraphs.

Useful? React with 👍 / 👎.

Comment on lines +6 to +13
if (typeof document !== 'undefined') {
const preload = document.createElement('link');
preload.rel = 'preload';
preload.href = heroAnimation;
preload.as = 'fetch';
preload.crossOrigin = 'anonymous';
document.head.appendChild(preload);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The preload link injection runs every time the component is created and will append duplicate <link> elements to document.head if the component remounts (e.g., during route navigation or hot reload). This causes DOM pollution and potential memory leaks.

Fix: Add a check to prevent duplicates or move this to onMounted with cleanup:

onMounted(() => {
  if (!document.querySelector(`link[href="${heroAnimation}"]`)) {
    const preload = document.createElement('link');
    preload.rel = 'preload';
    preload.href = heroAnimation;
    preload.as = 'fetch';
    preload.crossOrigin = 'anonymous';
    document.head.appendChild(preload);
  }
});
Suggested change
if (typeof document !== 'undefined') {
const preload = document.createElement('link');
preload.rel = 'preload';
preload.href = heroAnimation;
preload.as = 'fetch';
preload.crossOrigin = 'anonymous';
document.head.appendChild(preload);
}
onMounted(() => {
if (!document.querySelector(`link[href="${heroAnimation}"]`)) {
const preload = document.createElement('link');
preload.rel = 'preload';
preload.href = heroAnimation;
preload.as = 'fetch';
preload.crossOrigin = 'anonymous';
document.head.appendChild(preload);
}
});

Spotted by Graphite

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@cpojer

cpojer commented Oct 15, 2026

Copy link
Copy Markdown
Member

I squashed and picked all your changes to main locally, will make minor adjustments before I push later today.

Just for the public record, those rive animations are killer. Great work.

@cpojer cpojer closed this Oct 15, 2026
cpojer pushed a commit that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants