Conversation
WalkthroughA new external blog link was added to the navigation menu in the header component of the landing page. This link appears as a third menu item alongside the existing navigation options and directs users to "https://blog.pillarx.app/" using a standard anchor tag. Changes
Poem
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed 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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/components/LandingPage/Header/index.jsx(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: unit-tests
- GitHub Check: lint
- GitHub Check: Cloudflare Pages
| <li> | ||
| <a href="https://blog.pillarx.app/">Blog</a> | ||
| </li> |
There was a problem hiding this comment.
🛠️ Refactor suggestion
Ensure external blog link opens in a new tab and mitigate security risks
The new <a> tag points to an external site. For consistency with the Twitter link and to prevent reverse tabnabbing, please add target="_blank" and rel="noopener noreferrer":
<ul id="menu" onClick={() => setShowMobileMenu(!showMobileMenu)}>
<li>
<NavLink
to="/waitlist"
className={({ isActive }) => (isActive ? 'active' : '')}
>
Testing Campaign
</NavLink>
</li>
- <li>
- <a href="https://blog.pillarx.app/">Blog</a>
- </li>
+ <li>
+ <a
+ href="https://blog.pillarx.app/"
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ Blog
+ </a>
+ </li>
</ul>📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| <li> | |
| <a href="https://blog.pillarx.app/">Blog</a> | |
| </li> | |
| <ul id="menu" onClick={() => setShowMobileMenu(!showMobileMenu)}> | |
| <li> | |
| <NavLink | |
| to="/waitlist" | |
| className={({ isActive }) => (isActive ? 'active' : '')} | |
| > | |
| Testing Campaign | |
| </NavLink> | |
| </li> | |
| <li> | |
| <a | |
| href="https://blog.pillarx.app/" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| > | |
| Blog | |
| </a> | |
| </li> | |
| </ul> |
Description
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Summary by CodeRabbit