asyncapi / website

AsyncAPI specification website
https://www.asyncapi.com
Apache License 2.0
489 stars 629 forks source link

Newsletter subscription form under Community Page displays technical placeholder variables #3279

Open ConnectBhawna opened 1 week ago

ConnectBhawna commented 1 week ago

Describe the bug.

When visiting the community page to subscribe to the newsletter, the input fields for name,email and button are displaying technical variable names (newsletterCTA.nameInput) , newsletterCTA.nameEmail) and (newsletterCTA.subscribeBtn) instead of user-friendly text like "Your name", "Your email." and "Subscribe" . This can confuse users, especially beginners who may not understand what these technical terms mean or what information is expected from them in the input fields.

Impact:

Expected behavior

The community newsletter form should display user-friendly placeholders just like the main page such as:

Name field: "Your name" Email field: "Your email" Button Field: "Subscribe"

Screenshots

Screenshot from 2024-10-09 11-55-37

How to Reproduce

  1. I first go under the file NewsletterSubscribe.tsx and add the params for describing the nameInput and all. {Did this just for the information}
  2. I then change the name of Placeholder under InputBox.
  3. And than it gives the correct output expected.

🥦 Browser

None

👀 Have you checked for similar open issues?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

github-actions[bot] commented 1 week ago

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup 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.

ConnectBhawna commented 1 week ago

I am done with solving the issue, if the mentors @derberg, @akshatnema and @quetzalliwrites approve this issue. I would love to submit the PR around the same. Thanks

Screenshot from 2024-10-09 12-25-49

JeelRajodiya commented 1 week ago

Please note that this issue is similar to https://github.com/asyncapi/website/issues/3236