Skip to content

Commit f36bada

Browse files
author
markzegarelli
committed
updated designs
1 parent 583d6b8 commit f36bada

File tree

9 files changed

+1700
-810
lines changed

9 files changed

+1700
-810
lines changed

src/_data/catalog/destinations.yml

Lines changed: 1611 additions & 762 deletions
Large diffs are not rendered by default.

src/_includes/content/destination-dossier.html

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,28 @@
2323

2424

2525
<div class="quick-info">
26-
<h3>Quick Info</h3>
26+
<div class="qi-content">
27+
<h4>Destination Info</h4>
2728
<ul class="qi">
28-
<li>Accepts {% for method in destMethods%}{% if destMethods.size == 1 %}{{method}} calls.{% else %}{% unless forloop.last == true %}{{method}}, {% endunless %}{% if forloop.last == true%}and {{method}} calls.{%endif%}{% endif %}{% endfor %}</li>
29+
{% if destMethods.size > 0 %}<li>Accepts {% for method in destMethods%}{% if destMethods.size == 1 %}{{method}} calls.{% else %}{% unless forloop.last == true %}{{method}}, {% endunless %}{% if forloop.last == true%}and {{method}} calls.{%endif%}{% endif %}{% endfor %}</li>{% endif %}
2930
<li>Referred to as <strong>{{destinationInfo.previous_names | join: '</strong>, or <strong>' }}</strong> in the <a href="/docs/guides/filtering-data/#filtering-with-the-integrations-object">Integrations object</a></li>
3031
</ul>
3132
{% if components.size > 0%}
32-
<h3>Connection Modes</h3>
33+
34+
<h4>Components</h4>
35+
<ul class="components-list">
36+
{%for component in components %}
37+
{% if component.code contains "/segment-integrations/" %}
38+
<li><a href="{{component.code}}" target="_blank">{% if component.type == "IOS" %}iOS{%else%}{{component.type | capitalize}}{%endif%}</a></li>
39+
{% else %}
40+
<li>{% if component.type == "IOS" %}iOS{%else%}{{component.type | capitalize}}{%endif%}</li>
41+
{% endif %}
42+
{% endfor %}
43+
</ul>
44+
45+
</div>
46+
<div class="qi-content">
47+
<h4>Connection Modes <a href="/docs/connections/destinations/#connection-modes"><img src="/docs/images/help.svg"/></a></h4>
3348
<table>
3449
<thead>
3550
<tr>
@@ -39,30 +54,19 @@ <h3>Connection Modes</h3>
3954
</thead>
4055
<tbody>
4156
<tr>
42-
<td>Web {% if connectionModes.device.web == true %} {% else %}⬜️{% endif %}</td>
43-
<td>Web {% if connectionModes.cloud.web == true %} {% else %}⬜️{% endif %}</td>
57+
<td> {% if connectionModes.device.web == true %} <img src="/docs/images/supported.svg" /> {% else %}<img src="/docs/images/unsupported.svg" />{% endif %} Web</td>
58+
<td> {% if connectionModes.cloud.web == true %} <img src="/docs/images/supported.svg" /> {% else %}<img src="/docs/images/unsupported.svg" />{% endif %} Web</td>
4459
</tr>
4560
<tr>
46-
<td>Mobile {% if connectionModes.device.mobile == true %} {% else %}⬜️{% endif %}</td>
47-
<td>Mobile {% if connectionModes.cloud.mobile == true %} {% else %}⬜️{% endif %}</td>
61+
<td>{% if connectionModes.device.mobile == true %} <img src="/docs/images/supported.svg" /> {% else %}<img src="/docs/images/unsupported.svg" />{% endif %} Mobile</td>
62+
<td>{% if connectionModes.cloud.mobile == true %} <img src="/docs/images/supported.svg" /> {% else %}<img src="/docs/images/unsupported.svg" />{% endif %} Mobile</td>
4863
</tr>
4964
<tr>
50-
<td>Server ⬜️ </td>
51-
<td>Server {% if connectionModes.cloud.server == true %} {% else %}⬜️{% endif %}</td>
65+
<td> <img src="/docs/images/unsupported.svg" /> Server</td>
66+
<td> {% if connectionModes.cloud.server == true %} <img src="/docs/images/supported.svg" /> {% else %}<img src="/docs/images/unsupported.svg" />{% endif %} Server</td>
5267
</tr>
5368
</tbody>
5469
</table>
55-
56-
<h3>Components</h3>
57-
<ul>
58-
{%for component in components %}
59-
{% if component.code contains "/segment-integrations/" %}
60-
<li><a href="{{component.code}}" target="_blank">{{component.type}}</a></li>
61-
{% else %}
62-
<li>{{component.type }}</li>
63-
{% endif %}
64-
{% endfor %}
65-
</ul>
66-
70+
</div>
6771
{% endif %}
6872
</div>

src/_layouts/destination.html

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,24 @@
22
layout: integration
33
---
44
<div class="markdown">
5-
{% assign newContent = '' %}
6-
{% assign sections = content | split:'</h2>' %}
7-
5+
86

9-
{% if page.hide-dossier != true or page.name == "index.md" %}
10-
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}
11-
12-
{% for section in sections %}
13-
{% if forloop.index == 1 %}
14-
{{newContent | append: section}}
15-
{{newContent | append: '</h2> <!--insert-->'}}
16-
{{destination-dossier | markdownify}}
7+
{% if page.hide-dossier != true %}
8+
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}
9+
10+
{{destination-dossier | markdownify}}
1711

18-
{% else %}
19-
{{newContent | append: section}}
20-
{{newContent | append: '</h2> <!--insert-->'}}
21-
{% endif %}
22-
{% endfor %}
12+
{% endif %}
2313

2414

25-
{% else %}
2615

2716
{% if page.maintenance == true %}
2817
{% capture maintenance-mode %}{% include content/destination-maintenance.md %}{% endcapture %}
2918
{{maintenance-mode | markdownify}}
3019
{% endif %}
3120

3221
{{ content }}
33-
{% endif %}
22+
3423
{% unless page.hide-boilerplate == true %}
3524
{% capture destination-footer %}{% include content/destination-footer.md %}{% endcapture %}
3625
{{ destination-footer | markdownify }}

src/_sass/components/_quickinfo.scss

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,48 @@
1818
border-radius: 5px;
1919
padding: 10px;
2020
z-index: 1000;
21+
display: flex;
22+
23+
.qi-content{
24+
flex: 50%;
25+
padding: 10px;
26+
}
2127

2228
@include breakpoint(small down) {
2329
max-width: 100%;
2430
float: none;
2531
}
2632

33+
h4 {
34+
font-size: 14px;
35+
font-weight: 500;
36+
line-height: 24px;
37+
}
38+
2739
table {
40+
margin-top: 12px;
2841
th {
29-
font-size: 12px;
42+
font-size: 14px;
3043
font-weight: 600;
3144
padding: 5px 13px;
32-
background-color: white;
45+
background-color: #F4F6FA;
3346
text-transform: none;
3447
color: #474D66;
48+
height: 44px;
3549
}
3650
td {
3751
padding: 8px 14px;
3852
background-color: white;
3953
border: none;
40-
font-size: 12px;
54+
font-size: 14px;
55+
height: 40px;
56+
vertical-align: middle;
57+
img {
58+
border: none;
59+
display: inline;
60+
margin: 0;
61+
vertical-align: inherit;
62+
}
4163
}
4264
}
4365

@@ -50,30 +72,45 @@
5072
h3:first-of-type {
5173
margin-top:0px;
5274
}
75+
h4:nth-of-type(2){
76+
margin-top: 16px;
77+
}
5378
ul li {
54-
font-size: 12px;
55-
line-height: 1.5;
56-
margin-top: 0px;
79+
font-size: 14px;
80+
line-height: 24px;
81+
}
82+
ul li:first-of-type {
83+
margin-bottom: 16px;
5784
}
58-
5985
ul li:before{
6086
width: 5px;
6187
height: 5px;
6288
background-color: #8f95b2;
6389
border-radius: 50%;
6490
transform: translate(-16px, 7px);
6591
}
92+
ul.components-list {
93+
list-style-type: none;
94+
95+
li {
96+
float: left;
97+
margin: 8px 10px 0 0;
98+
}
6699

100+
li:before {
101+
content: none;
102+
}
103+
}
67104
p {
68-
font-size: 12px;
105+
font-size: 14px;
69106
}
70107
.links {
71108
margin-top: 15px;
72109
}
73110
a {
74111
display: inline-block;
75112
img {
76-
height: 24px;
113+
height: 14px;
77114
margin: 0;
78115
border: none;
79116
}

src/connections/destinations/catalog/google-analytics/ga4-plans.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 'Google Analytics 4 destination'
33
strat: google
4+
hide-dossier: true
45
---
56

67
Google introduced the new version of Google Analytics, called Google Analytics 4 (GA4), in October 2020. GA4 has some distinct differences from Universal Analytics (UA), which are important to understand before considering migration and the data schema changes that might require.

src/connections/destinations/catalog/google-analytics/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Google Universal Analytics Destination
33
strat: google
4+
hide-dossier: true
45
---
56

67
> warning "Migrate mobile implementations to Firebase"

src/images/help.svg

Lines changed: 3 additions & 0 deletions
Loading

src/images/supported.svg

Lines changed: 3 additions & 0 deletions
Loading

src/images/unsupported.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)