mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
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:
parent
bd2f4bd829
commit
0a6044d775
@ -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,
|
||||||
|
|
||||||
|
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user