Skip to content

Commit

Permalink
make this page render
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhooks committed Dec 19, 2020
1 parent 534178e commit aff31fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/pages/courses/course-page-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ const CoursePageLayout: React.FunctionComponent<CoursePageLayoutProps> = ({
const {name: tagName, image_url: tagImage, slug: tagSlug} = primary_tag

const PlayButton = () => {
return (
return firstLessonURL ? (
<Link href={firstLessonURL}>
<a className="inline-flex justify-center items-center px-5 py-3 rounded-md bg-blue-600 text-white transition-all hover:bg-blue-700 ease-in-out duration-200">
<PlayIcon className="text-blue-100 mr-2" />
Start Watching
</a>
</Link>
)
) : null
}

return (
Expand Down

1 comment on commit aff31fa

@vercel
Copy link

@vercel vercel bot commented on aff31fa Dec 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.