Conversation
Comment on lines
+6
to
+10
| <img | ||
| src="/images/showcase-auth.png" | ||
| alt="Auth" | ||
| style={{ width: "100%", maxWidth: "960px", borderRadius: "12px" }} | ||
| /> |
Contributor
There was a problem hiding this comment.
Inconsistent image placement order
In other showcase pages (e.g., capitals.mdx, ecommerce-carousel.mdx), the hero image is placed after the introductory text paragraph. Here the image is placed before the text. Consider swapping the order to match the existing pattern:
Suggested change
| <img | |
| src="/images/showcase-auth.png" | |
| alt="Auth" | |
| style={{ width: "100%", maxWidth: "960px", borderRadius: "12px" }} | |
| /> | |
| Auth is an example that demonstrates full OAuth authentication using WorkOS AuthKit, with a personalized coffee shop finder widget that displays user-specific favorites. | |
| <img | |
| src="/images/showcase-auth.png" | |
| alt="Auth" | |
| style={{ width: "100%", maxWidth: "960px", borderRadius: "12px" }} | |
| /> |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/showcase/auth.mdx
Line: 6:10
Comment:
**Inconsistent image placement order**
In other showcase pages (e.g., `capitals.mdx`, `ecommerce-carousel.mdx`), the hero image is placed *after* the introductory text paragraph. Here the image is placed *before* the text. Consider swapping the order to match the existing pattern:
```suggestion
Auth is an example that demonstrates full OAuth authentication using WorkOS AuthKit, with a personalized coffee shop finder widget that displays user-specific favorites.
<img
src="/images/showcase-auth.png"
alt="Auth"
style={{ width: "100%", maxWidth: "960px", borderRadius: "12px" }}
/>
```
<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>
How can I resolve this? If you propose a fix, please make it concise.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Greptile Summary
Adds the Auth example app to the documentation showcase. A new card is added to the main showcase index page (
docs/showcase.mdx) linking to the auth detail page, and a hero image is added to the auth detail page (docs/showcase/auth.mdx).docs/showcase/auth.mdx, though placed before the introductory text rather than after it as in other showcase pages.Confidence Score: 5/5
Last reviewed commit: 16a51fd