Update purchase website

This commit is contained in:
Reinhard Pointner 2018-06-16 19:13:27 +07:00
parent 52d80874d9
commit a95ecdc186
8 changed files with 102 additions and 21 deletions

View File

@ -193,7 +193,7 @@ public final class Settings {
}
public static String getPurchaseURL() {
return getApplicationProperty("link.app.purchase");
return getApplicationProperty("link.app.purchase") + '#' + getApplicationDeployment();
}
public static String getEmbeddedHelpURL() {

View File

@ -9,6 +9,9 @@ redirect 302 /mac/purchase.html https://itunes.apple.com/us/app/filebot/id905384
# redirect donate page
redirect 302 /donate.html https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rednoah%40filebot%2enet&lc=US&item_name=FileBot%20Support&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
# TODO: build purchase / checkout page
redirect 302 /purchase.html https://www.filebot.net/#purchase
# redirect to support pages
redirect 302 /amc.html https://www.filebot.net/forums/viewtopic.php?f=4&t=215
redirect 302 /manual.html https://www.filebot.net/forums/viewtopic.php?f=3&t=7
@ -19,6 +22,9 @@ redirect 302 /windows/support.html https://www.filebot.net/forums/viewforum.php?
redirect 302 /mac/support.html https://www.filebot.net/forums/viewforum.php?f=12
redirect 302 /mac/subtitles.html https://www.filebot.net/forums/viewtopic.php?f=12&t=3350
redirect 302 /mac/brew.html https://www.filebot.net/forums/viewtopic.php?f=4&t=2049
redirect 302 /linux/snap.html https://www.filebot.net/forums/viewtopic.php?f=11&t=5984
redirect 302 /linux/docker.html https://hub.docker.com/r/rednoah/filebot/
redirect 302 /linux/syno.html https://www.filebot.net/forums/viewtopic.php?f=13&t=1802
redirect 302 /syno/support.html https://www.filebot.net/forums/viewforum.php?f=13
redirect 302 /syno/manual.html https://www.filebot.net/forums/viewtopic.php?f=13&t=1802
redirect 302 /channel.html https://discord.gg/cKVvZ2S

View File

@ -252,9 +252,9 @@ div.screencast:hover .play {
margin-top: 20px;
}
.section.features, .section.download, .section.contact {
.section.features, .section.download, .section.purchase, .section.contact {
clear: both;
margin-top: 40px;
margin-top: 45px;
}
.section .icon {
@ -450,24 +450,83 @@ div.screencast:hover .play {
border-radius: 4px;
}
#download li.macosx, #download li.windows {
#download li.macosx, #download li.windows, #purchase li.year {
list-style: none;
margin: 0.5em 1em 1em 1em;
padding: 0.5em 1em 0.5em 2.4em;
padding: 1.5em 1em 1.5em 3.6em;
border-radius: 4px 4px 4px 4px;
background-color: #fcfbfa;
display: inline-block;
background-color: #fcfbfa;
box-shadow: 0px 0px 5px #2574ce;
background-repeat: no-repeat;
background-position: 0.8em center;
background-size: 32px 32px;
}
#download li.macosx {
background: url('images/apple.logo.svg') no-repeat 0.5em 0.27em;
background-size: 24px 24px;
background-image: url('images/apple.logo.svg');
}
#download li.windows {
background: url('images/microsoft.logo.svg') no-repeat 0.5em 0.3em;
background-size: 24px 24px;
background-image: url('images/microsoft.logo.svg');
}
#purchase li.year {
background-image: url('images/purchase.license.png');
}
#purchase li.note {
list-style: none;
background: url('images/accept.png') left center no-repeat;
padding: 0.1em 1.7em;
margin-left: 1.5em;
}
#download li.macappstore.note {
list-style: none;
text-align: right;
margin: 0em 0.5em 1.2em 0.5em;
}
#download li.macappstore.note span:before {
content: "* ";
}
#purchase li > small.price {
position: relative;
left: -0em;
top: 2.5em;
padding: 0.5em 0.5em;
border: 0.1em solid rgba(255,255,255,0);
border-radius: 0.4em;
text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
text-align:center;
color: white;
background-color:#F14E4E;
}
#purchase .price {
position: absolute;
}
#purchase .price > * {
position: relative;
left: 10em;
top: 1.3em;
padding: 0.3em;
border: 0.1em solid rgba(255,255,255,0);
border-radius: 0.4em;
text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
text-align: center;
font-size: smaller;
color: white;
background-color:#F14E4E;
}
/**

BIN
website/images/accept.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
website/images/coin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -23,9 +23,15 @@
<link rel="stylesheet" href="base.css" type="text/css" />
<link rel="icon" href="favicon.png" />
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Dawning+of+a+New+Day' rel='stylesheet' type='text/css' />
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdn.paddle.com/paddle/paddle.js"></script>
<script type="text/javascript">
Paddle.Setup({
vendor: 32405
});
</script>
</head>
<body>
<div class="page">
@ -234,16 +240,26 @@
<ul class="list">
<li class="windows">Available on the <a href="https://get.filebot.net/windows/2" target="windows_store">Windows Store</a></li>
<li class="macosx">Available on the <a href="https://get.filebot.net/mac/2" target="itunes_store">Mac App Store</a></li>
<li class="macappstore" style="display:none">FileBot Subtitles for Mac: <a target="_blank" href="https://www.filebot.net/mac/subtitles.html">FileBot Subtitles</a></li>
<li class="macappstore" style="display:none">FileBot command-line tools for Mac are available <a target="_blank" href="https://www.filebot.net/mac/brew.html">via brew cask</a></li>
<li class="winappstore" style="display:none">Legacy packages for Windows 7 and Windows Server are available <a target="_blank" href="https://www.filebot.net/forums/viewtopic.php?f=10&amp;t=5729">upon request</a></li>
<!-- <li>macOS app bundle: <a target="_blank" href="@{link.patreon}">FileBot_@{application.version}.app</a></li> -->
<!-- <li>Portable: <a target="_blank" href="@{link.patreon}">FileBot-@{application.version}-portable.tar.xz</a> <small class="comment">for Linux, FreeBSD and Solaris</small></li> -->
<!-- <li>Debian packages: <a target="_blank" href="@{link.patreon}">filebot_@{application.version}_amd64.deb</a></li> -->
<li>Ubuntu package is available <a target="_blank" href="@{link.patreon}">on the Ubuntu Store</a></li>
<!-- <li>Arch Linux package is available <a target="_blank" href="@{link.patreon}">via AUR</a></li> -->
<li>Synology NAS package is available <a target="_blank" href="@{link.patreon}">via Package Center</a></li>
<li>Docker images are available <a target="_blank" href="@{link.patreon}">on Docker Hub</a></li>
<li class="macappstore note"><span>The <a href="https://get.filebot.net/mac/" target="itunes_store">Mac App Store</a> version does not support <a href="https://www.filebot.net/forums/viewtopic.php?f=12&amp;t=5983" target="itunes_store">certain features</a>.</span></li>
<li>Windows installer: <a href="javascript:;" class="paddle_download" data-download-url="https://get.filebot.net/filebot/FileBot_@{application.version}/FileBot_@{application.version}_x64.msi" data-download-prompt="false" data-vendor-name="@{package.company}">FileBot_@{application.version}_x64.msi</a></li>
<li>macOS installer: <a href="javascript:;" class="paddle_download" data-download-url="https://get.filebot.net/filebot/FileBot_@{application.version}/FileBot_@{application.version}.pkg" data-download-prompt="false" data-vendor-name="@{package.company}">FileBot_@{application.version}.pkg</a></li>
<li>Debian package: <a href="javascript:;" class="paddle_download" data-download-url="https://get.filebot.net/filebot/FileBot_@{application.version}/FileBot_@{application.version}_amd64.deb" data-download-prompt="false" data-vendor-name="@{package.company}">FileBot_@{application.version}_amd64.deb</a></li>
<li>Portable tarball: <a href="javascript:;" class="paddle_download" data-download-url="https://get.filebot.net/filebot/FileBot_@{application.version}/FileBot_@{application.version}_portable.tar.xz" data-download-prompt="false" data-vendor-name="@{package.company}">FileBot_@{application.version}.tar.xz</a> <small class="comment">for Linux, BSD and Solaris</small></li>
<li>macOS package is available <a href="javascript:;" class="paddle_download" data-download-url="https://www.filebot.net/mac/brew.html" data-download-prompt="false" data-vendor-name="@{package.company}">via brew cask</a></li>
<li>Ubuntu package is available <a href="javascript:;" class="paddle_download" data-download-url="https://www.filebot.net/linux/snap.html" data-download-prompt="false" data-vendor-name="@{package.company}">on the Ubuntu Store</a></li>
<li>Synology NAS package is available <a href="javascript:;" class="paddle_download" data-download-url="https://www.filebot.net/linux/syno.html" data-download-prompt="false" data-vendor-name="@{package.company}">via Package Center</a></li>
<li>Docker images are available <a href="javascript:;" class="paddle_download" data-download-url="https://www.filebot.net/linux/docker.html" data-download-prompt="false" data-vendor-name="@{package.company}">on Docker Hub</a></li>
</ul>
</div>
<div class="section purchase" id="purchase">
<img class="icon" src="images/coin.png" alt="download" width="48" height="48" />
<span class="quote">We work to better ourselves</span>
<h2>Buy License</h2>
<ul class="list">
<li class="year">Purchase a <a href="@{link.app.purchase}#web">1 year universal license</a><div class="price"><span class="paddle-gross" data-product="532439">US$5.00</span></div></li>
<li class="note">A valid license is required to unlock FileBot.</li>
<li class="note"><a href="https://get.filebot.net/windows/" target="windows_store">Windows Store</a> and <a href="https://get.filebot.net/mac/" target="itunes_store">Mac App Store</a> purchases do not require a separate license.</li>
</ul>
</div>