first commit

This commit is contained in:
Olu Amey
2021-12-18 20:23:31 -05:00
commit bce242fd22
308 changed files with 42398 additions and 0 deletions
+158
View File
@@ -0,0 +1,158 @@
import React, { useState } from 'react';
function FaqHomeOne({ className }) {
const [showQues, setQues] = useState(1);
const openQuestion = (value) => {
setQues(value);
};
return (
<>
<section className={`appie-faq-area pb-95 ${className || ''}`}>
<div className="container">
<div className="row">
<div className="col-lg-12">
<div className="appie-section-title text-center">
<h3 className="appie-title">Frequently asked questions</h3>
<p>Different layouts and styles for team sections.</p>
</div>
</div>
</div>
<div className="row">
<div className="col-lg-6">
<div
className="faq-accordion wow fadeInRight mt-30"
data-wow-duration="1500ms"
>
<div
className="accrodion-grp animated fadeIn faq-accrodion wow"
data-wow-duration="1500ms"
data-grp-name="faq-accrodion"
>
<div
onClick={() => openQuestion(1)}
className={`accrodion ${showQues === 1 ? 'active' : ''}`}
>
<div className="accrodion-inner">
<div className="accrodion-title">
<h4>Where do I usually find FAQs in a page?</h4>
</div>
<div
className="accrodion-content"
style={{
display: showQues === 1 ? 'block' : 'none',
}}
>
<div className="inner">
<p>
Naff Oxford vagabond in my flat chinwag
blatant grub tomfoolery that I bits and bobs
up the duff cras boot bevvy no biggie.
</p>
</div>
</div>
</div>
</div>
<div
onClick={() => openQuestion(2)}
className={`accrodion ${showQues === 2 ? 'active' : ''}`}
>
<div className="accrodion-inner">
<div className="accrodion-title">
<h4>Where do I usually find FAQs in a page?</h4>
</div>
<div
className="accrodion-content"
style={{
display: showQues === 2 ? 'block' : 'none',
}}
>
<div className="inner">
<p>
Naff Oxford vagabond in my flat chinwag
blatant grub tomfoolery that I bits and bobs
up the duff cras boot bevvy no biggie.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div className="col-lg-6">
<div
className="faq-accordion wow fadeInRight mt-30"
data-wow-duration="1500ms"
>
<div
className="accrodion-grp animated fadeIn faq-accrodion wow"
data-wow-duration="1500ms"
data-grp-name="faq-accrodion"
>
<div
onClick={() => openQuestion(3)}
className={`accrodion ${showQues === 3 ? 'active' : ''}`}
>
<div className="accrodion-inner">
<div className="accrodion-title">
<h4>Where do I usually find FAQs in a page?</h4>
</div>
<div
className="accrodion-content"
style={{
display: showQues === 3 ? 'block' : 'none',
}}
>
<div className="inner">
<p>
Naff Oxford vagabond in my flat chinwag
blatant grub tomfoolery that I bits and bobs
up the duff cras boot bevvy no biggie.
</p>
</div>
</div>
</div>
</div>
<div
onClick={() => openQuestion(4)}
className={`accrodion ${showQues === 4 ? 'active' : ''}`}
>
<div className="accrodion-inner">
<div className="accrodion-title">
<h4>Where do I usually find FAQs in a page?</h4>
</div>
<div
className="accrodion-content"
style={{
display: showQues === 4 ? 'block' : 'none',
}}
>
<div className="inner">
<p>
Naff Oxford vagabond in my flat chinwag
blatant grub tomfoolery that I bits and bobs
up the duff cras boot bevvy no biggie.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div className="col-lg-12">
<div className="faq-text text-center pt-40">
<p>
Can't find an answer?{' '}
<a href="mailto:demo@gmail.com">Email us</a>
</p>
</div>
</div>
</div>
</div>
</section>
</>
);
}
export default FaqHomeOne;