From ba5e5ff9a18b41a46353d48ab9821aeccd225f6e Mon Sep 17 00:00:00 2001 From: Klaudia Date: Mon, 14 Oct 2019 11:32:09 +0200 Subject: [PATCH 1/2] fix(): FAQ read more link --- src/_includes/components/faq.html | 4 ++++ src/_sass/components/_accordion.scss | 12 ++++++------ src/index.md | 1 + src/styleguide.md | 6 ++++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/_includes/components/faq.html b/src/_includes/components/faq.html index b437541a6b..421374abaa 100644 --- a/src/_includes/components/faq.html +++ b/src/_includes/components/faq.html @@ -14,6 +14,10 @@

{{ item[0] }}

{{ itemEl.content | markdownify }} + + {% if itemEl.link %} + Read more + {% endif %}
{% endfor %} diff --git a/src/_sass/components/_accordion.scss b/src/_sass/components/_accordion.scss index 29b1c7d5f4..653c8f0c60 100644 --- a/src/_sass/components/_accordion.scss +++ b/src/_sass/components/_accordion.scss @@ -32,13 +32,13 @@ @include breakpoint(medium up) { padding-right: 45px; } + } - a { - text-decoration: underline; - font-weight: 500; - display: block; - margin-top: 7px; - } + &__link { + text-decoration: underline; + font-weight: 500; + display: block; + margin-top: 7px; } &__icon { diff --git a/src/index.md b/src/index.md index 8ac8b23108..b469c2f559 100644 --- a/src/index.md +++ b/src/index.md @@ -15,6 +15,7 @@ redirect_from: - '/troubleshooting/data' --- +# H1 Welcome to the Segment! Get familiar with our products, features, and integrations! diff --git a/src/styleguide.md b/src/styleguide.md index 09c1e55192..4752177d6a 100644 --- a/src/styleguide.md +++ b/src/styleguide.md @@ -6,15 +6,17 @@ layout: page faq: Source: - title : "Should I track client or server-side?" - content : "One of the most common questions we receive is: “Should I use one of your client-side libraries or one of your server-side libraries?” This is such an important topic that we’ve written up an in-depth article in our Analytics Academy: When to Track on the Client vs Server. It’s worth a read! - [Read more](#)" + content : "One of the most common questions we receive is: “Should I use one of your client-side libraries or one of your server-side libraries?” This is such an important topic that we’ve written up an in-depth article in our Analytics Academy: When to Track on the Client vs Server. It’s worth a read!" + link: /sources/catalog - title : "What are best practices in identifying users?" content : "One of the most common questions we receive is: “Should I use one of your client-side libraries or one of your server-side libraries?” This is such an important topic that we’ve written up an in-depth article in our Analytics Academy: When to Track on the Client vs Server. It’s worth a read!" Cloud Sources: - title : "What are cloud sources?" content : "One of the most common questions we receive is: “Should I use one of your client-side libraries or one of your server-side libraries?” This is such an important topic that we’ve written up an in-depth article in our Analytics Academy: When to Track on the Client vs Server. It’s worth a read!" + link: /sources - title : "How do cloud sources work?" content : "One of the most common questions we receive is: “Should I use one of your client-side libraries or one of your server-side libraries?” This is such an important topic that we’ve written up an in-depth article in our Analytics Academy: When to Track on the Client vs Server. It’s worth a read!" + link: /sources/catalog contributors: - name: Paul Mccall position: Lead Developer From a65700868774fe0234bc6aa37cf0176da6375dd0 Mon Sep 17 00:00:00 2001 From: Klaudia Date: Mon, 14 Oct 2019 11:52:52 +0200 Subject: [PATCH 2/2] Update index.md --- src/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.md b/src/index.md index b469c2f559..8ac8b23108 100644 --- a/src/index.md +++ b/src/index.md @@ -15,7 +15,6 @@ redirect_from: - '/troubleshooting/data' --- -# H1 Welcome to the Segment! Get familiar with our products, features, and integrations!