Skip to content

Commit 32dfc75

Browse files
authored
Merge pull request #4 from scalabridge/add-faq
Add faq section
2 parents 3f04889 + c1c177a commit 32dfc75

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

src/App.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@
9393
max-width: 100%
9494
}
9595

96+
.faq {
97+
background-color: #F4FAFA;
98+
padding: 75px;
99+
}
100+
96101
.code-of-conduct {
97102
background-color: #A54440;
98103
padding: 75px;
@@ -111,6 +116,10 @@
111116

112117
/* Tags */
113118

119+
.text-red {
120+
color: #A54440;
121+
}
122+
114123
img {
115124
max-width: 100%;
116125
height: auto;

src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import './App.css';
33
import Navbar from "./Navbar";
44
import ImageCard from "./ImageCard";
55
import LargeImageCard from "./LargeImageCard";
6+
import FrequentlyAQ from "./FrequentlyAQ";
67
import CodeOfConduct from "./CodeOfConduct";
78
import Sponsors from "./Sponsors";
89

@@ -28,6 +29,7 @@ function App() {
2829
<ImageCard topText="SUPPORT" bottomText ="Reinforcing our Commitment" image="card2.png" bgColor="#A54440"/>
2930
<ImageCard topText="EDUCATION" bottomText ="One Step at a Time" image="card3.png" bgColor="#E2ABA9"/>
3031
</div>
32+
<FrequentlyAQ />
3133
<CodeOfConduct/>
3234
<Sponsors/>
3335
</div>

src/FrequentlyAQ.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react';
2+
3+
export default function FrequentlyAQ() {
4+
return (
5+
<div className="faq text-center">
6+
<h2 className="p-2 text-red">FAQ</h2>
7+
<div className="flex-container">
8+
<div>
9+
<p className="p-3 text-center text-red">QUESTION</p>
10+
<p className="p-5 text-left">Enter your answer to the question here. Make sure the writing is clear and concise, and helps visitors get the support they need in the most efficient way. Consider elaborating with examples or visual aids to ensure all users fully understand the information.</p>
11+
</div>
12+
<div>
13+
<p className="p-3 text-center text-red">QUESTION</p>
14+
<p className="p-5 text-left">Enter your answer to the question here. Make sure the writing is clear and concise, and helps visitors get the support they need in the most efficient way. Consider elaborating with examples or visual aids to ensure all users fully understand the information.</p>
15+
</div>
16+
</div>
17+
<button type="button" className="btn btn-outline-dark text-center">Read More</button>
18+
</div>
19+
)
20+
}

0 commit comments

Comments
 (0)