Skip to content

Commit

Permalink
[Workplace Search] Remove unused components and redundant link (#112971)
Browse files Browse the repository at this point in the history
* Remove user_icon and user_option_item components

They are no longer needed after the removal of Standard Auth

* Remove link wrapping image

It duplicates the link below the image and creates a redundant "external link" icon

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
yakhinvadim and kibanamachine authored Sep 27, 2021
1 parent be1ee57 commit 9e95786
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 287 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import React from 'react';

import { EuiSpacer, EuiTitle, EuiText, EuiButton, EuiLink } from '@elastic/eui';
import { EuiSpacer, EuiTitle, EuiText, EuiButton } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n/react';

Expand All @@ -32,18 +32,16 @@ export const SetupGuide: React.FC = () => {
<SetPageChrome trail={[SETUP_GUIDE_TITLE]} />
<SendTelemetry action="viewed" metric="setup_guide" />

<EuiLink href={GETTING_STARTED_LINK_URL} target="_blank">
<img
className="setupGuide__thumbnail"
src={GettingStarted}
alt={i18n.translate('xpack.enterpriseSearch.workplaceSearch.setupGuide.imageAlt', {
defaultMessage:
'Getting started with Workplace Search - a guide to show you how to get Workplace Search up and running',
})}
width="1280"
height-="720"
/>
</EuiLink>
<img
className="setupGuide__thumbnail"
src={GettingStarted}
alt={i18n.translate('xpack.enterpriseSearch.workplaceSearch.setupGuide.imageAlt', {
defaultMessage:
'Getting started with Workplace Search - a guide to show you how to get Workplace Search up and running',
})}
width="1280"
height="720"
/>

<EuiTitle size="s">
<p>
Expand Down

0 comments on commit 9e95786

Please sign in to comment.