-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: main
Are you sure you want to change the base?
Changes from 7 commits
146e575
c3ef597
e59288d
badd740
dfa5fd8
483344c
df1c8a5
9d39685
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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() { | ||
const TestimonyData = [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use |
||
{ | ||
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> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use |
||
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> | ||
) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
.header{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename to "Testimonials"