import { Head } from '@inertiajs/react' import SettingsLayout from '~/layouts/SettingsLayout' import { SystemInformationResponse } from '../../../types/system' import { formatBytes } from '~/lib/util' const Section = ({ title, children }: { title: string; children: React.ReactNode }) => { return (

{title}

{children}
) } const Row = ({ label, value }: { label: string; value: string | number | undefined }) => { return (
{label}
{value}
) } export default function SettingsPage(props: { system: { info: SystemInformationResponse | undefined } }) { return (

System Information

{props.system.info?.disk.map((disk, index) => (
))}
) }