mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-05-15 21:54:25 -04:00
move some non-post pages to mdx
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { YouTubeEmbed } from "@next/third-parties/google";
|
||||
|
||||
import styles from "./YouTube.module.css";
|
||||
|
||||
export type YouTubeProps = {
|
||||
id: string;
|
||||
};
|
||||
|
||||
const YouTube = ({ id }: YouTubeProps) => {
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<YouTubeEmbed videoid={id} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default YouTube;
|
||||
Reference in New Issue
Block a user