Skip to content

Commit

Permalink
Merge pull request #2408 from mainmatter/yaigrie/fix-git-cta
Browse files Browse the repository at this point in the history
move cta from post to layout
  • Loading branch information
marcoow authored May 15, 2024
2 parents 214ad35 + fdd33e6 commit 7365981
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/global/interface-inventory-workshop-cta.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A call-to-action meant to be displayed at the beginning of a blog post.
set content = {
"title": "Looking to move towards a design system?",
"text": "We help teams create an interface inventory and start their journey towards a design system with our design system kickoff workshop.",
"linkUrl": "/services/workshops/design-system-kickoff-interface-inventory/",
"linkUrl": "/services/workshops/design-system-kickoff-interface-inventory",
"linkText": "Book workshop!"
}
%}
Expand Down
6 changes: 6 additions & 0 deletions src/components/service-cta.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
{% if tag === "ember" %}
{% include "global/ember-cta.njk" %}
{% endif %}
{% if tag === "git" %}
{% include "global/git-workshop-cta.njk" %}
{% endif %}
{% if tag === "design" %}
{% include "global/interface-inventory-workshop-cta.njk" %}
{% endif %}
{% endfor %}
{% endif %}
{%- endmacro -%}
6 changes: 1 addition & 5 deletions src/posts/2021-05-26-keeping-a-clean-git-history.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Git Good - The magic of keeping a clean Git history"
authorHandle: real_ate
tags: misc
tags: [git, misc]
bio: "Senior Software Engineer, Ember Learning Core Team member"
description: |
Chris Manson goes into detail about the benefits of a clean git history and
Expand All @@ -13,8 +13,6 @@ tagline: |
<p>This post is designed to help you form a solid mental model while working with Git both professionally and in an open source project, and how to ensure you are following best practices to make the process easier for everyone.</p>
---

{% include "global/git-workshop-cta.njk" %}

This topic was inspired by some of my pairing sessions with my colleague
[Tobias Bieniek](https://twitter.com/tobiasbieniek) and the concepts laid out in
this post have become invaluable to me while working with open source
Expand Down Expand Up @@ -342,5 +340,3 @@ merging, squashing, and rebasing.

While everything in this post is completely optional, I hope that you can see
the benefits and maybe adopt some of the ideas in your own workflow.

{% include "global/git-workshop-cta.njk" %}
6 changes: 1 addition & 5 deletions src/posts/2021-06-02-how-to-create-an-interface-inventory.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "How to create an interface inventory"
authorHandle: msmarhigh
tags: process
tags: [process, design]
bio: "Director of Product Design"
description: "Mar High on how to create an interface inventory"
og:
Expand All @@ -10,8 +10,6 @@ tagline: |
<p>Are you struggling with a messy interface? Is your digital product full of inconsistencies? Are your designers and developers having a hard time aligning on how to evolve your UI?</p> <p>If so, consider creating an interface inventory. It is a small but powerful step towards a homogenous, pattern-based digital design strategy.</p>
---

{% include "global/interface-inventory-workshop-cta.njk" %}

## Interface inventories 101

An interface inventory is a categorized collection of every piece of design that
Expand Down Expand Up @@ -228,5 +226,3 @@ and audit on your own, you are never alone. Consider joining the
place to ask questions or get feedback regarding this process), or
[hire a facilitator](/services/workshops/design-system-kickoff-interface-inventory/)
to help make this project a success.

{% include "global/interface-inventory-workshop-cta.njk" %}

0 comments on commit 7365981

Please sign in to comment.