Ghost/ghost/admin/app/components/gh-explore-modal.js
Aileen Booker c4188c1a9e
Added Ghost Explore in Ghost as iframe app behind feature flag (#15495)
no issue

- Added Ghost Explore screen behind alpha flag
- Moved existing /explore route to /explore/connect which we'll redirect to for outside requests
- Added iframe communication with Ghost Explore App
2022-10-07 14:32:54 +01:00

11 lines
294 B
JavaScript

import Component from '@glimmer/component';
import {inject as service} from '@ember/service';
export default class GhExploreModal extends Component {
@service explore;
get visibilityClass() {
return this.explore.exploreWindowOpen ? 'gh-explore' : 'gh-explore closed';
}
}