1
0
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:
Mario Sarcher 2021-06-15 15:40:17 +02:00 committed by GitHub
parent 36dab02c34
commit ab6b422547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -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>

View File

@ -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" } } ))
}
]);
}