Skip to content

Implementing Testimonial Section #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
57 changes: 57 additions & 0 deletions components/Testimonies.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import React, { useRef, useState } from 'react';
import Image from 'next/image';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faScrewdriverWrench } from '@fortawesome/free-solid-svg-icons'
import { faWindows, faApple } from '@fortawesome/free-brands-svg-icons';
import styles from './Testimonies.module.css';

export default function Testimonies() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename to "Testimonials"

const TestimonyData = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
text: `My hospital had <b>under-billed $75K</b> worth of procedural RVUs which took me 20
hours of manual chart review over the course of 6 months to recover. OpenAdapt
was able to do this job <b>automatically with just a few clicks</b>. The personalized
service and support were phenomenal. I will definitely be using OpenAdapt to audit
my procedures every month from now on. `,
author: `Victor Abrich, MD, FHRS; Electrophysiologist at MercyOne Waterloo Heart Care`
},
{
text:`We're trying to make a task miner which shows task flow. I use <b>OpenAdapter</b> to record your
interactions and <b>pm4py</b> to make a task flow.
<br>I query <b>sqlite3</b> to make data for pm4py.
<br>
<br>
Now I can make a simply task flow and still there is something to do.
<br>
<br>
Anyway I'm very happy to get here thanks to OpenAdapter!
<br>
<br>
Copy link
Member

@abrichr abrichr Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use <p> instead of <br/>

Thank you again for making OpenAdapter`,
author:`Ribeam Kim`
},
]
return (
<div className="testamonialRow">
<h1 className={styles.header}>Some Testimonies</h1>
<div className={styles.card_box}>

{TestimonyData.map((curr_testimony) => (
<div className={styles.card}>
<Image
className="invert text-center inline"
priority
src="/images/quote-left-solid.svg"
height={40}
width={40}
alt="Photo of quote"
/>
<hr></hr>
<p className={styles.description} dangerouslySetInnerHTML={{ __html: curr_testimony.text }} ></p>
<h2 className={styles.title}> <hr></hr> — {curr_testimony.author}</h2>
</div>
))}
</div>
</div>
)
}
96 changes: 96 additions & 0 deletions components/Testimonies.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.header{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix formatting 🙏

font-size: 30px;
background-color: rgb(0, 0, 28);

text-align: center;
color: whitesmoke;
}

.card_box{
text-align: center;
background-color: rgb(0, 0, 28);

overflow-x: auto;
overflow-y: hidden;

white-space: nowrap;

}

.card {
position: relative;

display: inline-block;
text-overflow: ellipsis;
vertical-align: top; /* Align cards at the top */

font-size: medium;
width: 350px;
height: 400px;
margin: 20px;
padding: 20px;
border-radius: 30px;
background: #560DF8;
flex-direction: column;
align: self-align;
align-items: center;
justify-content: center;
}
.card hr{
padding: 5px;
width: 300px;
}


.card:hover {

//outline: 2px solid rgba(122, 105, 175, 0.6);
background: #A36BF4;
transform: scale(1.05);
transition: background-color 0.5s, color 0.5s, transform 0.5s;
}
.title {
position: absolute;
bottom: 0;

max-width: 300px;
margin: 5px;
color: whitesmoke;
font-size: 18px;
font-weight: bold;
text-align: center;
padding-bottom: 20px;

white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card .button:hover {
color: white;
border: 2px solid transparent;
}
.description {
text-align: left;
margin-bottom: 10px;
padding: 0;
font-size: 15px;

max-height: 250px;
color: whitesmoke;
white-space: initial;
overflow: hidden;
text-overflow: ellipsis;


}
.heading {
font-size: 30px;
text-align: center;
color: whitesmoke;
}
.p {
padding:20px;
font-size: 18px;
text-align: center;
color: rgb(204, 194, 194);
}
3 changes: 2 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import FeedbackForm from '@components/FeedbackForm';
import Footer from "@components/Footer";
import IndustriesGrid from '@components/IndustriesGrid';
import MastHead from '@components/MastHead';

import Testimonies from '@components/Testimonies';
export default function Home() {
const [feedbackData, setFeedbackData] = useState({
email: '',
Expand All @@ -18,6 +18,7 @@ export default function Home() {
<div>
<MastHead />
<IndustriesGrid feedbackData={feedbackData} setFeedbackData={setFeedbackData} sectionRef={sectionRef} />
<Testimonies/>
<Developers />
<div ref={sectionRef}>
<FeedbackForm feedbackData={feedbackData} setFeedbackData={setFeedbackData} />
Expand Down
1 change: 1 addition & 0 deletions public/images/quote-left-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.