Skip to content

Commit 2c4c759

Browse files
committed
added cards to page
1 parent 422f1c4 commit 2c4c759

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

components/snippets/Title.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Title = ({ title }) => {
2+
return <h2>{title}</h2>;
3+
};
4+
5+
export default Title;

pages/about.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import RevealContentContainer from '@/components/containers/RevealContentContainer';
22
import TwoColumn from '@/components/containers/TwoColumn';
33
import { white, primary, primaryAccent } from '@/styles/TwoColumn.module.scss';
4+
import CardsColumns from '@/components/containers/CardsColumns';
5+
import { Container } from '@/components/containers/Container';
6+
import Title from '@/components/snippets/Title';
47

58
export default function AboutUs() {
69
return (
@@ -88,6 +91,28 @@ export default function AboutUs() {
8891
customInnerClass='about-content'
8992
/>
9093
</RevealContentContainer>
94+
<RevealContentContainer>
95+
<Title
96+
title='Our goals'
97+
/>
98+
<CardsColumns
99+
titles={['1', '2']}
100+
images={[
101+
'/images/join-us.webp',
102+
'/images/volunteer.webp',
103+
]}
104+
altTags={[
105+
'Join the project',
106+
'Volunteer to learn together',
107+
]}
108+
content={[
109+
'To provide a safe space for juniors to learn how to communicate in a simulated professional environment.',
110+
'To offer more detailed tasks (Issues) and help the developer assimilate the logical mindset required in a structured project, under guidance following the industry’s best practices throughout the entire process.',
111+
]}
112+
links={['/about', '/contact']}
113+
linkText={['Learn more', 'Contact us']}
114+
/>
115+
</RevealContentContainer>
91116
</div>
92117
);
93118
}

styles/Container.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
width: 90%;
66
max-width: $large-desktop-breakpoint;
77
}
8+

0 commit comments

Comments
 (0)