Skip to content

Commit 04f1160

Browse files
authored
Merge pull request #139 from devxtra-community/dev
Dev
2 parents 41ee206 + 1ed46d2 commit 04f1160

13 files changed

Lines changed: 45 additions & 39 deletions

File tree

apps/web/app/brand-dashboard/bookings/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function BrandBookingsContent() {
149149
};
150150

151151
return (
152-
<div className="px-4 sm:px-8 lg:px-10 py-8 h-full flex flex-col min-h-0 bg-transparent max-w-[1600px] mx-auto w-full">
152+
<div className="px-4 sm:px-8 lg:px-10 py-8 flex flex-col bg-transparent max-w-[1600px] mx-auto w-full">
153153
{/* Header Area */}
154154
<div className="flex flex-col md:flex-row md:items-end justify-between gap-6 mb-8">
155155
<div>
@@ -188,10 +188,10 @@ function BrandBookingsContent() {
188188
</div>
189189
</div>
190190

191-
<div className="flex flex-col lg:flex-row gap-8 flex-1 lg:overflow-hidden overflow-visible">
191+
<div className="flex flex-col lg:flex-row gap-8 flex-1">
192192
{/* Left Column: Table */}
193-
<div className={`flex-1 bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 overflow-hidden flex-col lg:min-h-0 ${selectedId ? "hidden lg:flex" : "flex"}`}>
194-
<div className="overflow-x-auto flex-1 h-full custom-scrollbar">
193+
<div className={`flex-1 bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 overflow-hidden flex-col ${selectedId ? "hidden lg:flex" : "flex"}`}>
194+
<div className="overflow-x-auto flex-1 custom-scrollbar">
195195
<table className="w-full text-left border-collapse min-w-[500px]">
196196
<thead>
197197
<tr className="border-b border-slate-100 bg-slate-50/50 sticky top-0 z-10">
@@ -260,8 +260,8 @@ function BrandBookingsContent() {
260260
</div>
261261

262262
{/* Right Column: Detail View */}
263-
<div className={`lg:w-[420px] flex-col gap-6 lg:min-h-0 ${selectedId ? "flex" : "hidden lg:flex"}`}>
264-
<div className="bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 p-8 lg:h-full flex flex-col relative lg:overflow-hidden overflow-visible lg:overflow-y-auto min-h-0 custom-scrollbar">
263+
<div className={`lg:w-[420px] flex-col gap-6 ${selectedId ? "flex" : "hidden lg:flex"}`}>
264+
<div className="bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 p-8 flex flex-col relative min-h-0">
265265
{!selectedBooking ? (
266266
<div className="h-full flex flex-col items-center justify-center text-slate-400 text-center gap-4">
267267
<div className="w-20 h-20 bg-slate-50 rounded-full flex items-center justify-center">

apps/web/app/brand-dashboard/calendar/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ export default function BrandCalendarPage() {
114114
}
115115

116116
return (
117-
<div className="px-4 sm:px-6 lg:px-8 py-4 sm:py-8 h-full flex flex-col min-h-0 bg-[#f8fafc]">
118-
<div className="flex flex-col lg:flex-row gap-6 lg:gap-8 flex-1 overflow-y-auto lg:overflow-hidden pb-20 lg:pb-0">
117+
<div className="px-4 sm:px-6 lg:px-8 py-4 sm:py-8 flex flex-col bg-[#f8fafc]">
118+
<div className="flex flex-col lg:flex-row gap-6 lg:gap-8 flex-1 pb-20 lg:pb-0">
119119
{/* Left Column: Calendar Grid */}
120-
<div className="flex-1 bg-white rounded-[1.5rem] lg:rounded-[2.5rem] border border-gray-100 shadow-sm p-5 sm:p-8 lg:p-10 flex flex-col items-center lg:overflow-y-auto">
120+
<div className="flex-1 bg-white rounded-[1.5rem] lg:rounded-[2.5rem] border border-gray-100 shadow-sm p-5 sm:p-8 lg:p-10 flex flex-col items-center">
121121
<div className="w-full max-w-2xl">
122122
<div className="flex flex-col sm:flex-row items-center justify-between gap-4 mb-8 sm:mb-12">
123123
<h1 className="text-xl sm:text-2xl font-bold text-gray-900 tracking-tight">Select Date</h1>

apps/web/app/brand-dashboard/layout.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,12 @@ export default function BrandDashboardLayout({
122122
</div>
123123
</DashboardHeader>
124124

125-
<div className="flex-1 w-full relative">
126-
<div className="absolute inset-0 overflow-y-auto">
127-
<div className="min-h-full pb-6">
128-
{children}
129-
</div>
125+
<div
126+
className="flex-1 w-full overflow-y-auto custom-scrollbar"
127+
data-lenis-prevent
128+
>
129+
<div className="min-h-full pb-6">
130+
{children}
130131
</div>
131132
</div>
132133
</main>

apps/web/app/brand-dashboard/messages/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function MessagesContent() {
107107
};
108108

109109
return (
110-
<div className="px-2 sm:px-6 py-6 w-full h-[calc(100vh-80px)] lg:h-[calc(100vh-100px)] flex flex-col overflow-hidden max-w-[1600px] mx-auto">
110+
<div className="px-2 sm:px-6 py-6 w-full min-h-[calc(100vh-100px)] flex flex-col max-w-[1600px] mx-auto">
111111
<div className="flex bg-white rounded-[32px] shadow-xl shadow-slate-200/50 border border-slate-100 flex-1 overflow-hidden relative">
112112

113113
{/* Sidebar */}
@@ -133,7 +133,7 @@ function MessagesContent() {
133133
</div>
134134
</div>
135135

136-
<div className="flex-1 overflow-y-auto px-4 pb-6 space-y-1.5 custom-scrollbar">
136+
<div className="flex-1 overflow-y-auto px-4 pb-6 space-y-1.5 custom-scrollbar" data-lenis-prevent>
137137
{loadingConvs ? (
138138
<div className="flex flex-col items-center justify-center py-20 gap-4">
139139
<Loader2 className="w-6 h-6 text-emerald-500 animate-spin" />

apps/web/app/brand-dashboard/requests/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default function BrandRequestsPage() {
4545
const selectedRequest = connections.find(r => r._id === selectedId) || filteredRequests[0];
4646

4747
return (
48-
<div className="px-4 sm:px-8 lg:px-10 py-8 h-full flex flex-col min-h-0 bg-transparent max-w-[1600px] mx-auto w-full">
48+
<div className="px-4 sm:px-8 lg:px-10 py-8 flex flex-col bg-transparent max-w-[1600px] mx-auto w-full">
4949
{/* Header Area */}
5050
<div className="flex flex-col md:flex-row md:items-end justify-between gap-6 mb-8">
5151
<div>
@@ -84,10 +84,10 @@ export default function BrandRequestsPage() {
8484
</div>
8585
</div>
8686

87-
<div className="flex flex-col lg:flex-row gap-8 flex-1 overflow-hidden">
87+
<div className="flex flex-col lg:flex-row gap-8 flex-1">
8888
{/* Left Column: Table */}
8989
<div className={`flex-1 bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 overflow-hidden flex-col ${selectedId ? "hidden lg:flex" : "flex"}`}>
90-
<div className="overflow-x-auto flex-1 h-full custom-scrollbar">
90+
<div className="overflow-x-auto flex-1 custom-scrollbar">
9191
<table className="w-full text-left border-collapse min-w-[500px]">
9292
<thead>
9393
<tr className="border-b border-slate-100 bg-slate-50/50 sticky top-0 z-10">
@@ -152,7 +152,7 @@ export default function BrandRequestsPage() {
152152

153153
{/* Right Column: Detail View */}
154154
<div className={`lg:w-[420px] flex-col gap-6 ${selectedId ? "flex" : "hidden lg:flex"}`}>
155-
<div className="bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 p-8 h-full flex flex-col relative overflow-hidden">
155+
<div className="bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 p-8 flex flex-col relative min-h-0">
156156
{selectedRequest ? (
157157
<>
158158
<div className="absolute top-0 right-0 w-48 h-48 bg-gradient-to-bl from-emerald-100/40 to-transparent rounded-bl-full pointer-events-none"></div>

apps/web/app/brand-dashboard/transactions/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function BrandTransactionsPage() {
6161
}
6262

6363
return (
64-
<div className="px-4 sm:px-8 lg:px-10 py-8 h-full flex flex-col gap-8 bg-transparent max-w-[1600px] mx-auto w-full">
64+
<div className="px-4 sm:px-8 lg:px-10 py-8 flex flex-col gap-8 bg-transparent max-w-[1600px] mx-auto w-full">
6565
<div className="mb-2">
6666
<h1 className="text-2xl sm:text-3xl font-black text-slate-900 tracking-tight">Transactions</h1>
6767
<p className="text-sm text-slate-500 mt-1.5 font-medium">Manage your platform credits and transaction history.</p>
@@ -128,9 +128,9 @@ export default function BrandTransactionsPage() {
128128
</div>
129129
</div>
130130

131-
<div className="flex flex-col lg:grid lg:grid-cols-12 gap-8 flex-1 lg:overflow-hidden overflow-visible">
131+
<div className="flex flex-col lg:grid lg:grid-cols-12 gap-8 flex-1">
132132
{/* Left Column: Recent Transactions List */}
133-
<div className={`lg:col-span-8 bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 overflow-hidden flex-col lg:min-h-0 ${selectedId ? "hidden lg:flex" : "flex"}`}>
133+
<div className={`lg:col-span-8 bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 overflow-hidden flex-col ${selectedId ? "hidden lg:flex" : "flex"}`}>
134134
<div className="p-8 pb-4">
135135
<h2 className="text-xl font-black text-slate-900">Recent Transactions</h2>
136136
</div>
@@ -199,9 +199,9 @@ export default function BrandTransactionsPage() {
199199
</div>
200200

201201
{/* Right Column: Transaction Details */}
202-
<div className={`lg:col-span-4 flex-col lg:min-h-0 ${selectedId ? "flex" : "hidden lg:flex"}`}>
202+
<div className={`lg:col-span-4 flex-col ${selectedId ? "flex" : "hidden lg:flex"}`}>
203203
{selectedTransaction ? (
204-
<div className="bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 p-8 flex flex-col lg:h-full relative lg:overflow-hidden overflow-visible lg:overflow-y-auto min-h-0 custom-scrollbar">
204+
<div className="bg-white rounded-[32px] border border-slate-100 shadow-sm shadow-slate-200/50 p-8 flex flex-col relative min-h-0">
205205
<div className="absolute top-0 right-0 w-48 h-48 bg-gradient-to-bl from-orange-100/40 to-transparent rounded-bl-full pointer-events-none"></div>
206206

207207
<button

apps/web/app/gig-list/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ export default function ExploreGigs() {
388388
{/* Header Section */}
389389
<div className="flex flex-col md:flex-row md:items-end justify-between gap-4 sm:gap-6 mb-4 sm:mb-12">
390390
<div>
391+
<br />
391392
<h1 className="text-2xl sm:text-4xl font-black text-slate-900 tracking-tight leading-none mb-2 sm:mb-4">
392393
Explore Influencer Gigs
393394
</h1>

apps/web/app/influencer-dashboard/bookings/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function BookingsContent() {
146146
}
147147

148148
return (
149-
<div className="px-4 sm:px-6 lg:px-8 py-8 max-w-[1500px] mx-auto w-full h-full flex flex-col overflow-hidden">
149+
<div className="px-4 sm:px-6 lg:px-8 py-8 max-w-[1500px] mx-auto w-full flex flex-col">
150150
{/* Header Area */}
151151
<div className="flex flex-col lg:flex-row lg:items-center justify-between gap-5 mb-8">
152152
<div>
@@ -188,7 +188,7 @@ function BookingsContent() {
188188
</div>
189189

190190
{/* Content Container (2-Column Grid) */}
191-
<div className="flex flex-col xl:flex-row gap-6 flex-1 min-h-0 h-full">
191+
<div className="flex flex-col xl:flex-row gap-6 flex-1">
192192
{/* Table Card (Left Column) */}
193193
<div className="bg-white rounded-[24px] shadow-sm border border-gray-100 flex-1 overflow-hidden flex flex-col">
194194
<div className="overflow-x-auto overflow-y-auto flex-1">
@@ -255,8 +255,8 @@ function BookingsContent() {
255255
</div>
256256

257257
{/* Details Card (Right Column) */}
258-
<div className="xl:w-[400px] shrink-0 h-full">
259-
<div className="bg-white rounded-[24px] shadow-sm border border-gray-100 flex flex-col h-full sticky top-0 overflow-y-auto scrollbar-hide">
258+
<div className="xl:w-[400px] shrink-0">
259+
<div className="bg-white rounded-[24px] shadow-sm border border-gray-100 flex flex-col">
260260
<div className="p-6 flex flex-col min-h-full">
261261
{selectedBooking ? (
262262
<>
@@ -295,7 +295,7 @@ function BookingsContent() {
295295
</div>
296296

297297
{/* Details List */}
298-
<div className="space-y-1.5 flex-grow overflow-y-auto">
298+
<div className="space-y-1.5 flex-grow">
299299
<div className="flex items-center justify-between py-2 text-sm border-b border-gray-50/80">
300300
<div className="flex items-center gap-3">
301301
<div className="w-8 h-8 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 shrink-0">

apps/web/app/influencer-dashboard/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export default function InfluencerDashboardLayout({
127127
<div
128128
className={`flex-1 w-full ${pathname.includes("/messages") ? "overflow-hidden" : "overflow-y-auto pb-10"
129129
}`}
130+
data-lenis-prevent
130131
>
131132
{children}
132133
</div>

apps/web/app/influencer-dashboard/messages/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function MessagesContent() {
109109
};
110110

111111
return (
112-
<div className="px-2 sm:px-4 py-4 w-full h-[calc(100vh-80px)] lg:h-[calc(100vh-100px)] flex flex-col overflow-hidden">
112+
<div className="px-2 sm:px-4 py-4 w-full min-h-[calc(100vh-100px)] flex flex-col">
113113
<div className="flex bg-white rounded-[24px] lg:rounded-[32px] shadow-xl shadow-gray-100/50 border border-gray-100 flex-1 overflow-hidden">
114114

115115
{/* Sidebar */}
@@ -130,7 +130,7 @@ function MessagesContent() {
130130
</div>
131131
</div>
132132

133-
<div className="flex-1 overflow-y-auto px-4 pb-6 space-y-2">
133+
<div className="flex-1 overflow-y-auto px-4 pb-6 space-y-2" data-lenis-prevent>
134134
{loadingConvs ? (
135135
<div className="flex items-center justify-center py-20">
136136
<Loader2 className="w-6 h-6 text-emerald-500 animate-spin" />

0 commit comments

Comments
 (0)