diff --git a/src/_data/support-types.yml b/src/_data/support-types.yml new file mode 100644 index 0000000000..2293e70704 --- /dev/null +++ b/src/_data/support-types.yml @@ -0,0 +1,10 @@ +types: + - display_name: Community + slug: community + support-note: "This integration is supported by the community members who maintain it." + - display_name: Legacy + slug: legacy + support-note: "This integration is no longer supported by Segment." + - display_name: Flagship + slug: flagship + support-note: "This integration is officially supported by Segment." diff --git a/src/_includes/content/support-grid.md b/src/_includes/content/support-grid.md new file mode 100644 index 0000000000..48dd268659 --- /dev/null +++ b/src/_includes/content/support-grid.md @@ -0,0 +1,36 @@ + +{% assign supportTypesData = site.data.support-types.types %} +{% assign supportType = supportTypesData | where: "slug", page.support_type | first %} + +{% if supportType %} + +
+
+ +{% for item in supportTypesData %} +{% if item.slug == supportType.slug %} +
+ {{item.display_name | capitalize }} ✓ +
+{% else %} +
+ {{item.slug | capitalize }} x +
+{% endif %} +{% endfor %} + +
+ ? +
+
+ +
+{% if supportType.support-note %} +

{{supportType.support-note}}

+{% endif %} +
+
+{% endif %} \ No newline at end of file diff --git a/src/_layouts/integration.html b/src/_layouts/integration.html index ee35f10b53..cc14b6261e 100644 --- a/src/_layouts/integration.html +++ b/src/_layouts/integration.html @@ -48,6 +48,7 @@

{{ page.title }}

+ {% include content/support-grid.md %} {%- endif -%} {%- if page.excerpt -%} diff --git a/src/_sass/components/_badge.scss b/src/_sass/components/_badge.scss index d2297a8f7e..db144da826 100644 --- a/src/_sass/components/_badge.scss +++ b/src/_sass/components/_badge.scss @@ -23,6 +23,10 @@ background-color: lighten(color(error), 10%); color: white; } + &--warning { + background-color: lighten(color(warning), 40%); + color: color(warning-dark); + } &--none { background-color: white; diff --git a/src/connections/sources/catalog/libraries/mobile/react-native/index.md b/src/connections/sources/catalog/libraries/mobile/react-native/index.md index cc5110e75c..614a0b8e7b 100644 --- a/src/connections/sources/catalog/libraries/mobile/react-native/index.md +++ b/src/connections/sources/catalog/libraries/mobile/react-native/index.md @@ -2,6 +2,7 @@ title: Analytics for React Native strat: react-native id: B0X0QmvMny +support_type: flagship --- With Analytics for React Native, you can collect analytics in your React Native application and send data to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics React Native enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations. diff --git a/src/connections/sources/catalog/libraries/mobile/xamarin/index.md b/src/connections/sources/catalog/libraries/mobile/xamarin/index.md index e6266027a9..92137a2088 100644 --- a/src/connections/sources/catalog/libraries/mobile/xamarin/index.md +++ b/src/connections/sources/catalog/libraries/mobile/xamarin/index.md @@ -3,6 +3,7 @@ title: Analytics for Xamarin sourceTitle: 'Xamarin' sourceCategory: 'Mobile' id: wcssVcPJrc +support_type: community --- Segment's [Xamarin](http://xamarin.com/) Portable Class Library ([PCL](http://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/)) is the best way to integrate analytics into your Xamarin application. It lets you record analytics data from your C#, F#, and .NET code, and supports `PCL Profile 4.0 - Profile136`, which targets the following platforms: diff --git a/src/connections/sources/catalog/libraries/server/net/index.md b/src/connections/sources/catalog/libraries/server/net/index.md index 7a185dab1d..8638be5101 100644 --- a/src/connections/sources/catalog/libraries/server/net/index.md +++ b/src/connections/sources/catalog/libraries/server/net/index.md @@ -2,6 +2,7 @@ title: Analytics for .NET repo: analytics.NET id: 8HWbgPTt3k +support_type: legacy tags: - C# - C-sharp