-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
0417941
commit f4a6e14
Showing
8 changed files
with
146 additions
and
31 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
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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<style lang="scss"> | ||
.c-updateAvailable { | ||
padding : 1em; | ||
text-align : center; | ||
} | ||
</style> | ||
|
||
<template> | ||
<div class="c-updateAvailable"> | ||
<div class="c-dragHandle"></div> | ||
<div class="c-logo" transition="project"> | ||
<svg width="330" height="330" viewBox="0 0 330 330" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<title>Forrest logo</title> | ||
<defs> | ||
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="c"> | ||
<stop stop-color="#EEEBEB" offset="0%" /> | ||
<stop stop-color="#FCFBFB" offset="18.142%" /> | ||
<stop stop-color="#CFCFCF" offset="100%" /> | ||
</linearGradient> | ||
<ellipse id="b" cx="161.175" cy="161.175" rx="161.175" ry="161.175" /> | ||
<filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="a"> | ||
<feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1" /> | ||
<feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1" /> | ||
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" in="shadowBlurOuter1" /> | ||
</filter> | ||
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="d"> | ||
<stop stop-color="#344352" offset="0%" /> | ||
<stop stop-color="#2A333C" offset="100%" /> | ||
</linearGradient> | ||
<ellipse id="e" cx="161.175" cy="161.175" rx="150.059" ry="150.059" /> | ||
<filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="f"> | ||
<feGaussianBlur stdDeviation="1.5" in="SourceAlpha" result="shadowBlurInner1" /> | ||
<feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1" /> | ||
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1" | ||
/> | ||
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" in="shadowInnerInner1" /> | ||
</filter> | ||
</defs> | ||
<g fill="none" fill-rule="evenodd"> | ||
<g transform="translate(4 3)"> | ||
<use fill="#000" filter="url(#a)" xlink:href="#b" /> | ||
<use fill="url(#c)" xlink:href="#b" /> | ||
</g> | ||
<g transform="translate(4 3)"> | ||
<use fill="url(#d)" xlink:href="#e" /> | ||
<use fill="#000" filter="url(#f)" xlink:href="#e" /> | ||
</g> | ||
<g stroke-width="5"> | ||
<path d="M102.013 105.372l49.846 103.795H52.167l49.846-103.795zM87.06 209.167h29.908v10.38H87.059v-10.38zM215.235 209.167h29.908v10.38h-29.908v-10.38zm14.954-103.795l49.846 103.795h-99.692l49.846-103.795z" | ||
stroke="#F1F1F1" /> | ||
<path d="M194.584 240.954h49.847L166.1 69.693l-78.33 171.261h49.847v14.843h56.966v-14.843z" stroke="#2A333C" fill="#CD3632" | ||
/> | ||
</g> | ||
</g> | ||
</svg> | ||
</div> | ||
|
||
<h1 class="o-headline-2">Forrest {{ version }}</h1> | ||
|
||
<p class="o-paragraph u-marginTopSmall">There is a new version available.</p> | ||
<p class="o-paragraph u-marginTopSmall">We're working on the auto update but for now you have to grab the new version at the <button class="o-linkBtn" type="button" v-open-external="'https://github.com/stefanjudis/forrest/releases'">releases page</button> yourself. :)</p> | ||
|
||
<button class="o-primaryBtn u-marginTop" type="button" v-open-external="'https://github.com/stefanjudis/forrest/releases'">Download</button> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data() { | ||
return { | ||
version : this.$electron.remote.require( 'electron' ).app.getVersion() | ||
}; | ||
} | ||
}; | ||
</script> |
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