@@ -127,22 +127,22 @@ export function OrganizationProvider({
127127 < div className = "border-b bg-gradient-to-r from-background via-background to-muted/20" >
128128 < div className = "flex flex-col justify-between gap-3 p-4 sm:flex-row sm:items-center sm:gap-0 sm:px-6 sm:py-6" >
129129 < div className = "min-w-0 flex-1" >
130- < div className = "flex items-center gap-4" >
131- < div className = "rounded border border-primary/20 bg-primary/10 p-3" >
132- < Skeleton className = "h-6 w-6" />
130+ < div className = "flex items-center gap-3 sm:gap- 4" >
131+ < div className = "rounded border border-primary/20 bg-primary/10 p-2 sm:p- 3" >
132+ < Skeleton className = "h-5 w-5 sm:h-6 sm: w-6" />
133133 </ div >
134134 < div >
135- < Skeleton className = "h-8 w-48" />
136- < Skeleton className = "mt-1 h-4 w-64" />
135+ < Skeleton className = "h-6 w-32 sm:h-8 sm: w-48" />
136+ < Skeleton className = "mt-1 h-3 w-48 sm:h-4 sm: w-64" />
137137 </ div >
138138 </ div >
139139 </ div >
140140 </ div >
141141 </ div >
142142 < main className = "flex-1 overflow-y-auto p-4 sm:p-6" >
143- < Skeleton className = "h-48 w-full" />
144- < Skeleton className = "h-32 w-full" />
145- < Skeleton className = "h-24 w-full" />
143+ < Skeleton className = "h-32 w-full sm:h-48 " />
144+ < Skeleton className = "h-24 w-full sm:h-32 " />
145+ < Skeleton className = "h-20 w-full sm:h-24 " />
146146 </ main >
147147 </ div >
148148 ) ;
@@ -154,57 +154,57 @@ export function OrganizationProvider({
154154 < div className = "border-b bg-gradient-to-r from-background via-background to-muted/20" >
155155 < div className = "flex flex-col justify-between gap-3 p-4 sm:flex-row sm:items-center sm:gap-0 sm:px-6 sm:py-6" >
156156 < div className = "min-w-0 flex-1" >
157- < div className = "flex items-center gap-4" >
158- < div className = "rounded border border-primary/20 bg-primary/10 p-3" >
157+ < div className = "flex items-center gap-3 sm:gap- 4" >
158+ < div className = "rounded border border-primary/20 bg-primary/10 p-2 sm:p- 3" >
159159 < Icon
160- className = "h-6 w-6 text-primary"
161- size = { 24 }
160+ className = "h-5 w-5 text-primary sm:h-6 sm:w-6 "
161+ size = { 20 }
162162 weight = "duotone"
163163 />
164164 </ div >
165165 < div >
166- < h1 className = "truncate font-bold text-2xl text-foreground tracking-tight sm:text-3xl" >
166+ < h1 className = "truncate font-bold text-xl text-foreground tracking-tight sm:text-2xl lg :text-3xl" >
167167 { title }
168168 </ h1 >
169- < p className = "mt-1 text-muted-foreground text-sm sm:text-base" >
169+ < p className = "mt-1 text-muted-foreground text-xs sm:text-sm lg :text-base" >
170170 { description }
171171 </ p >
172172 </ div >
173173 </ div >
174174 </ div >
175175 { actionButton && (
176176 < Button
177- className = "w-full rounded sm:w-auto"
177+ className = "w-full rounded text-xs sm:w-auto sm:text-sm "
178178 onClick = { actionButton . action }
179179 size = "sm"
180180 >
181- < actionButton . icon className = "mr-2 h-4 w-4" size = { 16 } />
181+ < actionButton . icon className = "mr-2 h-3 w-3 sm:h-4 sm: w-4" size = { 12 } />
182182 { actionButton . text }
183183 </ Button >
184184 ) }
185185 </ div >
186186 </ div >
187187
188- < main className = "flex flex-1 items-center justify-center p-6" >
189- < div className = "w-full max-w-md rounded-lg border bg-card p-8 text-center" >
188+ < main className = "flex flex-1 items-center justify-center p-4 sm:p- 6" >
189+ < div className = "w-full max-w-md rounded-lg border bg-card p-6 text-center sm:p-8 " >
190190 < Icon
191- className = "mx-auto mb-4 h-12 w-12 text-muted-foreground"
192- size = { 48 }
191+ className = "mx-auto mb-3 h-10 w-10 text-muted-foreground sm:mb-4 sm:h-12 sm:w-12 "
192+ size = { 40 }
193193 weight = "duotone"
194194 />
195- < h3 className = "mb-2 font-semibold text-lg" >
195+ < h3 className = "mb-2 font-semibold text-base sm:text- lg" >
196196 Select an Organization
197197 </ h3 >
198- < p className = "text-muted-foreground text-sm" >
198+ < p className = "text-muted-foreground text-xs sm:text- sm" >
199199 This feature requires an active organization.
200200 </ p >
201- < div className = "mt-6" >
201+ < div className = "mt-4 sm:mt- 6" >
202202 < Button
203- className = "rounded"
203+ className = "rounded text-xs sm:text-sm "
204204 onClick = { ( ) => setShowCreateDialog ( true ) }
205205 size = "default"
206206 >
207- < BuildingsIcon className = "mr-2 h-5 w-5" size = { 20 } />
207+ < BuildingsIcon className = "mr-2 h-4 w-4 sm:h-5 sm: w-5" size = { 16 } />
208208 Create organization
209209 </ Button >
210210 </ div >
@@ -217,36 +217,36 @@ export function OrganizationProvider({
217217 return (
218218 < div className = "flex h-full flex-col" >
219219 < div className = "border-b bg-gradient-to-r from-background via-background to-muted/20" >
220- < div className = "flex flex-col justify-between gap-3 p-4 sm:flex-row sm:items-center sm:gap-0 sm:px-6 sm:py-6" >
221- < div className = "min-w-0 flex-1" >
222- < div className = "flex items-center gap-4" >
223- < div className = "rounded border border-primary/20 bg-primary/10 p-3" >
224- < Icon
225- className = "h-6 w-6 text-primary"
226- size = { 24 }
227- weight = "duotone"
228- />
229- </ div >
230- < div >
231- < h1 className = "truncate font-bold text-2xl text-foreground tracking-tight sm:text-3xl" >
232- { title }
233- </ h1 >
234- < p className = "mt-1 text-muted-foreground text-sm sm:text-base" >
235- { description }
236- </ p >
220+ < div className = "flex flex-col justify-between gap-3 p-4 sm:flex-row sm:items-center sm:gap-0 sm:px-6 sm:py-6" >
221+ < div className = "min-w-0 flex-1" >
222+ < div className = "flex items-center gap-3 sm:gap-4" >
223+ < div className = "rounded border border-primary/20 bg-primary/10 p-2 sm:p-3" >
224+ < Icon
225+ className = "h-5 w-5 text-primary sm:h-6 sm:w-6"
226+ size = { 20 }
227+ weight = "duotone"
228+ />
229+ </ div >
230+ < div >
231+ < h1 className = "truncate font-bold text-xl text-foreground tracking-tight sm:text-2xl lg:text-3xl" >
232+ { title }
233+ </ h1 >
234+ < p className = "mt-1 text-muted-foreground text-xs sm:text-sm lg:text-base" >
235+ { description }
236+ </ p >
237+ </ div >
237238 </ div >
238239 </ div >
239- </ div >
240- { actionButton && (
241- < Button
242- className = "w-full rounded sm:w-auto"
243- onClick = { actionButton . action }
244- size = "sm"
245- >
246- < actionButton . icon className = "mr-2 h-4 w-4" size = { 16 } />
247- { actionButton . text }
248- </ Button >
249- ) }
240+ { actionButton && (
241+ < Button
242+ className = "w-full rounded text-xs sm:w-auto sm:text-sm"
243+ onClick = { actionButton . action }
244+ size = "sm"
245+ >
246+ < actionButton . icon className = "mr-2 h-3 w-3 sm:h-4 sm:w-4" size = { 12 } />
247+ { actionButton . text }
248+ </ Button >
249+ ) }
250250 </ div >
251251 </ div >
252252
0 commit comments