mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-05-15 20:54:28 -04:00
move some non-post pages to mdx
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
.wrapper :global(lite-youtube) {
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -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;
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from "./YouTube";
|
||||
export { default } from "./YouTube";
|
||||
Reference in New Issue
Block a user