commit
06743cb072
15 changed files with 291 additions and 7 deletions
|
|
@ -13,7 +13,8 @@ import { format } from 'date-fns';
|
|||
>
|
||||
<div class="pb-2">
|
||||
<div class="md:flex justify-between">
|
||||
<h1 class="mb-4" id={post.slug}>{post.data.title}</h1>
|
||||
<h1 class="mb-4">{post.data.title}</h1>
|
||||
<span id={post.slug} class="-mt-16"></span>
|
||||
</div>
|
||||
<p class="italic p-0 m-0">
|
||||
<time datetime={post.data.date.toISOString()}>
|
||||
|
|
|
|||
6
website/src/components/Youtube.jsx
Normal file
6
website/src/components/Youtube.jsx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import LiteYouTubeEmbed from 'react-lite-youtube-embed';
|
||||
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
|
||||
|
||||
export function Youtube(props) {
|
||||
return <LiteYouTubeEmbed {...props} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue