File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 132132 transform : scale (1.15 );
133133}
134134
135- /* ── Card ──────────────────────────────────────────────── */
135+ /*Card */
136136.proj-card {
137137 background : var (--project-surface );
138138 border : 1px solid var (--project-border );
143143 0 1px 0 rgba (255 , 255 , 255 , 0.04 ) inset;
144144 will-change : transform, opacity;
145145}
146-
147146/* Enter state (default visible) */
148147.proj-card .enter {
149148 animation : cardEnter 0.42s var (--project-ease ) both;
339338 margin : 0 auto;
340339 align-items : start;
341340}
342-
341+ @media (width<512px) {
342+ .projects-grid {
343+ width : auto;
344+ padding : 0 ;
345+ }
346+ }
343347/* Cards stretch to fill their grid cell */
344348.proj-card {
345349 width : clamp (700px , 30% , 380px );
471475 display : flex;
472476 justify-content : center;
473477 padding : 1.5rem 0 2rem ;
478+ color : var (--project-accent );
474479}
475480
476481.view-more-btn {
477482 background : transparent;
478- border : 1px solid rgba (255 , 255 , 255 , 0.2 );
483+ border : 1px solid rgba (255 , 255 , 255 , 0.4 );
479484 color : inherit;
480485 padding : 0.6rem 1.8rem ;
481486 border-radius : 999px ;
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ function ProjectCard({ project, onReadmeOpen }) {
197197 ) ;
198198}
199199
200- const VISIBLE_COUNT = 4 ; // no of projects tiles to display
200+ const VISIBLE_COUNT = 3 ; // no of projects tiles to display
201201
202202export default function Projects ( ) {
203203 const [ activeTab , setActiveTab ] = useState ( "hardware" ) ;
@@ -280,7 +280,7 @@ export default function Projects() {
280280 >
281281 { showAll
282282 ? `Show Less ↑`
283- : `View More ( ${ filteredProjects . length - VISIBLE_COUNT } more) ↓` }
283+ : `View More ↓` }
284284 </ button >
285285 </ div >
286286 ) }
You can’t perform that action at this time.
0 commit comments