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: component being rendered over Header #3097

Closed
wants to merge 2 commits into from

Conversation

kamal9580
Copy link

Description

  • Bug Description: On the main home page, another component is being rendered over the header component.
  • Expected Behavior: Either there needs to be some content over the header component, or the extra component needs to be removed.

Changes Made

  • Fixed the component that was being rendered over the header .
  • Ensured that the the component is only rendered when there is some content.

Fixes #3096

when there is no content to render:-
Screenshot 2024-07-17 180825

when there is content to render:-
Screenshot 2024-07-17 180855

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

netlify bot commented Jul 17, 2024

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit eda5669
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/669e155008da200008d6e3b4
😎 Deploy Preview https://deploy-preview-3097--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Jul 17, 2024

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 33
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🟠 PWA 56

Lighthouse ran on https://deploy-preview-3097--asyncapi-website.netlify.app/

@sambhavgupta0705
Copy link
Member

/update

@@ -44,6 +44,10 @@ export default function AnnouncementHero({ className = '', small = false }: IAnn
};
}, [activeIndex]);

if (numberOfVisibleBanners === 0) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we can go wtih this fix

@sambhavgupta0705
Copy link
Member

closing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Component being rendered over Header
4 participants