<div class="get-started-content get-started-faq" data-page="get-started-faq" data-behavior="get-started-faq">
<div class="get-started-index-card-image">
<picture>
<source media="(max-width: 819px)" srcset="/assets/example-content/get-started-v2/get-started-faq-mob.jpg">
<source media="(min-width: 820px)" srcset="/assets/example-content/get-started-v2/get-started-faq-desk.jpg">
<img class="bg-image" src="/assets/example-content/get-started-v2/get-started-faq-desk.jpg" alt="" loading="lazy">
</picture>
</div>
<div class="get-started-faq__overlay">
<div class="get-started-faq__overlay--wrapper">
<div class="slides-container">
<ul class="slides">
<li class="step-1">
<div class="get-started-index-card-text">
<div class="get-started-index-card-text__wrapper white">
<div class="category">still not sure</div>
<h2>Frequently asked questions about getting involved in grassroots football</h2>
<p>Before you get started you have to do...</p>
</div>
</div>
</li>
<li class="step-2">
<div class="accordion" data-behaviour="accordion">
<div class="accordion__content">
<h3>
<button class="accordion__trigger" id="question-1.1" aria-expanded="false" aria-controls="question-1.1-panel">
I want to get involved but don't want to be a coach, what are my options?
<span class="accordion__trigger-icon fill-arrow"></span>
</button>
</h3>
<div class="accordion__panel" id="question-1.1-panel" role="region" aria-labelledby="question-1.1">
<div class="accordion__panel--aligncontent" aria-hidden="true">
<div class="rte-content rte-content--normal">
<p>I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers I want to get involved but don't want to be a coach, I want to get involved but don't want to be a coach, what are my options? I want to get involved but don't want to be a coach, what are my options? I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach what are my options? I want to get involved but don't want to be a coach, what are my options? I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach</p>
</div>
</div>
</div>
</div>
<div class="accordion__content">
<h3>
<button class="accordion__trigger" id="question-1.2" aria-expanded="false" aria-controls="question-1.2-panel">
I'm ready to get involved, how can I find local opportunities or clubs?
<span class="accordion__trigger-icon fill-arrow"></span>
</button>
</h3>
<div class="accordion__panel" id="question-1.2-panel" role="region" aria-labelledby="question-1.2">
<div class="accordion__panel--aligncontent" aria-hidden="true">
<div class="rte-content rte-content--normal">
<p>I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers</p>
</div>
</div>
</div>
</div>
<div class="accordion__content">
<h3>
<button class="accordion__trigger" id="question-1.3" aria-expanded="false" aria-controls="question-1.3-panel">
Can I continue my learning outside of courses?
<span class="accordion__trigger-icon fill-arrow"></span>
</button>
</h3>
<div class="accordion__panel" id="question-1.3-panel" role="region" aria-labelledby="question-1.3">
<div class="accordion__panel--aligncontent" aria-hidden="true">
<div class="rte-content rte-content--normal">
<p>I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers</p>
</div>
</div>
</div>
</div>
<div class="accordion__content">
<h3>
<button class="accordion__trigger" id="question-1.4" aria-expanded="false" aria-controls="question-1.4-panel">
Can I access additional support or funding for courses?
<span class="accordion__trigger-icon fill-arrow"></span>
</button>
</h3>
<div class="accordion__panel" id="question-1.4-panel" role="region" aria-labelledby="question-1.4">
<div class="accordion__panel--aligncontent" aria-hidden="true">
<div class="rte-content rte-content--normal">
<p>I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers</p>
</div>
</div>
</div>
</div>
<div class="accordion__content">
<h3>
<button class="accordion__trigger" id="question-1.5" aria-expanded="false" aria-controls="question-1.5-panel">
I want to get involved but don't want to be a coach, what are my options?
<span class="accordion__trigger-icon fill-arrow"></span>
</button>
</h3>
<div class="accordion__panel" id="question-1.5-panel" role="region" aria-labelledby="question-1.5">
<div class="accordion__panel--aligncontent" aria-hidden="true">
<div class="rte-content rte-content--normal">
<p>I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers</p>
</div>
</div>
</div>
</div>
<div class="accordion__content">
<h3>
<button class="accordion__trigger" id="question-1.6" aria-expanded="false" aria-controls="question-1.6-panel">
Can I continue my learning outside of courses?
<span class="accordion__trigger-icon fill-arrow"></span>
</button>
</h3>
<div class="accordion__panel" id="question-1.6-panel" role="region" aria-labelledby="question-1.6">
<div class="accordion__panel--aligncontent" aria-hidden="true">
<div class="rte-content rte-content--normal">
<p>I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers</p>
</div>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
No notes defined.
{
"background-img": {
"smallimage": "/assets/example-content/get-started-v2/get-started-faq-mob.jpg",
"bigimage": "/assets/example-content/get-started-v2/get-started-faq-desk.jpg"
},
"overlay-text": {
"category": "still not sure",
"title": "Frequently asked questions about getting involved in grassroots football",
"copy": "Before you get started you have to do...",
"modifier": "white"
},
"faq": {
"data": [
{
"questions": [
{
"id": "question-1.1",
"question": "I want to get involved but don't want to be a coach, what are my options?",
"answer": {
"content": [
{
"text": "I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers I want to get involved but don't want to be a coach, I want to get involved but don't want to be a coach, what are my options? I want to get involved but don't want to be a coach, what are my options? I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach what are my options? I want to get involved but don't want to be a coach, what are my options? I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach I There are so many ways to get involved in football outside of being a coach"
}
]
}
},
{
"id": "question-1.2",
"question": "I'm ready to get involved, how can I find local opportunities or clubs?",
"answer": {
"content": [
{
"text": "I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers"
}
]
}
},
{
"id": "question-1.3",
"question": "Can I continue my learning outside of courses?",
"answer": {
"content": [
{
"text": "I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers"
}
]
}
},
{
"id": "question-1.4",
"question": "Can I access additional support or funding for courses?",
"answer": {
"content": [
{
"text": "I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers"
}
]
}
},
{
"id": "question-1.5",
"question": "I want to get involved but don't want to be a coach, what are my options?",
"answer": {
"content": [
{
"text": "I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers"
}
]
}
},
{
"id": "question-1.6",
"question": "Can I continue my learning outside of courses?",
"answer": {
"content": [
{
"text": "I There are so many ways to get involved in football outside of being a coach. Take a look at some of our other courses and find something suitable for you: -Medical Courses -Safeguarding Courses -Talent ID/Scouting Courses -PE CPD for Teachers"
}
]
}
}
]
}
]
}
}
import { animationTime } from '../../modules/efl-get-started/efl-get-started';
export default parentElement => {
const MOBILE_BREAKPOINT = 768;
let sectionWidth;
if (window.innerWidth <= MOBILE_BREAKPOINT) {
sectionWidth = window.innerWidth;
} else {
sectionWidth = window.innerWidth;
}
const renderSlide = parentElement.querySelectorAll('.slides > *');
// eslint-disable-next-line no-param-reassign
parentElement.querySelector('.slides').style.width = `${sectionWidth *
renderSlide.length}px`;
// eslint-disable-next-line no-param-reassign
parentElement.querySelector(
'.slides'
).style.transition = `transform ${animationTime}ms cubic-bezier(0.16, 1, 0.3, 1)`;
renderSlide.forEach(slide => {
// eslint-disable-next-line no-param-reassign
slide.style.width = `${sectionWidth}px`;
});
};
.get-started-faq {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
transform: translateY(0);
transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1);
&.visually-hidden {
overflow: initial !important;
}
&::before {
content: '';
width: 100%;
height: 100%;
position: absolute;
background: url('./assets/example-content/get-started-v2/noise.png') repeat
center;
}
&__overlay {
position: absolute;
top: 0;
height: 100vh;
width: 100vw;
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
&::before {
content: '';
background: linear-gradient(
180deg,
rgba(29, 29, 27, 0.1) 0%,
rgba(29, 29, 27, 0.35) 100%
);
width: 100%;
height: 100%;
position: absolute;
top: 0;
z-index: 1;
}
&::after {
content: '';
background: linear-gradient(
180deg,
rgba(29, 29, 27, 0.1) 0%,
rgba(29, 29, 27, 0.35) 100%
);
width: 100%;
height: 100%;
position: absolute;
top: 0;
z-index: 2;
}
&--wrapper {
position: relative;
z-index: 3;
height: 100vh;
margin: 0 auto;
.slides-container {
max-height: 100vh;
overflow: hidden;
}
.slide-overlay {
&::before {
content: '';
background: #000;
width: 100%;
height: 100vh;
position: absolute;
opacity: 0;
transition: opacity 600ms ease;
}
&.active {
&::before {
opacity: 0.6;
}
}
}
.slides {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
white-space: initial;
flex-direction: row;
padding-left: 0;
transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1);
& > li {
display: flex;
justify-content: center;
min-height: 100vh;
align-items: center;
& > div {
display: flex;
margin: 0 3.2rem;
flex-direction: column;
}
}
& > li:last-of-type {
.accordion {
width: 100%;
max-width: 70.5rem;
max-height: 45rem;
position: relative;
z-index: 1;
overflow: hidden;
overflow-y: scroll;
}
.accordion::-webkit-scrollbar {
width: 0;
}
.accordion::-webkit-scrollbar-track {
background: transparent;
-webkit-border-radius: 1rem;
border-radius: 1rem;
}
.accordion::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 1rem;
}
.accordion .accordion__content {
background: none;
border-radius: unset;
margin-bottom: 0;
border-bottom: 0.1rem solid $color-interface-light;
&:first-of-type {
border-top: 0.1rem solid $color-interface-light;
}
}
.accordion__trigger {
font-weight: 500;
line-height: 2.4rem;
letter-spacing: -0.01em;
background: none;
padding: 3rem 0 2.7rem 0;
color: $white;
}
.accordion__trigger-icon {
background: url('./assets/images/get-started-arrow-down.svg')
no-repeat center;
height: 3.2rem;
max-width: 3.3rem;
}
.accordion__trigger[aria-expanded='true'] > .accordion__trigger-icon {
background: url('./assets/images/get-started-arrow-up.svg')
no-repeat center;
}
.accordion__panel {
background: none;
color: $white;
transition: all 600ms ease-in-out;
overflow-y: auto;
}
.accordion__panel::-webkit-scrollbar {
width: 0.5rem;
}
.accordion__panel::-webkit-scrollbar-track {
background: $black2;
-webkit-border-radius: 0.2rem;
border-radius: 0.2rem;
}
.accordion__panel::-webkit-scrollbar-thumb {
background-color: $alto2;
border-radius: 0.2rem;
}
.accordion__panel.open-accordion {
max-height: 14rem;
margin-bottom: 1.6rem;
}
.accordion__panel .rte-content {
color: $white;
}
.accordion__panel a:not(.cta) {
color: $light-blue;
}
.accordion__panel--aligncontent {
padding: 0 1.6rem 1.6rem 0;
}
.accordion strong {
color: $light-blue;
}
}
}
.get-started-next-prev-cta {
display: flex;
position: absolute;
bottom: 14.4rem;
width: 100%;
height: 3.2rem;
flex-direction: row;
justify-content: space-between;
}
.prev-step {
display: flex;
position: relative;
bottom: 0;
left: 6rem;
width: 15.8rem;
height: 3.2rem;
z-index: 9;
cursor: pointer;
}
.next-step {
display: flex;
position: relative;
bottom: 0;
right: 6rem;
width: 15.8rem;
height: 3.2rem;
z-index: 9;
cursor: pointer;
}
}
}
@media screen and (min-width: 768px) {
&__overlay {
&--wrapper {
.slides {
align-items: center;
& > li {
position: relative;
width: 100%;
}
}
.step-1 {
& > div {
width: 100vw;
max-width: 128.6rem;
}
}
}
}
}
}
<div class="get-started-content get-started-faq" data-page="get-started-faq" data-behavior="get-started-faq">
{{render '@get-started-index-card-image' background-img merge="true"}}
<div class="get-started-faq__overlay">
<div class="get-started-faq__overlay--wrapper">
<div class="slides-container">
<ul class="slides">
<li class="step-1">
{{render '@get-started-index-card-text' overlay-text merge="true"}}
</li>
<li class="step-2">
{{render '@accordion' faq merge="true"}}
</li>
</ul>
</div>
</div>
</div>
</div>