import "./landing-page.scss" import React from "react"; import { observable } from "mobx"; import { observer } from "mobx-react"; import { Trans } from "@lingui/macro"; import { clusterStore } from "../../../common/cluster-store"; import { workspaceStore } from "../../../common/workspace-store"; @observer export class LandingPage extends React.Component { @observable showHint = true; render() { const clusters = clusterStore.getByWorkspaceId(workspaceStore.currentWorkspaceId); const noClustersInScope = !clusters.length; const showStartupHint = this.showHint && noClustersInScope; return (
{showStartupHint && (
this.showHint = false}>

This is the quick launch menu.

Associate clusters and choose the ones you want to access via quick launch menu by clicking the + button.

)} {noClustersInScope && (

Welcome!

Get started by associating one or more clusters to Lens.

)}
) } }