function Settings() {
  return (
    <Page>
      <Section title={<Text bold>Hevy API</Text>}>
        <TextInput
          label="API key"
          settingsKey="hevyApiKey"
          placeholder="Optional override"
        />
        <TextInput
          label="Routine ID"
          settingsKey="hevyRoutineId"
          placeholder="Optional"
        />
        <TextInput
          label="Routine name"
          settingsKey="hevyRoutineName"
          placeholder="Optional fallback search"
        />
        <Text>
          This private build includes your API key. If Routine ID is blank, Sync picks
          the next MinMax routine from recent Hevy workouts: Full Body, Upper, Lower,
          Arms.
        </Text>
      </Section>
    </Page>
  );
}

registerSettingsPage(Settings);
