@@ -5,8 +5,10 @@ import PropTypes from 'prop-types';
5
5
import LinearProgress from '@material-ui/core/LinearProgress' ;
6
6
import Grid from '@material-ui/core/Grid' ;
7
7
import Paper from '@material-ui/core/Paper' ;
8
+ import Typography from '@material-ui/core/Typography' ;
8
9
import SearchIcon from '@material-ui/icons/Search' ;
9
10
11
+
10
12
import connectComponent from '../../../helpers/connect-component' ;
11
13
12
14
import { requestOpenInBrowser } from '../../../senders/generic' ;
@@ -55,6 +57,7 @@ const styles = theme => ({
55
57
boxSizing : 'border-box' ,
56
58
} ,
57
59
grid : {
60
+ marginTop : theme . spacing . unit * 3 ,
58
61
marginBottom : theme . spacing . unit ,
59
62
} ,
60
63
headerContainer : {
@@ -80,6 +83,14 @@ const styles = theme => ({
80
83
donateMessageButton : {
81
84
marginLeft : theme . spacing . unit ,
82
85
} ,
86
+ link : {
87
+ fontWeight : 600 ,
88
+ color : theme . palette . primary . dark ,
89
+ cursor : 'pointer' ,
90
+ '&:hover' : {
91
+ textDecoration : 'underline' ,
92
+ } ,
93
+ } ,
83
94
} ) ;
84
95
85
96
class Directory extends React . Component {
@@ -164,6 +175,26 @@ class Directory extends React.Component {
164
175
className = { classes . scrollContainer }
165
176
ref = { ( container ) => { this . scrollContainer = container ; } }
166
177
>
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 & 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're running the last version of WebCatalog 12.
196
+ < br /> It won't be updated to the next major release automatically.
197
+ </ Typography >
167
198
< Grid container className = { classes . grid } spacing = { 16 } >
168
199
< Grid item xs = { 12 } >
169
200
{ renderContent ( ) }
0 commit comments