Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/web/src/app/(app)/profile/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,17 @@ export default function ProfileLoading() {
<CardContent>
<div className="space-y-3">
{Array.from({ length: 2 }, (_, index) => (
<div key={index} className="flex items-center justify-between rounded-lg border p-4">
<div key={index} className="flex flex-wrap items-center justify-between rounded-lg border p-4">
<div className="flex items-center gap-3">
<Skeleton className="h-10 w-10 rounded-full" /> {/* Org avatar */}
<div className="space-y-2">
<Skeleton className="h-5 w-32" /> {/* Org name */}
<Skeleton className="h-4 w-24" /> {/* Member count */}
</div>
</div>
<Skeleton className="h-9 w-20" /> {/* Action button */}
<div className="hidden sm:flex">
<Skeleton className="h-9 w-20" /> {/* Action button */}
</div>
</div>
))}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function ProfileOrganizationsSection({ orgs }: ProfileOrganizationsSectio
>
<Card className="hover:border-primary/20 transition-shadow duration-200 hover:shadow-md">
<CardContent className="p-4">
<div className="flex items-center justify-between">
<div className="flex flex-wrap items-center justify-between gap-4">
<div className="flex items-center space-x-3">
<div className="shrink-0">
<div className="bg-primary/10 flex h-10 w-10 items-center justify-center rounded-lg">
Expand Down Expand Up @@ -70,7 +70,7 @@ export function ProfileOrganizationsSection({ orgs }: ProfileOrganizationsSectio
</div>
</div>
</div>
<div className="flex items-center gap-6">
<div className="hidden sm:flex items-center gap-6">
<div className="text-muted-foreground flex items-center">
<span className="text-sm">View details →</span>
</div>
Expand Down