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:
ZacharyZcR
2025-09-16 18:19:38 +08:00
parent 7bb09935a6
commit 7bcc863270

View File

@@ -21,7 +21,7 @@ import {
SiJavascript,
SiTypescript,
SiPython,
SiJava,
SiOracle,
SiCplusplus,
SiC,
SiDotnet,
@@ -91,7 +91,7 @@ function getLanguageIcon(filename: string): React.ReactNode {
'ts': <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" />,
'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" />,
'c': <SiC className="w-6 h-6 text-blue-700" />,
'cs': <SiDotnet className="w-6 h-6 text-purple-600" />,