Skip to content

fix: optimize images using squoosh#51

Merged
0xLeopoldo merged 1 commit intodevfrom
fix/optimize-images
Jul 9, 2025
Merged

fix: optimize images using squoosh#51
0xLeopoldo merged 1 commit intodevfrom
fix/optimize-images

Conversation

@0xLeopoldo
Copy link
Copy Markdown
Contributor

@0xLeopoldo 0xLeopoldo commented Jul 9, 2025

Optimize handbook images using squoosh

ISSUE CHA-334 https://linear.app/defi-wonderland/issue/CHA-334/optimize-the-images-with-squoosh

Summary by CodeRabbit

  • Style

    • Updated multiple documentation files for improved formatting, consistent markdown styling, and readability, including changes from asterisks to underscores for italics and minor whitespace adjustments.
    • Standardized image file extensions from .png to .jpg across documentation.
  • Chores

    • Changed the background image for handbook cards and the "Optimism handbook" entry to a new image for visual consistency.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
handbook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:37pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jul 9, 2025

📝 Walkthrough

Walkthrough

This set of changes updates numerous markdown documentation files and two TypeScript files within the project. The primary modification is the replacement of image file extensions from .png to .jpg throughout documentation and UI components, specifically for handbook card backgrounds and embedded images. Additionally, there are widespread formatting and stylistic improvements in markdown files, such as consistent use of markdown emphasis, indentation, and whitespace cleanup. No functional logic, code flow, or exported entities were altered in any of the affected files.

Assessment against linked issues

Objective Addressed Explanation
Optimize the images with Squoosh (CHA-334) The PR changes image file extensions to .jpg, but does not provide evidence of Squoosh optimization or image compression.

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Formatting and stylistic improvements in markdown files (multiple sites/wonderland/docs/ paths) These changes are unrelated to image optimization and are purely editorial, not mentioned in the linked issue.

Possibly related PRs

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🔭 Outside diff range comments (3)
packages/common-config/src/components/HandbookSection/index.tsx (1)

55-60: Missing rel="noopener noreferrer" on external link

target="_blank" without the rel attribute opens the door to reverse-tab-napping.
Add the recommended rel flags:

-    <a
-      href={handbook.href}
-      style={cardStyle}
-      target="_blank"
-      className={styles.handbooksCard}
-    >
+    <a
+      href={handbook.href}
+      style={cardStyle}
+      target="_blank"
+      rel="noopener noreferrer"
+      className={styles.handbooksCard}
+    >
sites/wonderland/docs/development/research/onboarding/knowledge-base/basics/game-theory.md (1)

30-33: Remaining .png references defeat the “all-JPEG” optimization goal

Four images (/img/game-theory-1.png, -2.png, -3.png, -4.png) were not renamed to .jpg, unlike the rest of the repo.
Result: broken links after the PNGs are deleted during asset clean-up, or the heavier PNGs are still served.

-![Game representation forms](/img/game-theory-1.png)
+![Game representation forms](/img/game-theory-1.jpg)

(…apply the same change to the other three images.)

Also applies to: 42-44, 78-81, 94-96

sites/wonderland/docs/testing/advanced-testing/property-based-fuzzing.md (1)

107-113: Type mismatch in reproduction test – will not compile

property_IHaveFailed(string,uint256) is called with (string, address).
Same mismatch for property_IHaveFailedToo.

-        this.property_IHaveFailed('arg', address(12));
+        this.property_IHaveFailed('arg', 12);

and adjust the second call analogously.
Without this fix forge test will fail at compile time, defeating the purpose of the repro contract.

🧹 Nitpick comments (21)
sites/wonderland/src/pages/index.tsx (1)

57-60: Path duplication – extract to a shared constant

Both this page and HandbookSection embed the exact same "/common/img/background-handbook-card.jpg" literal. Centralising it (e.g. constants.ts) removes copia-paste risk when the asset changes again.

sites/wonderland/docs/processes/github/repo-readiness.md (1)

14-20: Inconsistent list indentation breaks Markdown rendering

Line 17 is indented with one space instead of two, so the checkbox becomes plain text on some renderers.

-     - [ ]   Add a LICENSE file
+   - [ ] Add a LICENSE file

Do the same for the nested LICENSE links to keep them under the checkbox item.

sites/wonderland/docs/development/research/technical-writing.md (2)

84-85: Alt text still references obsolete filename

The alt text "image.png" no longer matches the .jpg asset.

-![image.png](/img/tech-writing-meme-2.jpg)
+![tech-writing meme](/img/tech-writing-meme-2.jpg)

100-103: Bare URL – wrap in Markdown link for lint compliance

markdownlint (MD034) flags bare URLs. Wrap with brackets:

-https://mirror.xyz/lisaakselrod.eth/3VJ6t85bpn58WrxrBtVggDIv8-foJJjOys1Tu6K6EfU
+[“How to write for devs – checklist”](https://mirror.xyz/lisaakselrod.eth/3VJ6t85bpn58WrxrBtVggDIv8-foJJjOys1Tu6K6EfU)
sites/wonderland/docs/development/offchain/onboarding/challenge.md (2)

39-42: Link text / target mismatch

The bullet says factory pattern but links to singleton pattern.

-  - Implement [factory pattern](https://refactoring.guru/design-patterns/singleton) for provider selection
+  - Implement [factory pattern](https://refactoring.guru/design-patterns/factory-method) for provider selection

78-80: Grammar

“…as it help us on improving…” → “…as it helps us improve…”.

-Write some notes with your experience working on the challenge. All feedback is really welcomed and appreciated, as it help us on improving the challenge for the future
+Write some notes about your experience working on the challenge. All feedback is welcome and appreciated, as it helps us improve the challenge for the future.
sites/wonderland/docs/processes/github/git-practices.md (2)

16-29: Nested checklist indentation no longer follows Markdown spec

Reducing the indentation from 4 spaces to 2 spaces breaks the visual nesting in most Markdown renderers (GitHub, Docusaurus, VS Code preview).
Re-indent the child check-boxes with ≥ 4 spaces to keep them grouped under their parent bullet.

-  - [ ] Enable "Require a pull request before merging"
+    - [ ] Enable "Require a pull request before merging"

42-44: Add descriptive alt text to image for accessibility (MD045)

The <img> tag lacks an alt attribute, triggering the markdown-lint rule and harming screen-reader usability.

-  <img src="/img/pr-meme.jpg" width="900" />
+  <img src="/img/pr-meme.jpg" alt="Funny pull-request meme" width="900" />
sites/wonderland/docs/development/offchain/rpc-request.md (3)

64-66: Replace file-name alt text with a meaningful description

![request.png] passes lint but doesn’t help accessibility. Describe the graphic instead of repeating the file name.

-![request.png](/img/rpc-batching-1.jpg)
+![Sequential single-pool RPC requests](/img/rpc-batching-1.jpg)

160-161: Same issue: improve alt text of second diagram

-![rpc-2.png](/img/rpc-batching-2.jpg)
+![Single batched RPC request returning multiple pools](/img/rpc-batching-2.jpg)

165-166: Wrap bare URL to satisfy MD034 and improve readability

-A sample working version of this method can be found at https://github.com/defi-wonderland/rpc-batching-sample
+A sample working version of this method can be found at \
+[defi-wonderland/rpc-batching-sample](https://github.com/defi-wonderland/rpc-batching-sample)
sites/wonderland/docs/development/research/onboarding/knowledge-base/core/oracles.md (1)

15-17: Typo in bolded term creates stray leading “I”

I**mmediate-read oracles** renders the initial “I” outside the bold span.
Remove the extra character:

-I**mmediate-read oracles**
+**Immediate-read oracles**
sites/wonderland/docs/processes/project-lifecycle.md (1)

95-96: Hard tab before <img> violates MD010

Replace the tab with spaces to satisfy markdown-lint and avoid unpredictable rendering.

-	<img src="/img/project-lifecycle-meme.jpg" alt="project-lifecycle" width={600} />
+  <img src="/img/project-lifecycle-meme.jpg" alt="project-lifecycle meme" width={600} />
sites/wonderland/docs/testing/advanced-testing/overview.md (3)

12-13: Avoid vague intensifier “big”

“in a big number of cases”
“Large” or “vast” conveys the same idea more formally.

-…working in a big number of cases…
+…working in a large number of cases…

98-102: Bullet-list verification steps render as plain text

Indent the three sub-points by two additional spaces so they are recognised as list items under the parent bullet.

-  - Check the coverage …
-  - Make sure both sides …
-  - Mutate the property …
+    - Check the coverage …
+    - Make sure both sides …
+    - Mutate the property …

122-126: Prefix headings with one space after ! for Docusaurus image shorthand

Some Markdown engines mis-parse ![Fuzzing sanity check] when immediately followed by text.
Add a newline or space after the image to avoid accidental concatenation with the sentence.

sites/wonderland/docs/development/research/onboarding/knowledge-base/basics/game-theory.md (2)

449-453: Typos in key takeaway sentence

“Accomodate” → “Accommodate”, “thret” → “threat”.
Minor, but in a highlighted conclusion they hurt credibility.

-The subgame perfect equilibrium is (Enter, Accomodate), eliminating the unrealistic thret of a price war.
+The subgame-perfect equilibrium is (Enter, Accommodate), eliminating the unrealistic threat of a price war.

36-37: Duplicated paragraph – probable copy-paste slip

The explanation of an extensive-form game appears twice almost verbatim (lines ~36-41 and ~49-51). Remove one copy to keep the flow tight.

Also applies to: 49-51

sites/wonderland/docs/development/frontend/best-practices.md (1)

167-168: Broken markdown around styled() link

The sequence [\*\*``styled()](...)``\*\* produces garbled output and an incorrect anchor.

-Or using [\*\*``styled()](https://mui.com/system/styled/?srsltid=AfmBOoq0FmJ0KjHaNEZYbCgi1CbkOamY-AwtPiSm0tDtQ9Bdp7GIY3sd)``\*\* utility from MUI:
+Or using **[`styled()`](https://mui.com/system/styled/)** utility from MUI:
sites/wonderland/docs/testing/advanced-testing/property-based-fuzzing.md (1)

157-158: Spell-out “etc.” with the mandatory period

Minor documentation polish:

-  Further logic can be included for, eg, have a non-fifo ordering (lifo, random, etc), rely on additional relayers/hyperlane/etc.
+  Further logic can include, e.g., non-FIFO ordering (LIFO, random, etc.), or rely on additional relayers/hyperlane, etc.
sites/wonderland/docs/processes/github/ssh-setup.md (1)

126-127: Alt text still shows “image.png” after file migrated to JPG

Purely cosmetic, but keeping alt text in sync avoids confusion when searching.

-![image.png](/img/thats-too-easy.jpg)
+![That’s too easy](/img/thats-too-easy.jpg)
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a55b52c and b1b1797.

⛔ Files ignored due to path filters (45)
  • packages/common-config/static/common/img/background-handbook-card.jpg is excluded by !**/*.jpg
  • packages/common-config/static/common/img/background-handbook-card.png is excluded by !**/*.png
  • packages/common-config/static/common/img/red-card-bg.png is excluded by !**/*.png
  • packages/common-config/static/common/img/wonderland-button-bg.jpg is excluded by !**/*.jpg
  • packages/common-config/static/common/img/wonderland-button-bg.png is excluded by !**/*.png
  • sites/wonderland/static/img/battle-of-sex.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/battle-of-sex.png is excluded by !**/*.png
  • sites/wonderland/static/img/chicken-problem.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/chicken-problem.png is excluded by !**/*.png
  • sites/wonderland/static/img/cournot.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/cournot.png is excluded by !**/*.png
  • sites/wonderland/static/img/equilibrium.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/equilibrium.png is excluded by !**/*.png
  • sites/wonderland/static/img/frontend-meme.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/frontend-meme.png is excluded by !**/*.png
  • sites/wonderland/static/img/full-tree.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/full-tree.png is excluded by !**/*.png
  • sites/wonderland/static/img/fuzz-inheritance.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/fuzz-inheritance.png is excluded by !**/*.png
  • sites/wonderland/static/img/fuzz-sanity-check.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/fuzz-sanity-check.png is excluded by !**/*.png
  • sites/wonderland/static/img/meme-tech.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/meme-tech.png is excluded by !**/*.png
  • sites/wonderland/static/img/offchain-img.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/offchain-img.png is excluded by !**/*.png
  • sites/wonderland/static/img/oracles-1.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/oracles-1.png is excluded by !**/*.png
  • sites/wonderland/static/img/oracles-2.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/oracles-2.png is excluded by !**/*.png
  • sites/wonderland/static/img/oracles-3.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/oracles-3.png is excluded by !**/*.png
  • sites/wonderland/static/img/pr-meme.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/pr-meme.png is excluded by !**/*.png
  • sites/wonderland/static/img/project-lifecycle-meme.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/project-lifecycle-meme.png is excluded by !**/*.png
  • sites/wonderland/static/img/repo-readiness.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/repo-readiness.png is excluded by !**/*.png
  • sites/wonderland/static/img/rpc-batching-1.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/rpc-batching-1.png is excluded by !**/*.png
  • sites/wonderland/static/img/rpc-batching-2.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/rpc-batching-2.png is excluded by !**/*.png
  • sites/wonderland/static/img/tech-writing-meme-2.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/tech-writing-meme-2.png is excluded by !**/*.png
  • sites/wonderland/static/img/thats-too-easy.jpg is excluded by !**/*.jpg
  • sites/wonderland/static/img/thats-too-easy.png is excluded by !**/*.png
📒 Files selected for processing (14)
  • packages/common-config/src/components/HandbookSection/index.tsx (1 hunks)
  • sites/wonderland/docs/development/frontend/best-practices.md (14 hunks)
  • sites/wonderland/docs/development/offchain/onboarding/challenge.md (3 hunks)
  • sites/wonderland/docs/development/offchain/rpc-request.md (5 hunks)
  • sites/wonderland/docs/development/research/onboarding/knowledge-base/basics/game-theory.md (19 hunks)
  • sites/wonderland/docs/development/research/onboarding/knowledge-base/core/oracles.md (4 hunks)
  • sites/wonderland/docs/development/research/technical-writing.md (5 hunks)
  • sites/wonderland/docs/processes/github/git-practices.md (3 hunks)
  • sites/wonderland/docs/processes/github/repo-readiness.md (3 hunks)
  • sites/wonderland/docs/processes/github/ssh-setup.md (2 hunks)
  • sites/wonderland/docs/processes/project-lifecycle.md (3 hunks)
  • sites/wonderland/docs/testing/advanced-testing/overview.md (5 hunks)
  • sites/wonderland/docs/testing/advanced-testing/property-based-fuzzing.md (7 hunks)
  • sites/wonderland/src/pages/index.tsx (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
packages/common-config/src/components/HandbookSection/index.tsx (3)
Learnt from: th0rOdinson
PR: defi-wonderland/handbook#50
File: packages/common-config/preset/commonDocusaurusConfig.ts:50-53
Timestamp: 2025-07-08T17:52:29.172Z
Learning: In the defi-wonderland/handbook repository, for external handbook URLs in the navbar dropdown (like "https://handbook.wonderland.xyz/optimism"), the `to` property is used instead of `href` to avoid adding the openInNew icon since these are considered internal links within the handbook ecosystem from a UX perspective.
Learnt from: th0rOdinson
PR: defi-wonderland/handbook#50
File: packages/common-config/src/components/CategoryCards/index.tsx:26-39
Timestamp: 2025-07-08T17:47:11.797Z
Learning: In the defi-wonderland/handbook monorepo CategoryCards component, the custom click handler with preventDefault, window.scrollTo, and setTimeout before window.location.href navigation was chosen as the best solution after exploring Docusaurus-based and native React approaches that didn't work for this specific use case.
Learnt from: th0rOdinson
PR: defi-wonderland/handbook#50
File: packages/common-config/src/components/HandbookSection/index.tsx:24-28
Timestamp: 2025-07-08T17:34:12.910Z
Learning: In the defi-wonderland/handbook monorepo, the build command copies assets so that `/common/img/star-icon.svg` and similar paths in the common-config package are always available to consuming projects, eliminating the need for configurable asset paths.
sites/wonderland/src/pages/index.tsx (1)
Learnt from: th0rOdinson
PR: defi-wonderland/handbook#50
File: packages/common-config/preset/commonDocusaurusConfig.ts:50-53
Timestamp: 2025-07-08T17:52:29.172Z
Learning: In the defi-wonderland/handbook repository, for external handbook URLs in the navbar dropdown (like "https://handbook.wonderland.xyz/optimism"), the `to` property is used instead of `href` to avoid adding the openInNew icon since these are considered internal links within the handbook ecosystem from a UX perspective.
sites/wonderland/docs/development/frontend/best-practices.md (1)
Learnt from: th0rOdinson
PR: defi-wonderland/handbook#50
File: packages/common-config/src/components/CategoryCards/index.tsx:26-39
Timestamp: 2025-07-08T17:47:11.797Z
Learning: In the defi-wonderland/handbook monorepo CategoryCards component, the custom click handler with preventDefault, window.scrollTo, and setTimeout before window.location.href navigation was chosen as the best solution after exploring Docusaurus-based and native React approaches that didn't work for this specific use case.
🪛 LanguageTool
sites/wonderland/docs/development/offchain/onboarding/challenge.md

[grammar] ~9-~9: Ensure spelling is correct
Context: ...nd report Total Value Locked (TVL) from UniswapV2 pools across multiple blockchains. This...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

sites/wonderland/docs/development/research/onboarding/knowledge-base/core/oracles.md

[style] ~11-~11: As an alternative to the over-used intensifier ‘really’, consider replacing this phrase.
Context: ...r manipulate the oracle, they can cause really bad outcomes—such as incorrect collateral l...

(EN_WEAK_ADJECTIVE)


[grammar] ~23-~23: Ensure spelling is correct
Context: ...request specifying what data is needed. Offchain services that watch for these requests ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

sites/wonderland/docs/testing/advanced-testing/overview.md

[style] ~12-~12: The word ‘big’ tends to be overused. Consider an alternative.
Context: ... how the whole protocol is working in a big number of cases with multiple interactions (st...

(A_GREAT_NUMBER)

sites/wonderland/docs/processes/github/ssh-setup.md

[style] ~66-66: Consider a more concise word here.
Context: ...al File:
/.gitconfig-wonderland` In order to try this out, using the terminal go to ...

(IN_ORDER_TO_PREMIUM)

sites/wonderland/docs/testing/advanced-testing/property-based-fuzzing.md

[style] ~56-~56: ‘make an assumption’ might be wordy. Consider a shorter alternative.
Context: ...with handler_. Properties are made to make an assumption, while handlers allows to expose some f...

(EN_WORDINESS_PREMIUM_MAKE_AN_ASSUMPTION)


[style] ~157-~157: In American English, abbreviations like “etc.” require a period.
Context: ...have a non-fifo ordering (lifo, random, etc), rely on additional relayers/hyperlane...

(ETC_PERIOD)

sites/wonderland/docs/development/research/onboarding/knowledge-base/basics/game-theory.md

[style] ~5-~5: Consider a more expressive alternative.
Context: ... it's about aligning incentives. To do that, calculating the costs of attacks,...

(DO_ACHIEVE)


[style] ~36-~36: ‘making a decision’ might be wordy. Consider a shorter alternative.
Context: ..., including what each player knows when making a decision. We will have: - Nodes – These are...

(EN_WORDINESS_PREMIUM_MAKING_A_DECISION)


[style] ~49-~49: ‘making a decision’ might be wordy. Consider a shorter alternative.
Context: ..., including what each player knows when making a decision. We will have: Let's think the followi...

(EN_WORDINESS_PREMIUM_MAKING_A_DECISION)


[style] ~202-~202: This phrase is redundant. Consider writing “alternative”.
Context: ...ovides at least as high a payoff as any alternative choice would, assuming the other players stick...

(ALTERNATIVE_CHOICE)


[grammar] ~452-~452: Ensure spelling is correct
Context: ... subgame perfect equilibrium is (Enter, Accomodate), eliminating the unrealistic thret of ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~452-~452: Ensure spelling is correct
Context: ...ccomodate), eliminating the unrealistic thret of a price war. :::tip The key here is...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🪛 markdownlint-cli2 (0.17.2)
sites/wonderland/docs/processes/project-lifecycle.md

95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)

sites/wonderland/docs/development/research/onboarding/knowledge-base/core/oracles.md

20-20: Bare URL used

(MD034, no-bare-urls)

sites/wonderland/docs/development/research/technical-writing.md

102-102: Bare URL used

(MD034, no-bare-urls)

sites/wonderland/docs/development/offchain/rpc-request.md

165-165: Bare URL used

(MD034, no-bare-urls)

sites/wonderland/docs/processes/github/git-practices.md

43-43: Images should have alternate text (alt text)

(MD045, no-alt-text)

sites/wonderland/docs/processes/github/ssh-setup.md

33-33: Bare URL used

(MD034, no-bare-urls)


90-90: Hard tabs
Column: 1

(MD010, no-hard-tabs)


92-92: Hard tabs
Column: 1

(MD010, no-hard-tabs)


95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)


108-108: Hard tabs
Column: 1

(MD010, no-hard-tabs)


110-110: Hard tabs
Column: 1

(MD010, no-hard-tabs)


115-115: Hard tabs
Column: 1

(MD010, no-hard-tabs)


116-116: Hard tabs
Column: 1

(MD010, no-hard-tabs)

⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: test
🔇 Additional comments (1)
packages/common-config/src/components/HandbookSection/index.tsx (1)

48-52: Background asset path hard-coded – verify availability

The PNG → JPG switch is fine, but the new asset path is still hard-coded.
Please double-check that /common/img/background-handbook-card.jpg is copied by the build and exists in every consuming site, otherwise the card will render with no background.

If this is a one-off image that lives in common-config, consider exporting the path as a constant so the homepage and this component don’t drift in future edits.

@0xLeopoldo 0xLeopoldo merged commit 5975d4e into dev Jul 9, 2025
4 checks passed
@0xLeopoldo 0xLeopoldo deleted the fix/optimize-images branch July 9, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants