File tree 13 files changed +165
-85
lines changed
13 files changed +165
-85
lines changed Original file line number Diff line number Diff line change 1
- < div class ="media-icon media-icon--{{ include.variant }} ">
1
+ < div class ="media-icon ">
2
2
< a class ="media-icon__inner " href ="{{ site.baseurl }}{{ include.href }} ">
3
3
< span class ="media-icon__icon ">
4
- {% include icons/media/ {{ include.icon }} %}
4
+ {% include icons/{{ include.icon }} %}
5
5
</ span >
6
+
6
7
< h5 class ="media-icon__heading "> {{ include.title }}</ h5 >
8
+
7
9
< div class ="media-icon__content ">
8
- {{ include.content }}
10
+ < span > {{ include.content }}</ span >
11
+
12
+ {% if include.variant == 'related' %}
13
+ < span class ="media-icon__related button-link "> Read more</ span >
14
+ {% else %}
15
+ < div class ="media-icon__excerpt button-link flex flex--end flex--middle gutter ">
16
+ < span > Go to the page</ span >
9
17
10
- {% if include.variant == 'large' %}
11
- < span class ="media-icon__excerpt ">
12
- {{ include.excerpt }}
13
- </ span >
18
+ {% include icons/anchor.svg %}
19
+ </ div >
14
20
{% endif %}
15
21
</ div >
16
- {% if include.variant == 'large' %}
17
- < div class ="media-icon__anchor ">
18
- {% include icons/anchor.svg %}
19
- </ div >
20
- {% endif %}
22
+
23
+ < div class ="media-icon__anchor ">
24
+ {% include icons/anchor.svg %}
25
+ </ div >
21
26
</ a >
22
27
</ div >
Original file line number Diff line number Diff line change
1
+ {% for related_url in page.related %}
2
+ {% assign subpage = site.pages | where: 'url', related_url | first %}
3
+
4
+ {% include components/media-icon.html variant="related" href=subpage.url icon=subpage.icon title=subpage.title content=subpage.excerpt %}
5
+ {% endfor %}
Original file line number Diff line number Diff line change 43
43
44
44
< div class ="menu-item__chevron flex__column flex__column--shrink ">
45
45
{% include icons/symbols/chevron-down.svg %}
46
- </ span >
46
+ </ div >
47
47
</ button >
48
48
49
49
< ul class ="menu-item__body menu-item__body--nested " data-ref ="accordion[body] ">
Original file line number Diff line number Diff line change @@ -19,5 +19,11 @@ <h1 id="{{ page.title | downcase }}" class="page__heading">
19
19
< div class ="markdown " data-headings-anchors >
20
20
{{ content }}
21
21
</ div >
22
+
23
+ < hr >
24
+
25
+ {% include components/feedback.html %}
26
+
27
+ {% include components/callout.html %}
22
28
</ div >
23
29
</ article >
Original file line number Diff line number Diff line change 1
1
.media-icon {
2
2
$this : &;
3
3
4
- height : 100% ;
5
4
border : 1px solid color (border-gray );
6
5
background-color : color (white );
7
6
transition : 0.3s box-shadow ;
8
7
border-radius : 8px ;
9
8
10
9
& __inner {
11
10
position : relative ;
12
- padding : 10 px ;
11
+ padding : 15 px ;
13
12
width : 100% ;
14
- height : 100% ;
15
13
color : color (secondary-dark );
16
14
display : grid ;
17
15
column-gap : 15px ;
28
26
}
29
27
}
30
28
31
- svg > * {
29
+ svg {
30
+ color : color (secondary );
32
31
transition : 0.3s fill ;
33
32
}
34
33
39
38
background-color : rgba (color (primary-light ), 0.16 );
40
39
}
41
40
42
- svg > * {
41
+ svg {
43
42
fill : color (primary );
44
43
}
45
44
}
72
71
}
73
72
74
73
& __content {
75
- font-size : 12 px ;
74
+ font-size : 14 px ;
76
75
color : color (secondary-dark );
77
76
margin-top : 15px ;
78
77
grid-area : content ;
79
78
line-height : 1.57 ;
80
79
80
+ & > * + * {
81
+ margin-top : 10px ;
82
+ }
83
+
81
84
@include breakpoint (large up ) {
82
85
margin-top : 0 ;
83
86
grid-area : content ;
84
- font-size : 14px ;
85
87
}
86
88
}
87
89
107
109
108
110
& __excerpt {
109
111
font-size : 14px ;
110
- font-weight : 500 ;
111
112
line-height : 1.43 ;
112
113
color : color (primary );
113
- text-decoration : underline ;
114
+ text-align : right ;
115
+
116
+ svg {
117
+ height : 16px ;
118
+ color : color (primary );
119
+ }
114
120
115
121
@include breakpoint (large up ) {
116
122
display : none ;
117
123
}
118
124
}
119
125
120
- & --small {
121
- #{$this } __inner {
122
- display : flex ;
123
- flex-direction : column ;
124
- align-items : center ;
125
-
126
- @include breakpoint (large up ) {
127
- display : grid ;
128
- grid-template-columns : auto 1fr auto ;
129
- grid-template-rows : repeat (3 , auto );
130
- grid-template-areas : " icon heading" " icon content" " content-mobile content-mobile" ;
131
- }
132
- }
133
-
134
- #{$this } __content {
135
- text-align : center ;
136
- line-height : 1.57 ;
137
- margin-top : 10px ;
138
-
139
- @include breakpoint (large up ) {
140
- text-align : left ;
141
- margin-top : 0 ;
142
- }
143
- }
144
-
145
- #{$this } __heading {
146
- line-height : 1.33 ;
147
- padding-top : 15px ;
126
+ & __related {
127
+ color : color (primary );
148
128
149
- @include breakpoint (large up ) {
150
- text-align : left ;
151
- padding-top : 0 ;
152
- }
129
+ @include breakpoint (large up ) {
130
+ display : none ;
153
131
}
154
132
}
155
133
}
Original file line number Diff line number Diff line change
1
+ code {
2
+ font-size : 14px ;
3
+ }
4
+
1
5
:not (pre ) > code {
2
6
background-color : color (code-background );
3
7
border-radius : 4px ;
Original file line number Diff line number Diff line change 2
2
title : Sources catalog
3
3
hide_toc : true
4
4
landing : true
5
+ icon : symbols/connections.svg
6
+ excerpt : Detailed information about each destination. Learn how our API methods are implemented for that destination.
5
7
---
6
8
7
9
<div class =" l-chiclet-collection " >
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Sources FAQ
3
+ icon : media/icon-academy.svg
4
+ excerpt : Detailed information about each destination. Learn how our API methods are implemented for that destination.
3
5
---
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Platforms
3
3
hidden : true
4
+ icon : media/icon-guides.svg
5
+ excerpt : Detailed information about each destination. Learn how our API methods are implemented for that destination.
4
6
---
5
7
6
8
@@ -23,7 +25,7 @@ We currently offer free plugins for the following platforms:
23
25
24
26
## Guides
25
27
26
- > ** NOTE** : Official Segment support for the following guides are deprecated. These guides may be out of date and thus we recommend using third party guides to integrate with these tools.
28
+ > ** NOTE** : Official Segment support for the following guides are deprecated. These guides may be out of date and thus we recommend using third party guides to integrate with these tools.
27
29
28
30
In addition to native plugins we have written detailed guides for other popular platforms to get you up and running without needing any technical documentation:
29
31
You can’t perform that action at this time.
0 commit comments