message: feat: add back and settings buttons
diff: import React from 'react'
  import { Button, Card, CardBody, CardFooter, CardHeader, Col, Row } from 'reactstrap'
  -import { MdFileDownload } from 'react-icons/md'
  +import { MdFileDownload, MdSettings } from 'react-icons/md'
  +import { FaCaretLeft } from 'react-icons/fa'
  import { useTranslation } from 'react-i18next'
  import { connect } from 'react-redux'
  +import { push } from 'connected-next-router'
  import type { State } from 'src/state/reducer'
  import type { AlgorithmParams } from 'src/state/algorithm/algorithm.state'
  @@ -18,6 +20,7 @@ export interface MainProps {
  setInput(input: string): void
  algorithmRunTrigger(_0?: unknown): void
  exportTrigger(_0?: unknown): void
  + goHome(): void
  }
  const mapStateToProps = (state: State) => ({
  @@ -29,6 +32,7 @@ const mapDispatchToProps = {
  setInput,
  algorithmRunTrigger: () => algorithmRunTrigger(),
  exportTrigger: () => exportTrigger(),
  + goHome: () => push('/'),
  }
  export const ResultsPage = connect(mapStateToProps, mapDispatchToProps)(ResultsPageDisconnected)
  @@ -39,11 +43,33 @@ export function ResultsPageDisconnected({
  setInput,
  algorithmRunTrigger,
  exportTrigger,
  + goHome,
  }: MainProps) {
  const { t } = useTranslation()
  + const openSetingsDialog = () => {}
  +
  return (
  <Row noGutters>
  + <Col>
  + <Row>
  + <Col className="d-flex">
  + <div className="mr-auto">
  + <Button color="secondary" className="results-btn-back" onClick={goHome}>
  + <FaCaretLeft />
  + {t('Back')}
  + </Button>
  + </div>
  +
  + <div className="ml-auto">
  + <Button className="btn-settings" onClick={openSetingsDialog}>
  + <MdSettings />
  + </Button>
  + </div>
  + </Col>
  + </Row>
  +
  + <Row>
  <Col>
  <Card className="mt-1 mb-1">
  <CardHeader>{t('Results')}</CardHeader>
  @@ -59,7 +85,12 @@ export function ResultsPageDisconnected({
  <CardFooter>
  <Row>
  <Col className="d-flex w-100">
  - <Button className="ml-auto btn-export" color="primary" disabled={!canExport} onClick={exportTrigger}>
  + <Button
  + className="ml-auto btn-export"
  + color="primary"
  + disabled={!canExport}
  + onClick={exportTrigger}
  + >
  <MdFileDownload className="btn-icon" />
  <span>{t('Export')}</span>
  </Button>
  @@ -69,5 +100,7 @@ export function ResultsPageDisconnected({
  </Card>
  </Col>
  </Row>
  + </Col>
  + </Row>
  )
  }
  