import React from 'react'
import { useParams, Link } from 'react-router-dom';
import JKJamTracksLandingBody from './JKJamTracksLandingBody';

// This page is not the real entry point into a jamtracks landing page,
// as deployed to a server.  This is here to facilitate development of the
// landing page when running locally.  
// Note: the real entry point is the JKJamTracksLandingTemplatePage component,
// which is used only during build time when generate statice pages as files.
const JKJamTracksLanding = () => {
  const { artist, song } = useParams();
  return (
    <div>
      <JKJamTracksLandingBody artist={artist} song={song} />
    </div>
  )
}

export default JKJamTracksLanding