-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.js
More file actions
58 lines (51 loc) · 1.94 KB
/
index.js
File metadata and controls
58 lines (51 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import React from 'react';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import HomeIntro from './HomeIntro.mdx';
import ProjectOverview from './ProjectOverview.md';
import Supporters from './Supporters.md';
import ProjectGridTemplate from '@site/src/components/ProjectGridTemplate';
import styles from './styles.module.css';
export default function HomepageContent() {
// Get baseUrl from Docusaurus context
const { siteConfig } = useDocusaurusContext();
const { baseUrl } = siteConfig;
return (
<main>
<section className={styles.sectionContainer}>
<div
className={styles.sectionHeader}
style={{ marginBottom: '15px', marginTop: '15px' }}
>
</div>
<div className={styles.sectionIntro}>
<HomeIntro />
</div>
</section>
<section className={styles.sectionContainer}>
<div
className={styles.sectionHeader}
style={{ marginBottom: '15px', marginTop: '15px' }}
>
<h2>AboutCode Projects Overview</h2>
</div>
<div className={styles.sectionIntro}>
<ProjectOverview />
</div>
<ProjectGridTemplate />
</section>
<section className={styles.sectionContainer}>
<div
className={styles.sectionHeader}
style={{ marginBottom: '15px', marginTop: '30px' }}
>
<h2>Supporters</h2>
</div>
<div className={styles.sectionIntro}>
<Supporters />
</div>
</section>
{/* temp dummy div to create space above footer */}
<div style={{ marginBottom: '50px' }}></div>
</main>
);
}