Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Commit 9d6a359

Browse files
committed
Sunset
1 parent cb2d2f0 commit 9d6a359

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/components/pages/directory/index.js

+31
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import PropTypes from 'prop-types';
55
import LinearProgress from '@material-ui/core/LinearProgress';
66
import Grid from '@material-ui/core/Grid';
77
import Paper from '@material-ui/core/Paper';
8+
import Typography from '@material-ui/core/Typography';
89
import SearchIcon from '@material-ui/icons/Search';
910

11+
1012
import connectComponent from '../../../helpers/connect-component';
1113

1214
import { requestOpenInBrowser } from '../../../senders/generic';
@@ -55,6 +57,7 @@ const styles = theme => ({
5557
boxSizing: 'border-box',
5658
},
5759
grid: {
60+
marginTop: theme.spacing.unit * 3,
5861
marginBottom: theme.spacing.unit,
5962
},
6063
headerContainer: {
@@ -80,6 +83,14 @@ const styles = theme => ({
8083
donateMessageButton: {
8184
marginLeft: theme.spacing.unit,
8285
},
86+
link: {
87+
fontWeight: 600,
88+
color: theme.palette.primary.dark,
89+
cursor: 'pointer',
90+
'&:hover': {
91+
textDecoration: 'underline',
92+
},
93+
},
8394
});
8495

8596
class Directory extends React.Component {
@@ -164,6 +175,26 @@ class Directory extends React.Component {
164175
className={classes.scrollContainer}
165176
ref={(container) => { this.scrollContainer = container; }}
166177
>
178+
<Typography
179+
variant="body1"
180+
gutterBottom
181+
align="center"
182+
className={classes.link}
183+
onClick={() => requestOpenInBrowser('https://getwebcatalog.com/goodbye')}
184+
>
185+
WebCatalog for Windows &#38; Linux is being sunset.
186+
</Typography>
187+
188+
<Typography
189+
variant="body1"
190+
gutterBottom
191+
align="center"
192+
className={classes.link}
193+
onClick={() => requestOpenInBrowser('https://getwebcatalog.com')}
194+
>
195+
You&#39;re running the last version of WebCatalog 12.
196+
<br />It won&#39;t be updated to the next major release automatically.
197+
</Typography>
167198
<Grid container className={classes.grid} spacing={16}>
168199
<Grid item xs={12}>
169200
{renderContent()}

0 commit comments

Comments
 (0)