Skip to content

Commit 1841398

Browse files
committed
refactor: update desktop grid to use fixed 2 columns layout
1 parent c47a3aa commit 1841398

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/Try.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,8 @@ const Try: React.FC = () => {
112112
</motion.div>
113113
</motion.header>
114114

115-
{/* Desktop Grid - Dynamic Columns */}
116-
<div className="hidden md:grid gap-6 md:gap-8 w-full max-w-6xl mx-auto"
117-
style={{
118-
gridTemplateColumns: `repeat(${TryCardData.length % 3 === 0 ? 3 : 2}, 1fr)`
119-
}}>
115+
{/* Desktop Grid - 2 Columns */}
116+
<div className="hidden md:grid md:grid-cols-2 gap-6 md:gap-8 w-full max-w-6xl mx-auto">
120117
{TryCardData.map((card, index) => (
121118
<TryCard key={index} {...card} />
122119
))}

0 commit comments

Comments
 (0)