vuepress-theme-hope
Version:
A light vuepress theme with tons of features
14 lines • 636 B
JavaScript
import { h } from "vue";
import BloggerInfo from "@theme-hope/components/blog/BloggerInfo";
import InfoList from "@theme-hope/components/blog/InfoList";
import DropTransition from "@theme-hope/components/transitions/DropTransition";
import "../../styles/blog/info-panel.scss";
const InfoPanel = (_props, { slots }) => h("aside", { class: "vp-blog-info-wrapper" }, [
slots.infoBefore?.(),
h(DropTransition, () => h(BloggerInfo, {}, slots)),
h(DropTransition, { delay: 0.04 }, () => h(InfoList)),
slots.infoAfter?.(),
]);
InfoPanel.displayName = "InfoPanel";
export default InfoPanel;
//# sourceMappingURL=InfoPanel.js.map