Added beforeAfterCard feature flag & UI toggle

refs https://github.com/TryGhost/Team/issues/1249

Usage of this card will be behind a feature flag until release
This commit is contained in:
Fabien egg O'Carroll 2021-12-02 12:38:16 +02:00
parent bd2f4bd829
commit 0a6044d775
2 changed files with 14 additions and 0 deletions

View File

@ -64,6 +64,7 @@ export default Service.extend({
videoCard: feature('videoCard'), videoCard: feature('videoCard'),
productCard: feature('productCard'), productCard: feature('productCard'),
quoteStyles: feature('quoteStyles'), quoteStyles: feature('quoteStyles'),
beforeAfterCard: feature('beforeAfterCard'),
_user: null, _user: null,

View File

@ -443,6 +443,19 @@
</div> </div>
</div> </div>
</div> </div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Cardmageddon - Before/After</h4>
<p class="gh-expandable-description">
Card for comparing two images
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="beforeAfterCard" />
</div>
</div>
</div>
</div> </div>
</div> </div>
{{/if}} {{/if}}