@@ -7,6 +7,7 @@ const DEFAULT_IMAGES = [
77 { Icon : < StackIcon name = "python" /> , alt : 'python' } ,
88 { Icon : < StackIcon name = "go" /> , alt : 'golang' } ,
99 { Icon : < StackIcon name = "java" /> , alt : 'java' } ,
10+ { Icon : < StackIcon name = "php" /> , alt : 'php' } ,
1011 { Icon : < StackIcon name = "js" /> , alt : 'javascript' } ,
1112 { Icon : < StackIcon name = "colab" /> , alt : 'colab' } ,
1213 { Icon : < StackIcon name = "flask" /> , alt : 'flask' } ,
@@ -64,7 +65,6 @@ function buildItems(pool, seg) {
6465 }
6566
6667 let { Icon, icon } = image ;
67- // Jika Icon adalah elemen React (seperti <StackIcon />), perlakukan sebagai instance (icon)
6868 if ( Icon && React . isValidElement ( Icon ) ) {
6969 icon = Icon ;
7070 Icon = null ;
@@ -73,8 +73,8 @@ function buildItems(pool, seg) {
7373 return {
7474 src : image . src || '' ,
7575 alt : image . alt || '' ,
76- Icon : Icon ?? null , // component ref
77- icon : icon ?? null , // legacy: element instance
76+ Icon : Icon ?? null ,
77+ icon : icon ?? null ,
7878 href : image . href ?? null ,
7979 color : image . color ?? null
8080 } ;
@@ -885,13 +885,13 @@ export default function DomeGallery({
885885 />
886886
887887 < div
888- className = "absolute left-0 right-0 top-0 h-[120px] z-5 pointer-events-none rotate-180"
888+ className = "absolute left-0 right-0 top-0 h-30 z-5 pointer-events-none rotate-180"
889889 style = { {
890890 background : `linear-gradient(to bottom, transparent, var(--overlay-blur-color, ${ overlayBlurColor } ))`
891891 } }
892892 />
893893 < div
894- className = "absolute left-0 right-0 bottom-0 h-[120px] z-[5] pointer-events-none"
894+ className = "absolute left-0 right-0 bottom-0 h-30 z-5 pointer-events-none"
895895 style = { {
896896 background : `linear-gradient(to bottom, transparent, var(--overlay-blur-color, ${ overlayBlurColor } ))`
897897 } }
0 commit comments