-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
chore(migrate): migrate tools pages #2876
Conversation
✅ Deploy Preview for asyncapi-website ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
@Shurtu-gal Can you change the CodeComponent such that the numbers appear same as they are in master?
Take the reference from this PR - #2867 |
@akshatnema done |
components/editor/CodeBlock.tsx
Outdated
padding: '0 0.5em', | ||
background: isHighlighted ? '#252f3f' : 'inherit', | ||
color: isHighlighted ? '#A3ACAD' : '#8B9394' |
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.
how you got these colors and properties? is this part of master branch?
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.
From
Lines 122 to 125 in 48cb678
'code-editor': { | |
dark: '#252f3f', | |
'dark-highlight': '#3e4d64', | |
}, |
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.
So, why it isn't taking color directly from tailwind?
components/buttons/GithubButton.tsx
Outdated
@@ -18,7 +18,7 @@ interface IGithubButtonProps extends IButtonDefaultProps { | |||
* @param {string} props.className - The class name to be applied to the button. | |||
*/ | |||
export default function GithubButton({ | |||
text = 'githubButton', | |||
text = 'View on GitHub', |
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.
This needs to be githubButton
for the translation string to work
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.
Kindly include the pages/[lang]/tools/cli.js
file to migrate in this PR, if possible.
Sorry, my exams just ended today 🙏🏻. @akshatnema has solved the issue I suppose, or is there something I should be doing? |
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.
🚢
/rtm |
Description
Related issue(s)
#2636