diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index f525fc3..85a717c 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -34,7 +34,7 @@ const Index = () => { return ( -
+

Picture Feed

@@ -42,10 +42,10 @@ const Index = () => {

-
+
{isLoading ? ( // Loading skeletons - Array.from({ length: 3 }).map((_, i) => ( + Array.from({ length: 6 }).map((_, i) => (
@@ -64,15 +64,17 @@ const Index = () => { )) ) : pictures.length === 0 ? ( // Empty state - - -
-

- No pictures found yet. Try checking your relay connections or wait a moment for content to load. -

-
-
-
+
+ + +
+

+ No pictures found yet. Try checking your relay connections or wait a moment for content to load. +

+
+
+
+
) : ( // Picture feed <> @@ -82,23 +84,27 @@ const Index = () => { {/* Infinite scroll trigger */} {hasNextPage && ( -
+
{isFetchingNextPage && ( - -
- -
- - -
-
- -
- - - -
-
+
+ {Array.from({ length: 3 }).map((_, i) => ( + +
+ +
+ + +
+
+ +
+ + + +
+
+ ))} +
)}
)}