Clean up
This commit is contained in:
@@ -4,14 +4,14 @@ import styles from './styles.module.css';
|
||||
|
||||
type FeatureItem = {
|
||||
title: string;
|
||||
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
|
||||
// Svg: React.ComponentType<React.ComponentProps<'svg'>>;
|
||||
description: JSX.Element;
|
||||
};
|
||||
|
||||
const FeatureList: FeatureItem[] = [
|
||||
{
|
||||
title: 'Initialize a Skeleton Project Quickly',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Start a new FastAPI and SQLAlchemy project with a single command.
|
||||
@@ -21,7 +21,7 @@ const FeatureList: FeatureItem[] = [
|
||||
},
|
||||
{
|
||||
title: 'Generate Common Items',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Use MycroForge to generate boilerplate code for entities, services, and routers.
|
||||
@@ -31,7 +31,8 @@ const FeatureList: FeatureItem[] = [
|
||||
},
|
||||
{
|
||||
title: 'Extend MycroForge',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
||||
// Svg: '',
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Create plugins to extend MycroForge with your own custom commands.
|
||||
@@ -40,11 +41,12 @@ const FeatureList: FeatureItem[] = [
|
||||
},
|
||||
];
|
||||
|
||||
function Feature({ title, Svg, description }: FeatureItem) {
|
||||
function Feature({ title, description }: FeatureItem) {
|
||||
// function Feature({ title, Svg, description }: FeatureItem) {
|
||||
return (
|
||||
<div className={clsx('col col--4', styles.feature)}>
|
||||
<div className="text--center">
|
||||
<Svg className={styles.featureSvg} role="img" />
|
||||
{/* <Svg className={styles.featureSvg} role="img" /> */}
|
||||
</div>
|
||||
<div className="text--center padding-horiz--md">
|
||||
<Heading as="h3">{title}</Heading>
|
||||
|
||||
@@ -32,7 +32,7 @@ export default function Home(): JSX.Element {
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={`Hello from ${siteConfig.title}`}
|
||||
title={`Home page`}
|
||||
description="Description will go into a meta tag in <head />">
|
||||
<HomepageHeader />
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user