mirror of
https://github.com/lensapp/lens.git
synced 2024-11-10 10:36:25 +03:00
Adopts landing page according to new catalog features (#3055)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
This commit is contained in:
parent
36dab02c34
commit
ab6b422547
@ -34,10 +34,11 @@ export class Welcome extends React.Component {
|
||||
<div className="box">
|
||||
<Icon svg="logo-lens" className="logo" />
|
||||
|
||||
<h2>Welcome to {productName} 5 Beta!</h2>
|
||||
<h2>Welcome to {productName} 5!</h2>
|
||||
|
||||
<p>
|
||||
Here are some steps to help you get started with {productName} 5 Beta.
|
||||
To get you started we have auto-detected your clusters in your kubeconfig file and added them to the catalog, your centralized view for managing all your cloud-native resources.
|
||||
<br/><br/>
|
||||
If you have any questions or feedback, please join our <a href={slackUrl} target="_blank" rel="noreferrer">Lens Community slack channel</a>.
|
||||
</p>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import { catalogURL, preferencesURL } from "../../common/routes";
|
||||
import { catalogURL } from "../../common/routes";
|
||||
import { WelcomeMenuRegistry } from "../../extensions/registries";
|
||||
import { navigate } from "../navigation";
|
||||
|
||||
@ -27,14 +27,9 @@ export function initWelcomeMenuRegistry() {
|
||||
WelcomeMenuRegistry.getInstance()
|
||||
.add([
|
||||
{
|
||||
title: "Browse Your Catalog",
|
||||
title: "Browse Clusters",
|
||||
icon: "view_list",
|
||||
click: () => navigate(catalogURL())
|
||||
},
|
||||
{
|
||||
title: "Configure Preferences",
|
||||
icon: "settings",
|
||||
click: () => navigate(preferencesURL())
|
||||
click: () => navigate(catalogURL({ params: { group: "entity.k8slens.dev", kind: "KubernetesCluster" } } ))
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user