···72}
7374function getHomeScreenCols(width: number): number {
75- if (width >= 1550) return 4; // Wide screens get 4 columns
76- if (width >= 1280) return 3; // xl gets 3 columns
77- if (width >= 1024) return 2; // lg gets 2 columns
78- if (width >= 768) return 2; // md gets 2 columns
79- return 1; // sm and below get 1 column
80}
8182-// Get the ratio for the first icon padding based on column count
83function getPadPercentage(cols: number): number {
84- if (cols >= 4) return 2.07; // Less padding for 4+ columns
85- if (cols >= 3) return 1.3; // Original padding for 3 columns
86- return 1; // No extra padding for 2 or fewer columns
87}
8889function HomeScreenItem({
···72}
7374function getHomeScreenCols(width: number): number {
75+ if (width >= 1550) return 4;
76+ if (width >= 1280) return 3;
77+ if (width >= 1024) return 2;
78+ if (width >= 768) return 2;
79+ return 1;
80}
8182+// Get the ratio for the first card based on column count
83function getPadPercentage(cols: number): number {
84+ if (cols >= 3) return 2.07;
85+ return 1;
086}
8788function HomeScreenItem({