@@ -28,9 +28,9 @@ function useGridSize() {
28
28
const [ gridSize , setGridSize ] = useState ( 0 ) ;
29
29
useEffect ( ( ) => {
30
30
function updateSize ( ) {
31
- if ( containerSize < 640 ) {
31
+ if ( containerSize < 500 ) {
32
32
setGridSize ( 3 ) ;
33
- } else if ( containerSize < 900 ) {
33
+ } else if ( containerSize < 650 ) {
34
34
setGridSize ( 4 ) ;
35
35
} else {
36
36
setGridSize ( 5 ) ;
@@ -118,7 +118,7 @@ const ALL_FACTS = [
118
118
// 10
119
119
`Scrum (CSPO 2017) & <a href="https://www.amanet.org/5-day-mba-certificate-program/" target="_blank">AMA 5-Day MBA (2021)</a>` ,
120
120
// 11
121
- `I've built products with: GCP, AWS, Postgres, Flutter, Python, TypeScript, Docker, Terraform, REST, GraphQL, Datadog, React, Next.js , D3.js, ...` ,
121
+ `I've built with: GCP, AWS, Postgres, Flutter, Python, Terraform, React/TS , D3.js, ...` ,
122
122
// 12
123
123
`Focus on user-centered products, team autonomy & growth: <a href="https://www.delfina.com/resource/finding-your-users-in-digital-health" target="_blank">Learn more</a>` ,
124
124
// 13
@@ -138,7 +138,7 @@ const ALL_FACTS = [
138
138
// 22
139
139
`Favorite side project: <a href="https://brainshare.io" target="_blank">Brainshare</a> (code on <a href="https://github.com/zakandrewking/brainshare" target="_blank">GitHub</a>)` ,
140
140
// 23
141
- `I'm a passionate tech leader — always thinking about how to recruit amazing engineers & empower them to do their best work` ,
141
+ `Always thinking about how to recruit amazing engineers & empower them to do their best work` ,
142
142
// 24
143
143
`Dissertation: <a href="https://escholarship.org/content/qt83d340c7/qt83d340c7.pdf" target="_blank">"Optimization of microbial cell factories..."</a>` ,
144
144
`Favorite AI: <a href="https://www.youtube.com/watch?v=syyXdBg9BIc" target="_blank">Ash in Alien</a>` ,
@@ -506,7 +506,7 @@ export default function PuzzleClient() {
506
506
) }
507
507
508
508
< div
509
- className = "border"
509
+ className = "border-[2px] border-gray-100 box-border flex-none "
510
510
style = { {
511
511
position : "relative" ,
512
512
width : containerSize ,
@@ -546,14 +546,14 @@ export default function PuzzleClient() {
546
546
if ( tile === null ) return null ; // Blank spot
547
547
548
548
const [ row , col ] = [ Math . floor ( i / gridSize ) , i % gridSize ] ;
549
- const baseX = col * tileSize ;
550
- const baseY = row * tileSize ;
549
+ const baseX = col * tileSize - 2 ;
550
+ const baseY = row * tileSize - 2 ;
551
551
const off = tileOffsets [ i ] || { x : 0 , y : 0 } ;
552
552
const blankIndex = tiles . indexOf ( null ) ;
553
553
const canMove = isAdjacent ( i , blankIndex ) ;
554
554
555
555
const tileClasses = clsx (
556
- "absolute pointer-events-auto draggable border" ,
556
+ "absolute pointer-events-auto draggable border-[2px] border-gray-100 box-border " ,
557
557
! isDraggingTile [ i ] &&
558
558
"transition-transform duration-200 ease-in-out"
559
559
) ;
@@ -598,13 +598,10 @@ export default function PuzzleClient() {
598
598
</ div >
599
599
600
600
< style jsx global > { `
601
- * {
602
- box-sizing: border-box;
603
- }
604
601
html {
605
602
color-scheme: light dark;
606
603
height: 100%;
607
- overscroll-behavior: none; /* Prevent bounce on iOS */
604
+ overscroll-behavior: none;
608
605
}
609
606
body {
610
607
margin: 0;
0 commit comments