1
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:
2025-03-07 11:53:23 -05:00
parent 8118b8501a
commit 354dade9aa
72 changed files with 811 additions and 1873 deletions
+3
View File
@@ -0,0 +1,3 @@
.wrapper :global(lite-youtube) {
margin: 0 auto;
}
+17
View File
@@ -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;
+2
View File
@@ -0,0 +1,2 @@
export * from "./YouTube";
export { default } from "./YouTube";