Skip to content

Commit

Permalink
add blank target, remove some broken links
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Madigan <[email protected]>
  • Loading branch information
jasonmadigan committed Nov 14, 2024
1 parent 833a2a6 commit d9b8048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
30 changes: 2 additions & 28 deletions src/components/KuadrantOverviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
GlobeIcon,
ReplicatorIcon,
OptimizeIcon,
ArrowRightIcon,
ExternalLinkAltIcon,
EllipsisVIcon,
} from '@patternfly/react-icons';
Expand Down Expand Up @@ -201,29 +200,12 @@ const KuadrantOverviewPage: React.FC = () => {
)}
</Text>
<Stack hasGutter className="pf-u-mt-sm">
<StackItem>
<Text
component="a"
href={INTERNAL_LINKS.createPolicies}
className="kuadrant-dashboard-resource-link"
>
{t('Create Policies in')} {t('Kuadrant')} <ArrowRightIcon />
</Text>
</StackItem>
<StackItem>
<Text
component="a"
href={INTERNAL_LINKS.addNewGateway(activeNamespace)}
className="kuadrant-dashboard-resource-link"
>
{t('Add a new Gateway')} <ArrowRightIcon />
</Text>
</StackItem>
<StackItem>
<Text
component="a"
href={EXTERNAL_LINKS.documentation}
className="kuadrant-dashboard-resource-link"
target="_blank"
>
{t('View Documentation')} <ExternalLinkAltIcon />
</Text>
Expand Down Expand Up @@ -264,20 +246,12 @@ const KuadrantOverviewPage: React.FC = () => {
)}
</Text>
<Stack hasGutter className="pf-u-mt-md">
<StackItem>
<Text
component="a"
href={INTERNAL_LINKS.apiDesigner}
className="kuadrant-dashboard-resource-link"
>
{t('API Designer')} <ExternalLinkAltIcon />
</Text>
</StackItem>
<StackItem>
<Text
component="a"
href={INTERNAL_LINKS.observabilitySetup}
className="kuadrant-dashboard-resource-link"
target="_blank"
>
Observability for {t('Kuadrant')} <ExternalLinkAltIcon />
</Text>
Expand Down
1 change: 0 additions & 1 deletion src/constants/links.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Internal Links
export const INTERNAL_LINKS = {
createPolicies: '/kuadrant/all-namespaces/policies',
apiDesigner: 'https://www.apicur.io/studio/',
addNewGateway: (namespace: string) =>
`/k8s/ns/${
namespace === '#ALL_NS#' ? 'default' : namespace
Expand Down

0 comments on commit d9b8048

Please sign in to comment.