File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed
components/ResearchDevelopment/TabSection/FellowshipTabContent/Testimonials
queries/research-development Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 1- import Image from "next/image" ;
2-
3- import CustomLink from "@/components/CustomLink" ;
41import { Testimonial } from "@/queries/research-development/tabs-data" ;
52
6- const TestimonialCard : React . FC < Testimonial > = ( { url, thumbnail } ) => (
7- < CustomLink href = { url } >
8- < div className = "relative h-[203px] w-full overflow-hidden rounded-2xl" >
9- < Image
10- src = { thumbnail . url }
11- alt = "Thumbnail "
12- fill
13- className = "object-cover "
14- />
15- </ div >
16- </ CustomLink >
3+ const TestimonialCard : React . FC < Testimonial > = ( { url } ) => (
4+ < div className = "relative h-[203px] w-full overflow-hidden rounded-2xl" >
5+ < iframe
6+ style = { { width : "100%" , height : "100%" } }
7+ src = { url }
8+ title = "YouTube video player "
9+ allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
10+ referrerPolicy = "strict-origin-when-cross-origin "
11+ allowFullScreen
12+ > </ iframe >
13+ </ div >
1714) ;
1815
1916export default TestimonialCard ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const tabSectionQuery = gql`
2020 subtitle
2121 bookTitle
2222 downloadFormats {
23- text
23+ name
2424 file {
2525 url
2626 }
You can’t perform that action at this time.
0 commit comments