import { Dialog, Transition } from "@headlessui/react"; import { Fragment, useState } from "react"; import { FiInfo } from "react-icons/fi"; import styled, { css } from "styled-components"; const ModalContainer = styled.div` position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; `; export default function Info() { const [open, setOpen] = useState(false); var classNameCondition = "" if (open) { classNameCondition = "fixed z-90 top-48 right-8 bg-sky-400 w-14 h-14 rounded-full drop-shadow-lg flex justify-center items-center text-white text-2xl hover:bg-sky-500 hover:drop-shadow-2xl" } else { classNameCondition = "fixed z-90 top-48 right-8 bg-slate-100 w-14 h-14 rounded-full drop-shadow-lg flex justify-center items-center text-sky-900 text-2xl hover:text-white hover:bg-sky-600 hover:drop-shadow-2xl" } return ( <> setOpen(false)} >
Welcome to Riffusion

Riffusion generates endless new jams from any text prompt. Try typing in your favorite artist or genre and you'll hear the music gradually transform.



The diffusion model first creates images from your prompt, and then converts them into music. Learn more about surfing the latent space of sound below.

); };