Fix SiJava import error - replace with SiOracle
- Replace non-existent SiJava with SiOracle for Java files - Oracle is the owner of Java, making it an appropriate icon choice - All imported icons now exist and should work correctly - Maintain red color scheme for Java files
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
|||||||
SiJavascript,
|
SiJavascript,
|
||||||
SiTypescript,
|
SiTypescript,
|
||||||
SiPython,
|
SiPython,
|
||||||
SiJava,
|
SiOracle,
|
||||||
SiCplusplus,
|
SiCplusplus,
|
||||||
SiC,
|
SiC,
|
||||||
SiDotnet,
|
SiDotnet,
|
||||||
@@ -91,7 +91,7 @@ function getLanguageIcon(filename: string): React.ReactNode {
|
|||||||
'ts': <SiTypescript className="w-6 h-6 text-blue-500" />,
|
'ts': <SiTypescript className="w-6 h-6 text-blue-500" />,
|
||||||
'tsx': <SiTypescript className="w-6 h-6 text-blue-500" />,
|
'tsx': <SiTypescript className="w-6 h-6 text-blue-500" />,
|
||||||
'py': <SiPython className="w-6 h-6 text-blue-400" />,
|
'py': <SiPython className="w-6 h-6 text-blue-400" />,
|
||||||
'java': <SiJava className="w-6 h-6 text-red-500" />,
|
'java': <SiOracle className="w-6 h-6 text-red-500" />,
|
||||||
'cpp': <SiCplusplus className="w-6 h-6 text-blue-600" />,
|
'cpp': <SiCplusplus className="w-6 h-6 text-blue-600" />,
|
||||||
'c': <SiC className="w-6 h-6 text-blue-700" />,
|
'c': <SiC className="w-6 h-6 text-blue-700" />,
|
||||||
'cs': <SiDotnet className="w-6 h-6 text-purple-600" />,
|
'cs': <SiDotnet className="w-6 h-6 text-purple-600" />,
|
||||||
|
|||||||
Reference in New Issue
Block a user