blob: 4b3833c4385f07fb6ef2d0f0c5056ece5d8cee13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { PanelSectionRow } from "@decky/ui";
import optiScalerImage from "../../assets/header-banner.png";
interface OptiScalerHeaderProps {
pathExists: boolean | null;
}
export function OptiScalerHeader({ pathExists }: OptiScalerHeaderProps) {
if (pathExists !== true) return null;
return (
<PanelSectionRow>
<div style={{
display: 'flex',
justifyContent: 'center',
marginBottom: '16px'
}}>
<img
src={optiScalerImage}
alt="OptiScaler"
style={{
maxWidth: '100%',
height: 'auto',
borderRadius: '8px'
}}
/>
</div>
</PanelSectionRow>
);
}
|