computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
991 B
36 lines
991 B
--- |
|
import type { VideoFileType } from '../lib/video'; |
|
|
|
export interface Props { |
|
video: VideoFileType; |
|
} |
|
|
|
const { video } = Astro.props; |
|
const { frontmatter } = video; |
|
const { author } = frontmatter; |
|
--- |
|
|
|
<div class='bg-white border-b py-5 sm:py-12'> |
|
<div class='container text-left sm:text-center'> |
|
<p |
|
class='text-gray-400 hidden sm:flex items-center justify-start sm:justify-center' |
|
> |
|
<a |
|
href={author.url} |
|
target='_blank' |
|
class='font-medium hover:text-gray-600 inline-flex items-center hover:underline' |
|
> |
|
<img src={author.imageUrl} class='w-5 h-5 inline mr-2 rounded-full' /> |
|
{author.name} |
|
</a> |
|
<span class='mx-1.5'>·</span> |
|
<span class='capitalize'>Illustrated Video</span> |
|
</p> |
|
<h1 class='text-2xl sm:text-5xl my-0 sm:my-3.5 font-bold'> |
|
{frontmatter.title} |
|
</h1> |
|
<p class='hidden sm:block text-gray-400 text-md'> |
|
{frontmatter.description} |
|
</p> |
|
</div> |
|
</div>
|
|
|