Global Elements
2
Footer Header Services Strip Services Tabs
Components
36
Card Carousel Cards Grid Content Overlap Content Strip Cta Bar Featured Article Featured Blocks Featured Expert Featured Pods Featured Tabs Form Block Full Screen Carousel Full Width Content Heading Strip Hero Hero Featured Links List Location Tabs Logo Carousel Map Block People Grid Quote Block Reviews Carousel Reviews Tabs Service Tiles Services Strip Services Tabs Staggered Content Sticky Accordion Sticky List Sub Navigation Team Carousel Team Filters Team Strip Tile Carousel Tile Grid

Team Strip

Meet the team

Simon Deans Profile Thumb
Simon Deans
Senior Partner
Beth_Miel_thumb_ex-1.jpg
Beth Miel
Senior Associate
Victoria Taylor Thumb
Victoria Taylor
Senior Associate
Alex_Zachary_thumb_ex-1.jpg
Alex Zachary
Practice Group Leader
Field
Field Type
Field Name
Instructions
Block Data
tab
Heading Type
select
heading_type
Heading Text
text
heading_text
Copy
wysiwyg
copy
Buttons
repeater
buttons_list
-- Button
link
button
Team Members
relationship
team_members
Block Meta
tab
ID
text
block_id
Block Classes
text
block_classes
Block Theme
select
block_theme
Background Colors
select
background_colors
Padding Top
select
padding_top
Padding Bottom
select
padding_bottom
Margin Top
select
margin_top
Margin Bottom
select
margin_bottom

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

.block-team-strip {
	padding-top: rem-calc(80);
	padding-bottom: rem-calc(16);

	&__grid {
		margin-top: rem-calc(48);
	}

	.heading {
		@include fluid-type(28, 34);
	}
}
class TeamStrip {
	/**
	 * Create and initialise objects of this class
	 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/constructor
	 * @param {object} block
	 */
	constructor() {
		this.blocks = document.querySelectorAll('.block-example');
		this.init();
	}

	/**
	 * Example function to run class logic
	 * Can access `this.block`
	 */
	init() {
		this.blocks.forEach((block) => {
			console.log("🚀 ~ file: Example.js ~ line 20 ~ Example ~ init ~ this.block", block);
		});
	}
}

new TeamStrip();

Animation / States

  • As the user scrolls to this component the copy and each profile image will be lazyloaded fade in one by one
  • On hover, the profile image will slowly expand

External Libraries

  • ScrollTrigger (GSAP)

Notes (Design / Dev / SEO)

  • On fixed template pages the team members will be dynamically pulled in which related to that service/sector. If used on a page, the user will be able to select which team members to feature