Skip to content

Commit

Permalink
Improve links (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed Aug 22, 2022
1 parent 2e2c2b8 commit 253630c
Show file tree
Hide file tree
Showing 9 changed files with 395 additions and 5 deletions.
23 changes: 18 additions & 5 deletions packages/app/src/components/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
HomePageCompanyLogo,
HomePageStarredEntities,
TemplateBackstageLogo,
TemplateBackstageLogoIcon
} from '@backstage/plugin-home';

import { Content, Page } from '@backstage/core-components';
Expand All @@ -13,6 +12,10 @@ import {
} from '@backstage/plugin-search';
import { SearchContextProvider } from '@backstage/plugin-search-react';
import { Grid, makeStyles } from '@material-ui/core';
import {JenkinsLogo} from "./JenkinsLogo";
import {SlackLogo} from "./SlackLogo";
import {VPNLogo} from "./VPNIcon";
import {PlatformDocsLogo} from "./PlatformDocsLogo";

const useStyles = makeStyles(theme => ({
searchBar: {
Expand Down Expand Up @@ -46,18 +49,28 @@ export const HomePage = () => {
const links = [
{
url: 'https://hmcts.github.io',
label: 'Platform',
icon: <TemplateBackstageLogoIcon />,
label: 'Platform docs',
icon: <PlatformDocsLogo />,
},
{
url: 'https://hmcts-reform.slack.com',
label: 'Slack',
icon: <TemplateBackstageLogoIcon />,
icon: <SlackLogo />,
},
{
url: 'https://portal.platform.hmcts.net',
label: 'VPN',
icon: <TemplateBackstageLogoIcon />,
icon: <VPNLogo />,
},
{
url: 'https://sds-build.platform.hmcts.net',
label: 'SDS Jenkins',
icon: <JenkinsLogo />,
},
{
url: 'https://build.platform.hmcts.net',
label: 'CFT Jenkins',
icon: <JenkinsLogo />,
},
]

Expand Down
10 changes: 10 additions & 0 deletions packages/app/src/components/home/JenkinsLogo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';

import Logo from './jenkins-logo.svg'

export const JenkinsLogo = () => {

return (
<img width="auto" height="50" src={Logo} alt="React Logo" />
);
};
10 changes: 10 additions & 0 deletions packages/app/src/components/home/PlatformDocsLogo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';

import Logo from './platform-docs-logo.svg'

export const PlatformDocsLogo = () => {

return (
<img width="auto" height="40" src={Logo} alt="React Logo" />
);
};
10 changes: 10 additions & 0 deletions packages/app/src/components/home/SlackLogo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';

import Logo from './slack-logo.svg'

export const SlackLogo = () => {

return (
<img width="auto" height="50" src={Logo} alt="React Logo" />
);
};
10 changes: 10 additions & 0 deletions packages/app/src/components/home/VPNIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';

import Logo from './vpn-logo.svg'

export const VPNLogo = () => {

return (
<img width="auto" height="50" src={Logo} alt="React Logo" />
);
};
283 changes: 283 additions & 0 deletions packages/app/src/components/home/jenkins-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/app/src/components/home/platform-docs-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions packages/app/src/components/home/slack-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions packages/app/src/components/home/vpn-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 253630c

Please sign in to comment.