mirror of
https://github.com/lensapp/lens.git
synced 2024-09-20 13:57:23 +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">
|
<div className="box">
|
||||||
<Icon svg="logo-lens" className="logo" />
|
<Icon svg="logo-lens" className="logo" />
|
||||||
|
|
||||||
<h2>Welcome to {productName} 5 Beta!</h2>
|
<h2>Welcome to {productName} 5!</h2>
|
||||||
|
|
||||||
<p>
|
<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>.
|
If you have any questions or feedback, please join our <a href={slackUrl} target="_blank" rel="noreferrer">Lens Community slack channel</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* 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 { WelcomeMenuRegistry } from "../../extensions/registries";
|
||||||
import { navigate } from "../navigation";
|
import { navigate } from "../navigation";
|
||||||
|
|
||||||
@ -27,14 +27,9 @@ export function initWelcomeMenuRegistry() {
|
|||||||
WelcomeMenuRegistry.getInstance()
|
WelcomeMenuRegistry.getInstance()
|
||||||
.add([
|
.add([
|
||||||
{
|
{
|
||||||
title: "Browse Your Catalog",
|
title: "Browse Clusters",
|
||||||
icon: "view_list",
|
icon: "view_list",
|
||||||
click: () => navigate(catalogURL())
|
click: () => navigate(catalogURL({ params: { group: "entity.k8slens.dev", kind: "KubernetesCluster" } } ))
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Configure Preferences",
|
|
||||||
icon: "settings",
|
|
||||||
click: () => navigate(preferencesURL())
|
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user