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

Basic Hero

MANAGED CLOUD SERVICES

CloudCore

Field
Field Type
Field Name
Instructions
Block Data
tab
Overline
text
overline
Heading Type
select
heading_type
Heading Text
textarea
heading_text
Content
wysiwyg
content
Button Type
select
button_button_type
Button Color
select
button_button_color
Button Link
link
button_button_link
Background Image
image
background_img
Block Meta
tab
ID
text
block_id
Block Classes
text
block_classes
Margin Top
select
margin_top
Margin Bottom
select
margin_bottom
Content Alignment
select
content_alignment

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

.block-basic-hero {
	position: relative;
	background: $grey-primary;
	min-height: rem-calc(648);
	display: flex;
	align-items: center;
	
	&__wrapper {
		padding: 4rem 0;
		position: relative;
		z-index: 5;
		
		.overline{
            margin-bottom: rem-calc(16);
        }

		.heading {
			@include fluid-type(24, 64, 375, $max-container-size);
			margin-bottom: 1rem;			
		}

		ol {
			li {

				margin-bottom: 1rem;

				&:last-of-type {
					margin-bottom: 0;
				}
			}
		}
		.btn{
			width: 100%;
			color: $white;	

			@include bp($md){
				width: auto;
			}

			&--tertiary{
				&::after{
					background-image: url("data:image/svg+xml,%3Csvg fill='none' width='14' height='13' xmlns='http://www.w3.org/2000/svg' viewBox='-0.17 0.52 13.87 12.58'%3E%3Cpath d='M0.334961 6.80981H13.2057' stroke='%23ffffff'%3E%3C/path%3E%3Cpath d='M7.47852 1.01758L13.2036 6.80911L7.47852 12.6013' stroke='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
				}
			}
		}
	}
	&__image img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		z-index: 1;
	}
	&.content-alignment-left {
		text-align: left;

		.block-basic-hero__wrapper {
			max-width: rem-calc(610);
		}
	}
	&.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;
			bottom: 0;
			left: 0;
			width: 100%;
			height: rem-calc(375);
			background: rgb(0,0,0);
			background: linear-gradient(180deg,  rgba(0,0,0,0) 0.09%, rgba(0,0,0,1) 99.75%);
		}
		&:before {
			content: "";
			z-index: 2;
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 100%;
			max-width: 1431px;
			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.
There are is no readme file with this component.