more preparation for styled components

This commit is contained in:
2022-01-19 11:00:28 -05:00
parent caac9b905a
commit 171bdd65b6
15 changed files with 60 additions and 271 deletions
+3 -2
View File
@@ -3,10 +3,11 @@ import dynamic from "next/dynamic";
// Bundle these components by default:
export { default as Image } from "../components/Image/Image";
export { default as Figure } from "../components/Figure/Figure";
// `code` is intentionally lowercase here -- replaces `<code>` tag from remark
// These (mostly very small) components are direct replacements for HTML tags generated by remark:
export { default as code } from "../components/CodeBlock/CodeBlock";
// All of these components are technically passed into all posts, but next/dynamic ensures they're loaded only
// ...and these components are technically passed into all posts, but next/dynamic ensures they're loaded only
// when they're referenced in the individual mdx files.
export const IFrame = dynamic(() => import("../components/IFrame/IFrame"));
export const Video = dynamic(() => import("../components/Video/Video"));