Components
Portalsrc/app/(student)/dashboard/lessons/behind-the-wheel-card.tsx

Behind the Wheel Card

The Driving lessons signature object, laid out as a wallet pass at a payment card’s exact proportions. The yellow top holds the drives used, big, with the date to use them by; a notched tear separates it from the stub, which holds the hours the family logs and the actions. A teen books; a guardian also logs; an adult, with no hours to log, books or buys more once the package is spent.

Teen · in progress

4 of 10 drives used on the yellow top; practice hours (observation and practice, 19 of 37) and Book next drive on the stub. No Log: students can’t log.

Behind the Wheel

Texas

Drives used

4 / 10

Practice hours

19 / 37 hrs

Teen · requirements met

Practice hours complete (37 of 37) and 7 of 10 drives used. The card still books.

Behind the Wheel

Texas

Drives used

7 / 10

Practice hours

37 / 37 hrs

Adult variant

Credit-based, with no hours to log: the stub shows just the action, Book or Buy.

Behind the Wheel

Texas

Drives used

5 / 10

Use by

Sep 30, 2026

Guardian view

The student’s name on the top, “Hours you log” on the stub (theirs; students can’t log), and Log hours beside Book a drive.

Behind the Wheel

Jordan Reyes

Drives used

4 / 10

Hours you log

19 / 37 hrs