import React from "react";
import { Box, Flex, Button, Tooltip } from "@chakra-ui/core";
import { useHistory } from "react-router-dom";
import { Heading1 } from "./util";
import HomepageSplashImg from "../images/homepage-splash.png";
import SpeciesColorPicker from "./SpeciesColorPicker";
function HomePage() {
return (
Dress to Impress
);
}
function StartOutfitForm() {
const history = useHistory();
const [speciesId, setSpeciesId] = React.useState("1");
const [colorId, setColorId] = React.useState("8");
const [isValid, setIsValid] = React.useState(true);
const onSubmit = () => {
if (!isValid) {
return;
}
const params = new URLSearchParams({
species: speciesId,
color: colorId,
});
history.push(`/outfits/new?${params}`);
};
return (
);
}
export default HomePage;