Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Remove deprecated products from cross-promotion (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanglam2807 authored Apr 15, 2021
1 parent ec2a0fd commit 1c6202c
Show file tree
Hide file tree
Showing 8 changed files with 349 additions and 500 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"babel-preset-react": "6.24.1",
"blueimp-md5": "2.18.0",
"chai": "4.3.4",
"classnames": "2.2.6",
"classnames": "2.3.1",
"clean-webpack-plugin": "3.0.0",
"cli-truncate": "2.1.0",
"concurrently": "6.0.0",
"concurrently": "6.0.2",
"copy-webpack-plugin": "6.4.1",
"cross-env": "7.0.3",
"del": "6.0.0",
"dotenv": "8.2.0",
"electron": "12.0.2",
"electron": "12.0.4",
"electron-builder": "22.10.5",
"electron-is-dev": "2.0.0",
"electron-settings": "4.0.2",
Expand All @@ -58,7 +58,7 @@
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.23.0",
"eslint-plugin-react": "7.23.2",
"eslint-plugin-react-hooks": "1.7.0",
"fontsource-roboto": "3.1.5",
"fs-extra": "9.1.0",
Expand All @@ -82,7 +82,7 @@
"uuid": "8.3.2",
"wait-on": "5.3.0",
"webpack": "4.42.0",
"webpack-cli": "4.5.0"
"webpack-cli": "4.6.0"
},
"homepage": "./",
"private": true,
Expand Down
52 changes: 26 additions & 26 deletions public/open-source-notices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1434,31 +1434,6 @@ END OF TERMS AND CONDITIONS

-----

The following software may be included in this product: @webpack-cli/configtest, @webpack-cli/info, @webpack-cli/serve, sass-loader, webpack-cli. A copy of the source code may be downloaded from https://github.com/webpack-contrib/sass-loader.git (sass-loader), https://github.com/webpack/webpack-cli.git (webpack-cli). This software contains the following license and notice below:

Copyright JS Foundation and other contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-----

The following software may be included in this product: @xtuc/ieee754. A copy of the source code may be downloaded from git://github.com/feross/ieee754.git. This software contains the following license and notice below:

Copyright (c) 2008, Fair Oaks Labs, Inc.
Expand Down Expand Up @@ -6253,7 +6228,7 @@ The following software may be included in this product: classnames. A copy of th

The MIT License (MIT)

Copyright (c) 2017 Jed Watson
Copyright (c) 2018 Jed Watson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -18939,6 +18914,31 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

-----

The following software may be included in this product: sass-loader. A copy of the source code may be downloaded from https://github.com/webpack-contrib/sass-loader.git. This software contains the following license and notice below:

Copyright JS Foundation and other contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-----

The following software may be included in this product: sax. A copy of the source code may be downloaded from git://github.com/isaacs/sax-js.git. This software contains the following license and notice below:

The ISC License
Expand Down
136 changes: 1 addition & 135 deletions src/components/pages/preferences/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ import {

import webcatalogIconPng from '../../../images/products/[email protected]';
import translatiumIconPng from '../../../images/products/[email protected]';
import singleboxIconPng from '../../../images/products/[email protected]';
import squeezerIconPng from '../../../images/products/[email protected]';
import cloveryIconPng from '../../../images/products/[email protected]';
import dynamailIconPng from '../../../images/products/[email protected]';
import dynacalIconPng from '../../../images/products/[email protected]';
import pantextIconPng from '../../../images/products/[email protected]';
import panmailIconPng from '../../../images/products/[email protected]';

Expand Down Expand Up @@ -447,7 +443,7 @@ const Preferences = (props) => {
WebCatalog
</Typography>
<Typography variant="body2" color="textSecondary">
Turn Any Websites Into Desktop Apps
Desktop App Bundle, powered by the Web
</Typography>
</div>
</div>
Expand Down Expand Up @@ -487,72 +483,6 @@ const Preferences = (props) => {
</div>
<ChevronRightIcon color="action" />
</ListItem>
{!window.process.windowsStore && (
<>
<Divider />
<ListItem
button
onClick={() => {
let url = `https://singlebox.app?utm_source=${utmSource}`;
if (window.process.mas) {
url = 'macappstore://apps.apple.com/app/singlebox/id1548853763';
}
requestOpenInBrowser(url);
}}
className={classes.listItemPromotion}
>
<div className={classes.promotionBlock}>
<div className={classes.promotionLeft}>
<img src={singleboxIconPng} alt="Singlebox" className={classes.appIcon} />
</div>
<div className={classes.promotionRight}>
<div>
<Typography variant="body1" className={classes.appTitle}>
Singlebox
</Typography>
<Typography variant="body2" color="textSecondary">
Smart Browser for Busy People
</Typography>
</div>
</div>
</div>
<ChevronRightIcon color="action" />
</ListItem>
</>
)}
{!window.process.windowsStore && (
<>
<Divider />
<ListItem
button
onClick={() => {
let url = `https://squeezer.app?utm_source=${utmSource}`;
if (window.process.mas) {
url = 'macappstore://apps.apple.com/us/app/squeezer-image-compression/id1554751184';
}
requestOpenInBrowser(url);
}}
className={classes.listItemPromotion}
>
<div className={classes.promotionBlock}>
<div className={classes.promotionLeft}>
<img src={squeezerIconPng} alt="Squeezer" className={classes.appIcon} />
</div>
<div className={classes.promotionRight}>
<div>
<Typography variant="body1" className={classes.appTitle}>
Squeezer
</Typography>
<Typography variant="body2" color="textSecondary">
Compress, Resize, Convert Images
</Typography>
</div>
</div>
</div>
<ChevronRightIcon color="action" />
</ListItem>
</>
)}
<Divider />
<ListItem
button
Expand Down Expand Up @@ -646,70 +576,6 @@ const Preferences = (props) => {
</div>
<ChevronRightIcon color="action" />
</ListItem>
{window.process.platform === 'darwin' && (
<>
<Divider />
<ListItem
button
onClick={() => {
let url = `https://dynamail.app?utm_source=${utmSource}`;
if (window.process.mas) {
url = 'macappstore://apps.apple.com/app/dynamail-for-gmail/id1550739756';
} else if (window.process.windowsStore) {
url = 'ms-windows-store://pdp/?productid=9N57L5VQTB21';
}
requestOpenInBrowser(url);
}}
className={classes.listItemPromotion}
>
<div className={classes.promotionBlock}>
<div className={classes.promotionLeft}>
<img src={dynamailIconPng} alt="DynaMail" className={classes.appIcon} />
</div>
<div className={classes.promotionRight}>
<div>
<Typography variant="body1" className={classes.appTitle}>
DynaMail
</Typography>
<Typography variant="body2" color="textSecondary">
The Best Gmail Client
</Typography>
</div>
</div>
</div>
<ChevronRightIcon color="action" />
</ListItem>
<Divider />
<ListItem
button
onClick={() => {
let url = `https://dynacal.app?utm_source=${utmSource}`;
if (window.process.mas) {
url = 'macappstore://apps.apple.com/us/app/dynacal-for-google-calendar/id1552616851';
}
requestOpenInBrowser(url);
}}
className={classes.listItemPromotion}
>
<div className={classes.promotionBlock}>
<div className={classes.promotionLeft}>
<img src={dynacalIconPng} alt="DynaCal" className={classes.appIcon} />
</div>
<div className={classes.promotionRight}>
<div>
<Typography variant="body1" className={classes.appTitle}>
DynaCal
</Typography>
<Typography variant="body2" color="textSecondary">
The Best Google Calendar Client
</Typography>
</div>
</div>
</div>
<ChevronRightIcon color="action" />
</ListItem>
</>
)}
</List>
</Paper>

Expand Down
Binary file removed src/images/products/[email protected]
Binary file not shown.
Binary file removed src/images/products/[email protected]
Binary file not shown.
Binary file removed src/images/products/[email protected]
Binary file not shown.
Binary file removed src/images/products/[email protected]
Binary file not shown.
Loading

0 comments on commit 1c6202c

Please sign in to comment.