mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
c4188c1a9e
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
11 lines
294 B
JavaScript
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';
|
|
}
|
|
}
|