mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-21 19:35:59 -04:00
more preparation for styled components
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user