11import React from 'react' ;
22import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
3- import HomeInfo from './HomeInfo.mdx' ;
4- // import GeneralInfo from '@site/src/components/GeneralInfo';
5- // import SpecGrid from '@site/src/components/SpecGrid';
6- // import ToolGrid from '@site/src/components/ToolGrid';
7- // import ProjectGrid from '@site/src/components/ProjectGrid';
3+ import HomeIntro from './HomeIntro.mdx' ;
4+ import ProjectOverview from './ProjectOverview.md' ;
5+ import Supporters from './Supporters.md' ;
86import SupporterGrid from '@site/src/components/SupporterGrid' ;
9-
107import ProjectGridTemplate from '@site/src/components/ProjectGridTemplate' ;
11- // import projects from '@site/src/data/projects-v02.json';
12- // import projects_library from '@site/src/data/projects-library.json';
13- // import projects_main from '@site/src/data/projects-main.json';
14-
158import styles from './styles.module.css' ;
169
1710export default function HomepageContent ( ) {
@@ -26,112 +19,42 @@ export default function HomepageContent() {
2619 className = { styles . sectionHeader }
2720 style = { { marginBottom : '15px' , marginTop : '15px' } }
2821 >
29- < h1 > Welcome</ h1 >
22+ { /* <h1>AboutCode Capabilities</h1> */ }
23+
3024 </ div >
3125 < div className = { styles . sectionIntro } >
32- < HomeInfo />
26+ < HomeIntro />
3327 </ div >
3428 </ section >
3529
36- < section className = { styles . sectionContainer } >
37- < div
38- className = { styles . sectionHeader }
39- style = { { marginBottom : '15px' } }
40- >
41- < h1 > Getting Started</ h1 >
42- </ div >
43- < div className = { styles . sectionIntro } > [to come]</ div >
44- </ section >
45-
4630 < section className = { styles . sectionContainer } >
47- < div
48- className = { styles . sectionHeader }
49- style = { { marginBottom : '15px' , marginTop : '15px' } }
50- >
51- < h1 > AboutCode Capabilities</ h1 >
52- </ div >
53- < div className = { styles . sectionIntro } > [to come]</ div >
54- </ section >
55-
56- { /* <section className={styles.sectionContainer}>
5731 < div
5832 className = { styles . sectionHeader }
5933 style = { { marginBottom : '15px' , marginTop : '15px' } }
6034 >
6135 < h1 > AboutCode Projects Overview</ h1 >
6236 </ div >
63- <div className={styles.sectionHeader}>
64- <h2>Main</h2>
65- </div>
66- <div className={styles.sectionIntro}>[intro]</div>
67- <ProjectGrid />
68- </section>
6937
70-
71-
72- <section className={styles.sectionContainer}>
73- <div className={styles.sectionHeader}>
74- <h2>Library</h2>
75- </div>
76- <div
77- className={styles.sectionIntro}
78- >
79- [intro]
38+ < div className = { styles . sectionIntro } >
39+ < ProjectOverview />
8040 </ div >
81- <ProjectGrid />
82- </section> */ }
83-
84-
8541
86- < section className = { styles . sectionContainer } >
87- < div
88- className = { styles . sectionHeader }
89- style = { { marginBottom : '15px' , marginTop : '15px' } }
90- >
91- < h1 > AboutCode Projects Overview</ h1 >
92- </ div >
93- { /* <div className={styles.sectionHeader}>
94- <h2>ProjectGridTemplate</h2>
95- </div> */ }
96- < div
97- className = { styles . sectionIntro }
98- >
99- [intro]
100- </ div >
10142 < ProjectGridTemplate />
10243 </ section >
10344
104-
105-
10645 < section className = { styles . sectionContainer } >
10746 < div
10847 className = { styles . sectionHeader }
10948 style = { { marginBottom : '15px' , marginTop : '30px' } }
11049 >
11150 < h1 > Supporters</ h1 >
11251 </ div >
113- < div className = { styles . sectionIntro } > [intro]</ div >
52+ < div className = { styles . sectionIntro } >
53+ < Supporters />
54+ </ div >
11455 < SupporterGrid />
11556 </ section >
11657
117- { /* <section className={styles.sectionContainer}>
118- <div className={styles.sectionHeader}>
119- <h2>[h2 title]</h2>
120- </div>
121- <div
122- className={styles.sectionIntro}
123- >
124- [intro]
125- </div>
126- <SpecGrid />
127- </section> */ }
128-
129- { /* <section className={styles.sectionContainer}>
130- <div className={styles.sectionHeader}>
131- <h1>[h1 title]]</h1>
132- </div>
133- </section> */ }
134-
13558 { /* temp dummy div to create space above footer */ }
13659 < div style = { { marginBottom : '50px' } } > </ div >
13760 </ main >
0 commit comments