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

Update component/codeblock.js #25

Open
gndclouds opened this issue Sep 8, 2022 · 0 comments
Open

Update component/codeblock.js #25

gndclouds opened this issue Sep 8, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gndclouds
Copy link
Contributor

Update component/codeblock.js

Prize Bounty

[comment]: # List the token type (ETH/ERC-20) and amount.

Challenge Description

On the landing page, we have a code block that allows anyone to toggle between our current APIs. We need to update this block to:

  • Include all APIs in the dropdown
  • Example code and example response should change after the code is selected.
  • The API route (shown as /api/co2/2002 in the MockUps) should also act as a search field in which you manually type the route and get one result returned.
  • This block should also have a new child block without the dropdown selector which we can use across the website on pages for example.

MockUp for Landing Page

image

Mock Up for Other Pages

Uploading CleanShot 2022-09-07 at 17.40.07@2x.png…

Submission Requirements

  • Component can be used with all API routes
  • Can be TypeScript or JavaScript
  • Code will be reviewed by ENG Team

Judging Criteria

  • Will choose based on the first completed and code quality
  • Will view all submissions

Winner Announcement Date

Please plan to have judges from your organization (or others you choose) review the submissions as early as possible after the hackathon ends (or immediately upon submission if you set your submission deadline up to be first-to-submit) to ensure prompt winner announcement and payout.

Resources

@gndclouds gndclouds added enhancement New feature or request good first issue Good for newcomers labels Sep 8, 2022
@gndclouds gndclouds added this to the Documentation Enhancements milestone Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

1 participant