Skip to content

Add unit converter components and corresponding routes#17

Merged
Barata-Ribeiro merged 8 commits into
mainfrom
implement-other-converters
Jun 26, 2026
Merged

Add unit converter components and corresponding routes#17
Barata-Ribeiro merged 8 commits into
mainfrom
implement-other-converters

Conversation

@Barata-Ribeiro

Copy link
Copy Markdown
Owner

This pull request adds four new unit converter tools (Mass, Speed, Temperature, and Time) to the application, each with its own UI, conversion logic, and documentation. It also registers the new routes so they are accessible from the app's navigation. These converters allow users to easily convert between various units for each category, with user-friendly input handling and explanations for each unit.

New converters and their UIs:

  • Added a Mass converter supporting conversions between tonnes, kilograms, grams, milligrams, micrograms, UK/US tons, pounds, ounces, and stones, with a detailed explanation and usage tips. (app/components/pages/converters/mass.tsx, app/routes/converters/mass.tsx) [1] [2]
  • Added a Speed converter supporting kilometers per hour, miles per hour, meters per second, feet per second, knots, and Mach, with explanations for each unit. (app/components/pages/converters/speed.tsx, app/routes/converters/speed.tsx) [1] [2]
  • Added a Temperature converter supporting Fahrenheit, Celsius, and Kelvin, with logic for converting between all three. (app/components/pages/converters/temperature.tsx)
  • Added a Time converter supporting nanoseconds up to centuries, with logic for converting between all units. (app/components/pages/converters/time.tsx)

Routing:

  • Registered the new converters in the app's route configuration so they are accessible via /mass, /speed, /temperature, and /time. (app/routes.ts)

@Barata-Ribeiro Barata-Ribeiro self-assigned this Jun 26, 2026
@Barata-Ribeiro Barata-Ribeiro added the enhancement New feature or request label Jun 26, 2026
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
utilities-webapp Ignored Ignored Jun 26, 2026 9:15am

@Barata-Ribeiro Barata-Ribeiro merged commit a38fc41 into main Jun 26, 2026
3 checks passed
@Barata-Ribeiro Barata-Ribeiro deleted the implement-other-converters branch June 26, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant