From ac358d4d7d056a5b6cf1bef371bcf2623d4b96ee Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Sat, 13 Dec 2025 11:17:48 +0100 Subject: [PATCH] feat: abo + profile section --- .../subscriptions/createSubscription/page.tsx | 32 ++- src/app/coffee-abonnements/page.tsx | 53 +++-- .../summary/hooks/getTaxRate.ts | 73 +++++- .../summary/hooks/subscribeAbo.ts | 138 +++++++++++ src/app/coffee-abonnements/summary/page.tsx | 223 +++++++++++++----- src/app/profile/components/userAbo.tsx | 100 ++++++++ src/app/profile/hooks/getAbo.ts | 93 ++++++++ src/app/profile/page.tsx | 3 + 8 files changed, 624 insertions(+), 91 deletions(-) create mode 100644 src/app/coffee-abonnements/summary/hooks/subscribeAbo.ts create mode 100644 src/app/profile/components/userAbo.tsx create mode 100644 src/app/profile/hooks/getAbo.ts diff --git a/src/app/admin/subscriptions/createSubscription/page.tsx b/src/app/admin/subscriptions/createSubscription/page.tsx index 88d3d9f..347c42a 100644 --- a/src/app/admin/subscriptions/createSubscription/page.tsx +++ b/src/app/admin/subscriptions/createSubscription/page.tsx @@ -173,19 +173,37 @@ export default function CreateSubscriptionPage() { - {/* Description moved right after picture */} + {/* Title moved above description */} +
+ + setTitle(e.target.value)} + /> +
+ + {/* Description now after title */}
-