Skip to content

Commit 3398b59

Browse files
committed
patient: profile
1 parent 627ee98 commit 3398b59

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

frontend/src/features/appointments/components/AppointmentList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function AppointmentList({ appointments }: Props) {
1616
<CalendarX size={32} />
1717
</div>
1818
<h3 className="text-lg font-bold text-slate-900">No appointments found</h3>
19-
<p className="text-slate-500 text-sm mt-1 text-center max-w-[250px]">
19+
<p className="text-slate-500 text-sm mt-1 text-center max-w-62.5">
2020
We couldn't find any scheduled visits in your history.
2121
</p>
2222
</div>
@@ -26,7 +26,7 @@ export default function AppointmentList({ appointments }: Props) {
2626
return (
2727
<div className="relative">
2828
{/* Optional: Simple timeline line decoration for desktop */}
29-
<div className="hidden lg:block absolute left-[40px] top-0 bottom-0 w-[2px] bg-slate-100 -z-10" />
29+
<div className="hidden lg:block absolute left-10 top-0 bottom-0 w-0.5 bg-slate-100 -z-10" />
3030

3131
<div className="space-y-6">
3232
{appointments.map((appt) => (

frontend/src/features/appointments/components/SlotSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function SlotSelector({
1616
}: Props) {
1717
if (!slots.length) {
1818
return (
19-
<div className="flex flex-col items-center justify-center p-8 bg-slate-50 rounded-[2rem] border-2 border-dashed border-slate-200">
19+
<div className="flex flex-col items-center justify-center p-8 bg-slate-50 rounded-4xl border-2 border-dashed border-slate-200">
2020
<Clock className="text-slate-300 mb-2" size={24} />
2121
<p className="text-slate-500 text-sm font-medium">No slots available for this date</p>
2222
</div>

frontend/src/features/patient/components/ProfileForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default function ProfileForm() {
9595
<div className="bg-white rounded-[2.5rem] p-8 shadow-sm border border-slate-200/60 transition-all duration-300">
9696
<div className="flex flex-col md:flex-row md:items-center justify-between gap-8">
9797
<div className="flex items-center gap-6">
98-
<div className="h-24 w-24 rounded-[2rem] bg-gradient-to-br from-blue-600 to-indigo-700 shadow-xl shadow-blue-100 flex items-center justify-center text-white text-3xl font-bold">
98+
<div className="h-24 w-24 rounded-4xl bg-linear-to-br from-blue-600 to-indigo-700 shadow-xl shadow-blue-100 flex items-center justify-center text-white text-3xl font-bold">
9999
{form.name?.charAt(0)}
100100
</div>
101101
<div className="space-y-1">
@@ -238,7 +238,7 @@ export default function ProfileForm() {
238238
{isEditing && (
239239
<button
240240
type="submit"
241-
className="w-full bg-blue-600 hover:bg-blue-700 text-white py-5 rounded-[2rem] font-bold flex items-center justify-center gap-3 shadow-xl shadow-blue-200 transition-all active:scale-[0.98]"
241+
className="w-full bg-blue-600 hover:bg-blue-700 text-white py-5 rounded-4xl font-bold flex items-center justify-center gap-3 shadow-xl shadow-blue-200 transition-all active:scale-[0.98]"
242242
>
243243
<Save size={22} />
244244
SAVE PROFILE
@@ -253,7 +253,7 @@ export default function ProfileForm() {
253253

254254
function StatBox({ label, icon, children }: { label: string, icon: React.ReactNode, children: React.ReactNode }) {
255255
return (
256-
<div className="flex flex-col gap-2 p-5 bg-slate-50/50 rounded-[2rem] border border-slate-100 hover:bg-white hover:border-slate-200 transition-all duration-300 min-h-[105px] justify-center">
256+
<div className="flex flex-col gap-2 p-5 bg-slate-50/50 rounded-4xl border border-slate-100 hover:bg-white hover:border-slate-200 transition-all duration-300 min-h-26.25 justify-center">
257257
<div className="flex items-center justify-between opacity-80">
258258
<span className="text-[10px] font-black uppercase tracking-widest text-slate-400">{label}</span>
259259
{icon}

0 commit comments

Comments
 (0)