import React from "react";
import styles from "./LinkButton.module.css";

const LinkButton: React.FC = () => {
  const navigate = () => {
    window.location.href = "https://suno.com/create/"; // Could have endpoint that passes in prompt called here
  };
  return (
    <div
      className={styles.linkButton}
      onClick={navigate}
      aria-label="Suno Button"
      role="button"
      tabIndex={0}
      onKeyDown={(e) => {
        if (e.key === "Enter" || e.key === " ") {
          navigate();
        }
      }}
    >
      Create with v5
    </div>
  );
};

export default LinkButton;
