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

Changes #599

Merged
merged 7 commits into from
May 10, 2024
Merged

Changes #599

merged 7 commits into from
May 10, 2024

Conversation

jeromehardaway
Copy link
Contributor

This pull request introduces a number of changes mainly focused on improving the user interface, adding new dependencies, and refactoring the codebase. The most significant changes include the addition of a new components.json configuration file, the introduction of new dependencies in package.json, the creation of a new utility function in utils.ts, and the implementation of a login form in login-form.tsx.

Configuration changes:

  • components.json: A new configuration file was added to the project. This file includes settings for the user interface, such as enabling TypeScript (tsx), specifying the Tailwind CSS configuration, and defining aliases for the utils and components directories.

Dependency changes:

  • package.json: Several new dependencies were added including @radix-ui/react-icons, class-variance-authority, lucide-react, tailwind-merge, and tailwindcss-animate. [1] [2] [3]

Codebase refactoring:

  • src/assets/lib/utils.ts: A new utility function cn was introduced that uses the clsx and twMerge functions to process class values.
  • src/components/forms/login-form.tsx: A new login form component was implemented. This form uses the react-hook-form library for form handling and includes input fields for the username and password, a checkbox for remembering the user, and a login button.
  • src/components/ui/spinner/index.tsx: The spinner component was updated to include an image element with a loading GIF.

Text changes:

Page changes:

  • src/pages/login.tsx: The login page was refactored to include the new login form component. The page was also renamed from login-register.tsx to login.tsx. [1] [2] [3] [4] [5]

Other changes:

  • src/pages/_document.tsx: A link to the FontAwesome CSS file was added to the head of the document. Also, the Google Analytics script was updated to remove unnecessary whitespace. [1] [2]

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vets-who-code-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 5:46am

@jeromehardaway jeromehardaway merged commit 1925fdc into master May 10, 2024
3 checks passed
@jeromehardaway jeromehardaway deleted the Changes branch May 10, 2024 05:48
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.

None yet

1 participant