Skip to content
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

fix: add visual on the generators #3492

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/tools/generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function renderButtons(): JSX.Element {
export default function GeneratorPage() {
const description = 'Generate documentation, code, and more out of your AsyncAPI files with the Generator.';
const image = '/img/social/generator-card.jpg';
const generatorimage = '/img/diagrams/generator.png';

return (
<GenericLayout title='Generator' description={description} image={image} wide>
Expand All @@ -52,6 +53,7 @@ export default function GeneratorPage() {
Docs, Code, Anything!
</Heading>
<Paragraph className='mt-4'>{description}</Paragraph>
<img src={generatorimage} alt='generator diagram' className=' mx-auto h-auto w-1/2 object-cover' />
</div>

<div className='relative mt-12 lg:mt-20 lg:grid lg:grid-cols-2 lg:items-center lg:gap-8'>
Expand Down
Binary file added public/img/diagrams/generator.png
Copy link
Member

Choose a reason for hiding this comment

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

Can we have this file in .webp format, as we have preferred way of img types as WEBP or SVG?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

Copy link
Contributor Author

Choose a reason for hiding this comment

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

have made the changes cc @akshatnema

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading