|
|
|
@ -16,6 +16,7 @@ const categoryColors: { [key: string]: string } = { |
|
|
|
videos: 'pink', |
|
|
|
videos: 'pink', |
|
|
|
speechsounds: 'purple', |
|
|
|
speechsounds: 'purple', |
|
|
|
tictactoe: 'blue', |
|
|
|
tictactoe: 'blue', |
|
|
|
|
|
|
|
drawingpad: 'amber', |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const colorMap: { [key: string]: string } = { |
|
|
|
const colorMap: { [key: string]: string } = { |
|
|
|
@ -106,6 +107,17 @@ export function LandingPage() { |
|
|
|
loading="eager" |
|
|
|
loading="eager" |
|
|
|
fetchPriority="auto" |
|
|
|
fetchPriority="auto" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
) : app.id === 'drawingpad' ? ( |
|
|
|
|
|
|
|
<OptimizedImage
|
|
|
|
|
|
|
|
src="/drawing.png"
|
|
|
|
|
|
|
|
alt="Drawing Pad"
|
|
|
|
|
|
|
|
className="w-20 h-20 object-contain" |
|
|
|
|
|
|
|
width={80} |
|
|
|
|
|
|
|
height={80} |
|
|
|
|
|
|
|
loading="eager" |
|
|
|
|
|
|
|
fetchPriority="auto" |
|
|
|
|
|
|
|
disableWebP={true} |
|
|
|
|
|
|
|
/> |
|
|
|
) : ( |
|
|
|
) : ( |
|
|
|
<span className="text-5xl">{emoji}</span> |
|
|
|
<span className="text-5xl">{emoji}</span> |
|
|
|
)} |
|
|
|
)} |
|
|
|
|