@logicflow/dumi-theme-simple
Version:
Simple website theme based on dumi2.
50 lines (48 loc) • 1.45 kB
JavaScript
import React from 'react';
// import cx from 'classnames';
// import { News, NewsProps } from './News';
import { LfContainer } from "./components";
import styles from "./index.module.less";
import { jsx as _jsx } from "react/jsx-runtime";
export var FilterDivider = function FilterDivider(_ref) {
var height = _ref.height;
return /*#__PURE__*/_jsx("div", {
style: {
height: height
},
className: styles.filterDivider
});
};
/**
* Index.技术栈的描述区域!
* 各自配置
*/
export var LFBanner = function LFBanner(_ref2) {
var style = _ref2.style,
title = _ref2.title,
engine = _ref2.engine,
description = _ref2.description,
githubUrl = _ref2.githubUrl,
_ref2$showGithubStars = _ref2.showGithubStars,
showGithubStars = _ref2$showGithubStars === void 0 ? true : _ref2$showGithubStars,
_ref2$buttons = _ref2.buttons,
buttons = _ref2$buttons === void 0 ? [] : _ref2$buttons,
features = _ref2.features,
advantages = _ref2.advantages;
return /*#__PURE__*/_jsx("section", {
style: style,
children: /*#__PURE__*/_jsx("div", {
className: styles.content,
children: /*#__PURE__*/_jsx(LfContainer, {
title: title,
engine: engine,
description: description,
githubUrl: githubUrl,
showGithubStars: showGithubStars,
buttons: buttons,
features: features,
advantages: advantages
})
})
});
};