{"size": 881, "ext": "js", "max_stars_repo_path": "src/screens/Inicio.js", "max_stars_repo_name": "TonyLuque/rick_and_morty_rest", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/screens/Inicio.js", "max_issues_repo_name": "TonyLuque/rick_and_morty_rest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/screens/Inicio.js", "max_forks_repo_name": "TonyLuque/rick_and_morty_rest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.8846153846, "max_line_length": 78, "alphanum_fraction": 0.6696935301}
import React from "react";
import "../styles/Inicio.css";
import rick_and_morty from "../assets/rick_and_morty.png";
import horizontal from "../assets/Horizontal.png";
import { Button } from "../components/Button";
import { useHistory } from "react-router-dom";

const Inicio = () => {
  const history = useHistory();

  return (
    <div className="container">
      <img className=" imageLogo1" src={horizontal} alt="" />
      <img className=" imageLogo2" src={rick_and_morty} alt="" />
      <p className="textTitle">Bienvenido a Rick and Morty</p>
      <p className="textDescription">
        En esta prueba, evaluaremos su capacidad para construir la aplicación
        mediante el análisis de código y la reproducción del siguiente diseño.
      </p>
      <Button title="Continuar" onClick={() => history.push("/characters")} />
    </div>
  );
};

export default Inicio;
