+ {description} +
+ )} + {children && ( ++ We encountered an unexpected error. This has been logged and we'll look into it. +
+ + {error && ( +
+ {error.message}
+
+ + {subtitle} +
+ )} + {title && ( ++ {description} +
+ {href && ( ++ {description} +
+ {children} ++ {subtitle} +
+ )} + ++ {description} +
+ )} + + {children && ( +{message}
++ {error.message || 'An error occurred while loading content'} +
++ {description} +
+ {children && ( ++ {subtitle} +
+ )} + {title && ( ++ {subtitle} +
+ )} + {title && ( +{item.description}
+
+
+ {showLineNumbers ? (
+
+
+ {lines.map((_, i) => (
+
+ {i + 1}
+
+ ))}
+
+
+ {lines.map((line, i) => (
+
+ {line}
+
+ ))}
+
+
+ ) : (
+ children
+ )}
+
+
+ + {description} +
+ )} +
+ {code}
+
+ {output}
+ ) : (
+ + Click "Run" to see the output +
+ )} +
+
+ {lines.map((line, i) => {
+ const isAdded = line.startsWith('+')
+ const isRemoved = line.startsWith('-')
+ const isContext = line.startsWith('@@')
+
+ let className = 'px-2 py-0.5 rounded-sm '
+ if (isAdded) className += 'bg-emerald-500/20 text-emerald-300 border-l-2 border-emerald-500'
+ else if (isRemoved) className += 'bg-red-500/20 text-red-300 border-l-2 border-red-500'
+ else if (isContext) className += 'text-blue-400 bg-blue-500/10 border-l-2 border-blue-500'
+ else className += 'text-gray-300'
+
+ return (
+
+ {line || ' '}
+
+ )
+ })}
+
+
+
+ {before}
+
+
+ {after}
+
+ + The page you're looking for doesn't exist or has been moved. +
+ +Failed to connect to Dojo SDK
+
+ {error instanceof Error ? error.message : String(error)}
+
+ + Check your Dojo configuration and network connection +
++ Join thousands of developers building the future of gaming on Starknet. +
+