-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Feature] Add Loading animation #13
[Feature] Add Loading animation #13
Conversation
@TheCoderAdi is attempting to deploy a commit to the Yash Kumar Saini's projects Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice loading effect, expecting a spinner, but this will do also. @TheCoderAdi
If you want a spinner, I will do that but it seems good for coders I guess 😁 |
yes but this is good 👍🏼 @TheCoderAdi |
@TheCoderAdi drop by to the discord project forum post |
📌 Description
This pull request introduces a new loading state to the
Home
component insrc/app/page.tsx
and adds a newLoader
component to handle the visual representation of the loading state. The most important changes include the addition of theLoader
component and the integration of this component into theHome
component.Fixes: #9
🔍 Type of Change
✅ Checklist
🔬 Changes Made
Integration of Loading State:
src/app/page.tsx
: AddedLoader
component to display a loading animation whenisSubmitting
is true. This involves wrapping the form and other elements with conditional rendering logic to show the loader during submission.Addition of Loader Component:
src/components/loader.tsx
: Created a newLoader
component that displays a matrix animation when active. This component usesuseState
anduseEffect
hooks to manage the animation state and update the matrix at regular intervals.Import Statements:
src/app/page.tsx
: Updated import statements to include the newLoader
component.🖼️ Screenshots (if applicable)
recording.3.mp4