Skip to content

Commit 6af9578

Browse files
committed
Create grid template and begin fleshing out project grids
Signed-off-by: johnmhoran <[email protected]>
1 parent 17fab23 commit 6af9578

21 files changed

+2923
-255
lines changed

website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const config = {
180180
html: `<a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer" aria-label="Email"><img src="/www.aboutcode.org/img/email-svgrepo-com.svg" alt="" width="25" height="20"></a>`,
181181
},
182182

183-
{ label: 'Privacy Policy', to: '/about' },
183+
{ label: 'Privacy Policy', to: '/privacy' },
184184
{ label: 'Terms of Service', to: '/terms' },
185185
],
186186
copyright: `Copyright AboutCode Foundation ASBL. &nbsp; All rights reserved. &nbsp; Built with Docusaurus.`,
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1+
[to come]
2+
{/* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. */}

website/src/components/HomepageContent/index.js

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ import HomeInfo from './HomeInfo.mdx';
44
// import GeneralInfo from '@site/src/components/GeneralInfo';
55
// import SpecGrid from '@site/src/components/SpecGrid';
66
// import ToolGrid from '@site/src/components/ToolGrid';
7-
import ProjectGrid from '@site/src/components/ProjectGrid';
7+
// import ProjectGrid from '@site/src/components/ProjectGrid';
88
import SupporterGrid from '@site/src/components/SupporterGrid';
99

10+
import 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+
1015
import styles from './styles.module.css';
1116

1217
export default function HomepageContent() {
@@ -48,6 +53,36 @@ export default function HomepageContent() {
4853
<div className={styles.sectionIntro}>[to come]</div>
4954
</section>
5055

56+
{/* <section className={styles.sectionContainer}>
57+
<div
58+
className={styles.sectionHeader}
59+
style={{ marginBottom: '15px', marginTop: '15px' }}
60+
>
61+
<h1>AboutCode Projects Overview</h1>
62+
</div>
63+
<div className={styles.sectionHeader}>
64+
<h2>Main</h2>
65+
</div>
66+
<div className={styles.sectionIntro}>[intro]</div>
67+
<ProjectGrid />
68+
</section>
69+
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]
80+
</div>
81+
<ProjectGrid />
82+
</section> */}
83+
84+
85+
5186
<section className={styles.sectionContainer}>
5287
<div
5388
className={styles.sectionHeader}
@@ -56,12 +91,18 @@ export default function HomepageContent() {
5691
<h1>AboutCode Projects Overview</h1>
5792
</div>
5893
{/* <div className={styles.sectionHeader}>
59-
<h2>[sub-category?]</h2>
94+
<h2>ProjectGridTemplate</h2>
6095
</div> */}
61-
<div className={styles.sectionIntro}>[intro]</div>
62-
<ProjectGrid />
96+
<div
97+
className={styles.sectionIntro}
98+
>
99+
[intro]
100+
</div>
101+
<ProjectGridTemplate />
63102
</section>
64103

104+
105+
65106
<section className={styles.sectionContainer}>
66107
<div
67108
className={styles.sectionHeader}

website/src/components/HomepageContent/styles.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
margin: 0 auto;
179179
padding: 1rem 0;
180180
padding: 0.5rem 0;
181+
padding: 0;
181182

182183
/* background-color: #ffffcc; */
183184
line-height: 1.4rem;

0 commit comments

Comments
 (0)