File tree 4 files changed +7
-7
lines changed 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ export const ProjectCard = ({
17
17
} : ProjectEntry ) => (
18
18
< a
19
19
href = { url }
20
- className = "group flex flex-row h-16 rounded-md overflow-hidden transition-all duration-300 hover:bg-white/40 dark:hover:bg-gray-800/40"
20
+ className = "group flex flex-row h-auto min-h-[5rem] sm:h-20 sm:hover:h-auto rounded-md overflow-hidden transition-all duration-300 hover:bg-white/40 dark:hover:bg-gray-800/40"
21
21
target = "_blank"
22
22
rel = "noopener noreferrer"
23
23
>
24
- < div className = "relative w-24 flex-shrink-0" >
24
+ < div className = "relative w-24 min-h-[5rem] sm:h-20 sm:group-hover:h-[inherit] flex-shrink-0" >
25
25
< Image
26
26
src = { image }
27
27
alt = { name }
@@ -36,7 +36,7 @@ export const ProjectCard = ({
36
36
< h3 className = "text-sm font-medium text-gray-900 dark:text-gray-100 truncate" >
37
37
{ name }
38
38
</ h3 >
39
- < p className = "text-xs text-gray-500 dark:text-gray-400 line-clamp-1 " >
39
+ < p className = "text-xs text-gray-500 dark:text-gray-400 sm: line-clamp-2 sm:group-hover:line-clamp-none " >
40
40
{ description }
41
41
</ p >
42
42
</ div >
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const ProjectGroup = ({
72
72
>
73
73
{ group . description && (
74
74
< div
75
- className = "prose dark:prose-invert prose-xs max-w-none mb-2 text-gray-600 dark:text-gray-400"
75
+ className = "prose dark:prose-invert prose-sm max-w-none mb-4 text-gray-600 dark:text-gray-400"
76
76
dangerouslySetInnerHTML = { {
77
77
__html : markdownToHtml ( group . description ) ,
78
78
} }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const ModeToggle = () => {
45
45
className = "group"
46
46
onClick = { ( ) => setTheme ( theme === 'light' ? 'dark' : 'light' ) }
47
47
>
48
- < Sun className = "h-6 w-6 fill-gray-100 stroke-gray-500 transition group-hover:fill-gray-200 group-hover:stroke-gray-700 dark:hidden [@media(prefers-color-scheme: dark)]:fill -white [@media(prefers-color-scheme:dark)]:stroke-white [@media(prefers-color-scheme:dark)]: group-hover:fill-white [@media(prefers-color-scheme:dark)]:group-hover:stroke-teal -600" />
48
+ < Sun className = "h-6 w-6 stroke-2 text-black dark:hidden dark:text -white group-hover:text-gray -600" />
49
49
< Moon className = "hidden h-6 w-6 fill-gray-700 stroke-gray-500 transition dark:block [@media(prefers-color-scheme:dark)]:group-hover:stroke-gray-400 [@media_not_(prefers-color-scheme:dark)]:fill-teal-400/10 [@media_not_(prefers-color-scheme:dark)]:stroke-white" />
50
50
</ button >
51
51
) ;
Original file line number Diff line number Diff line change 51
51
{
52
52
"name" : " AVS/streetscape.gl" ,
53
53
"url" : " https://avs.auto/demo/index.html" ,
54
- "image" : " /visgl/images/frameworks/ atg.png" ,
54
+ "image" : " /visgl/images/atg.png" ,
55
55
"description" : " Autonomous vehicle visualization built on deck.gl (independent project)."
56
56
}
57
57
]
73
73
"name" : " flowmap.gl" ,
74
74
"url" : " https://flowmap.gl/" ,
75
75
"image" : " /visgl/images/frameworks/FlowmapBlue.jpg" ,
76
- "description" : " A powerful flow map drawing layer for deck.gl. For visualization of geographic movement."
76
+ "description" : " A powerful flow map drawing layer for visualization of geographic movement."
77
77
},
78
78
{
79
79
"name" : " graph-layers" ,
You can’t perform that action at this time.
0 commit comments