diff --git a/packages/fakeyou.com/public/images/header/voice-designer.png b/packages/fakeyou.com/public/images/header/voice-designer.png new file mode 100644 index 0000000000..ce0081f1f1 Binary files /dev/null and b/packages/fakeyou.com/public/images/header/voice-designer.png differ diff --git a/packages/fakeyou.com/src/components/common/BackButton/BackButton.tsx b/packages/fakeyou.com/src/components/common/BackButton/BackButton.tsx index ddad1c8de2..714efe8834 100644 --- a/packages/fakeyou.com/src/components/common/BackButton/BackButton.tsx +++ b/packages/fakeyou.com/src/components/common/BackButton/BackButton.tsx @@ -1,13 +1,14 @@ import React from "react"; import Button from "../Button"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faArrowLeft } from "@fortawesome/pro-solid-svg-icons"; interface BackButtonProps { onClick?: () => void; + to?: string; + label?: string; } -const BackButton: React.FC = ({ onClick }) => { +const BackButton: React.FC = ({ onClick, to, label }) => { const handleBack = () => { if (onClick) { onClick(); @@ -16,10 +17,21 @@ const BackButton: React.FC = ({ onClick }) => { } }; + if (to) { + return ( +