feat [#8]: add live demo on landing#9
Open
prince0xdev wants to merge 1 commit intoCodeLeom:landingfrom
Open
Conversation
|
Someone is attempting to deploy a commit to the Ayodele Aransiola's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Caution
Don't merge now
PR: Add Interactive Demo Page for Testing Library Methods
Overview
This Pull Request implements the interactive demo requested in Issue #8.
The goal of the issue was to provide developers with a way to test the library directly on the landing page or a dedicated demo page, allowing them to quickly verify states, capitals, LGAs, towns, and other data provided by the package.
This PR adds a complete, functional demo interface that covers all available methods of the library.
What This PR Adds
Full Demo Tester Component
A new interactive UI where developers can:
List all states
View state–capital pairs
Select a state to view:
Inspect the full
getStatesData()outputThe demo mirrors all library methods, making it easy for developers to validate the data in real time.
UI/UX Enhancements
To keep the demo clean and easy to use:
Why This Feature Matters
This demo:
This aligns directly with the goal of the issue:
Files Added / Updated
components/DemoTester.jsxApp.jsx