Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 32 additions & 4 deletions app/NewRootComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,16 +281,44 @@ const NewRootComponent: React.FC = () => {

return (
<>
{overdueCommissions.length > 0 && renderOverdueCommissionsAlert()}

<Typography
variant="h1"
className={clsx(classes.bannerText, classes.forceWhite)}
>
{userContext.profile ? `Welcome ${displayName()}` : "Welcome to Pluto"}
Pluto has been discontinued
</Typography>

{userContext.profile ? <LoggedInRoot /> : <LoggedOutRoot />}
<Grid container justifyContent="center">
<Grid item xs={12} md={8} lg={6}>
<Paper
style={{
padding: "2rem",
textAlign: "center",
marginTop: "1.5rem",
}}
>
<Alert
variant="filled"
severity="warning"
style={{ marginBottom: "1.5rem" }}
>
This service is no longer available
</Alert>
<Typography variant="body1" style={{ marginBottom: "1rem" }}>
Pluto has been retired and replaced by a new system. Please use{" "}
<strong>Project Launcher</strong> to create new projects.
</Typography>
<Typography variant="body1">
If you need assistance or training on the new system, please
contact the Multimedia Tech team at{" "}
<Link href="mailto:multimediatech@theguardian.com">
multimediatech@theguardian.com
</Link>
.
</Typography>
</Paper>
</Grid>
</Grid>
</>
);
};
Expand Down
2 changes: 1 addition & 1 deletion app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const App: React.FC = () => {
}}
>
<Header />
{userProfile ? <AppSwitcher /> : undefined}
<AppSwitcher />
<Switch>
<Route
exact
Expand Down
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Welcome to Pluto</title>
<title>Pluto - Discontinued</title>
<link rel="shortcut icon" type="image/png" href="/static/favicon.png">
</head>
<body >
Expand Down
Loading