This repository has been archived by the owner on Apr 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated products from cross-promotion (#299)
- Loading branch information
1 parent
ec2a0fd
commit 1c6202c
Showing
8 changed files
with
349 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]'; | ||
|
||
|
@@ -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> | ||
|
@@ -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 | ||
|
@@ -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> | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.