File tree Expand file tree Collapse file tree
Resources/Private/Partials/ContentElements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ < f:if condition ="{data.header_layout} !== 100 ">
2+ < header {f:if(condition: data.header_position, then: ' class="{data.header_position} "')}>
3+ < f:render section ="mainheader " arguments ="{_all} "/>
4+ < f:if condition ="{data.subheader} ">
5+ < f:render section ="subheader " arguments ="{_all} "/>
6+ </ f:if >
7+ </ header >
8+ </ f:if >
9+
10+ < f:section name ="mainheader ">
11+ < f:switch expression ="{data.header_layout} ">
12+ < f:case value ="1 ">
13+ < h1 > {data.header}</ h1 >
14+ </ f:case >
15+ < f:case value ="2 ">
16+ < h2 > {data.header}</ h2 >
17+ </ f:case >
18+ < f:case value ="3 ">
19+ < h3 > {data.header}</ h3 >
20+ </ f:case >
21+ < f:case value ="4 ">
22+ < h4 > {data.header}</ h4 >
23+ </ f:case >
24+ < f:case value ="5 ">
25+ < h5 > {data.header}</ h5 >
26+ </ f:case >
27+ < f:case value ="100 "> </ f:case >
28+ < f:defaultCase >
29+ < h2 > {data.header}</ h2 >
30+ </ f:defaultCase >
31+ </ f:switch >
32+ </ f:section >
33+
34+ < f:section name ="subheader ">
35+ < f:switch expression ="{data.header_layout} ">
36+ < f:case value ="1 ">
37+ < h2 class ="fs-3 "> {data.subheader}</ h2 >
38+ </ f:case >
39+ < f:case value ="2 ">
40+ < h3 class ="fs-4 "> {data.subheader}</ h3 >
41+ </ f:case >
42+ < f:case value ="3 ">
43+ < h4 class ="fs-5 "> {data.subheader}</ h4 >
44+ </ f:case >
45+ < f:case value ="4 ">
46+ < h5 class ="fs-6 "> {data.subheader}</ h5 >
47+ </ f:case >
48+ < f:case value ="5 ">
49+ < h6 class ="small "> {data.subheader}</ h6 >
50+ </ f:case >
51+ < f:case value ="100 "> </ f:case >
52+ < f:defaultCase >
53+ < h3 > {data.subheader}</ h3 >
54+ </ f:defaultCase >
55+ </ f:switch >
56+ </ f:section >
Original file line number Diff line number Diff line change 1+ < f:switch expression ="{layout} ">
2+ < f:case value ="1 ">
3+ < h1 class ="card-header "> {header}</ h1 >
4+ </ f:case >
5+ < f:case value ="2 ">
6+ < h2 class ="card-header "> {header}</ h2 >
7+ </ f:case >
8+ < f:case value ="3 ">
9+ < h3 class ="card-header "> {header}</ h3 >
10+ </ f:case >
11+ < f:case value ="4 ">
12+ < h4 class ="card-header "> {header}</ h4 >
13+ </ f:case >
14+ < f:case value ="5 ">
15+ < h5 class ="card-header "> {header}</ h5 >
16+ </ f:case >
17+ < f:case value ="100 ">
18+ </ f:case >
19+ < f:defaultCase >
20+ < div class ="card-header "> {header}</ div >
21+ </ f:defaultCase >
22+ </ f:switch >
You can’t perform that action at this time.
0 commit comments