Components
54
Accordion Items Basic Hero Basic Map Benefits Card Grid Career Testimonials Case Study Carousel Case Study Content Two Column Contact Form Content Centred Content Image Content Three Columns Content Two Column Content Video Cookie Table Cta Blocks Example Faqs Featured Card Featured Latest Cards Footer Banner Glossary Items Hero Insights Hero Rounded Hero With Featured Insight Home Hero Icon Carousel Image Link Carousel Image Link Carousel 2×2 Image Link Grid Insight Content Job Listing Large Image Large Testimonial Leadership Grid Link Grid Locations Locations Archive Logo Scroller Page Heading People Carousel Related Services Resources Carousel Section Anchors Separator Service Hero Services List Services Tabs Tech Partners Testimonial Carousel Testimonial Single Use Case Component Values Scroller Video

Large Testimonial

Field
Field Type
Field Name
Instructions
Block Data
tab
Content
wysiwyg
content
Background Image
image
background_img
Testimonials
relationship
testimonials
Block Meta
tab
ID
text
block_id
Block Classes
text
block_classes
Margin Top
select
margin_top
Margin Bottom
select
margin_bottom
Padding Top
select
padding_top
Padding Bottom
select
padding_bottom

				
@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";

.block-large-testimonial {
	position: relative;
	display: flex;
	align-items: center;
	
	&__wrapper {
		padding: rem-calc(50 0 50 0);
		position: relative;
		z-index: 5;
        @include bp($lg){
            padding: rem-calc(228 0 55 0);
        }
	}
	&__image img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		z-index: 1;
	}
	.content {
		font-size: rem-calc(20);
        line-height: rem-calc(28);
        letter-spacing: 0.05em;
        font-weight: 400;
        margin-bottom: rem-calc(32);
        color: $white;
        max-width: rem-calc(856);

        @include bp($lg){
            font-size: rem-calc(40);
            line-height: rem-calc(48);
            margin-bottom: rem-calc(102);
        }
	}
    &-wrap{
        position: relative;
        background: $grey-tertiary;
        border-radius: 24px;
        padding: rem-calc(32 16);
        margin: 0 auto;
        
        @include bp($lg){
            padding: rem-calc(64 48 64 48);
            border-radius: 40px;
        }
    }
    .ts{
        
        &-wrap{
            display: flex;
            flex-direction: column-reverse;
            
            @include bp($lg){
                flex-direction: row;
                align-items: center;
            }
        }
        &-content{
            font-size: rem-calc(18);
            line-height: rem-calc(26);
            letter-spacing: 0.05em;

            @include bp($lg){
                font-size: rem-calc(24);
                line-height: rem-calc(32);
                &.has-logo{
                    width: 65%;
                    padding-right: rem-calc(113);
                }
            }

            .quote-icon{
                margin-bottom: rem-calc(28);
                @include bp($lg){
                    margin-bottom: rem-calc(48);
                }
            }

            p{
                font-size: rem-calc(18);
                line-height: rem-calc(26);
                letter-spacing: 0.05em;

                @include bp($lg){
                    font-size: rem-calc(24);
                    line-height: rem-calc(32);
                }

                &.ts-by{
                    font-size: rem-calc(18);
                    line-height: rem-calc(26);
                    letter-spacing: 0.05em;
                    margin: 0;
                    @include bp($lg){
                        font-size: rem-calc(20);
                        line-height: rem-calc(32);
                        width: 64.91%;
                        padding-right: rem-calc(74);
                    }
                }
            }
        }

        &-image{
            margin: 0 auto rem-calc(56) auto;
            @include bp($lg){
                margin: 0;
            }
        }
    }
	&.content-alignment-right {
		text-align: right;

		.block-basic-hero__wrapper {
			max-width: rem-calc(610);
		}
		.container {
			display: flex;
			justify-content: flex-end;
		}
		.btn {
			margin-right: 0;
			margin-left: 1rem;
		}
	}
	&.content-alignment-center {
		text-align: center;

		.btn {
			margin-right: 0.5rem;
			margin-left: 0.5rem;
		}
		.block-basic-hero__wrapper {
			max-width: rem-calc(610);
			margin: 0 auto;
		}
	}
	&.has-img {
		&:after {
			content: "";
			z-index: 2;
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: rem-calc(375);
			background: rgb(0,0,0);
			background: linear-gradient(180deg, rgba(0,0,0,1) 0.09%, rgba(0,0,0,0) 99.75%);
		}
		&:before {
			content: "";
			z-index: 2;
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgb(0,0,0);
			background: linear-gradient(90.1deg, #000000 0.09%, rgba(0, 0, 0, 0) 99.75%);
		}
		h1,
		h2,
		h3,
		h4,
		p {
			color: $white;
		}
	}
}
There are is no JavaScript file with this component.
This component is not currently used on any pages.
There are is no readme file with this component.