diff --git a/_includes/download.html b/_includes/download.html index d18fe6fb..ca9d2bcd 100644 --- a/_includes/download.html +++ b/_includes/download.html @@ -14,53 +14,70 @@
-

{{ page.title }}

-

We provide portable versions of Vocaluxe for every release. If you want to try our stable release, you could also use our installer. If you're on Linux, you need to compile Vocaluxe yourself (for advanced users). If you're looking for some older versions, check out our releases on GitHub and Sourceforge.

-
-

Nightly

-

A version with all the newest development changes. Likely to contain bugs, so use with caution.

- {% if release_nightly != nil %} - -

Latest update: {{ release_nightly.created_at | date: "%Y-%m-%d" }}

-

Read our release notes on GitHub.

- {% for asset in release_nightly.assets %} - {{ asset.name }} - {% endfor %} -
- {% else %} -

There isn't any nightly release yet.

- {% endif %} -
-
-

Pre Release

-

Should be almost stable, but you might experience some bugs here.

- {% if release_pre != nil %} - -

Latest version: {{release_pre.name}} ({{ release_pre.created_at | date: "%Y-%m-%d" }})

-

Read our release notes on GitHub.

- {% for asset in release_pre.assets %} - {{ asset.name }} - {% endfor %} -
- {% else %} -

There isn't any pre release yet.

- {% endif %} -
-
-

Stable Release

-

The latest release.

- {% if release_stable != nil %} - -

Latest version: {{release_stable.name}} ({{ release_stable.created_at | date: "%Y-%m-%d" }})

-

Read our release notes on GitHub.

- {% for asset in release_stable.assets %} - {{ asset.name }} - {% endfor %} -
- {% else %} -

There isn't any stable release yet.

- {% endif %} -
+

{{ page.title }}

+

We provide portable versions of Vocaluxe for every release. If you want to try our stable release, you could also use our installer. If you're on Linux, you need to compile Vocaluxe yourself (for advanced users). If you're looking for some older versions, check out our releases on GitHub and Sourceforge.

+
+
+

Nightly

+

A version with all the newest development changes. Likely to contain bugs, so use with caution.

+ {% if release_nightly != nil %} + +

Latest update: {{ release_nightly.created_at | date: "%Y-%m-%d" }} +
+ Read our release notes on GitHub.

+ {% for asset in release_nightly.assets %} + {% assign currentReleaseData = asset.name | split:".zip" | first | split:"_" %} + {% assign currentReleaseTitle = 'Vocaluxe ' | append: currentReleaseData[1] %} + {% assign currentReleaseOs = currentReleaseData[2] %} + {% assign currentReleaseArch = currentReleaseData[3] %} + {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %} + {% endfor %} +
+ {% else %} +

There isn't any nightly release yet.

+ {% endif %} +
+
+

Pre Release

+

Should be almost stable, but you might experience some bugs here.

+ {% if release_pre != nil %} + +

Latest version: {{release_pre.name}} ({{ release_pre.created_at | date: "%Y-%m-%d" }}) +
+ Read our release notes on GitHub.

+ {% for asset in release_pre.assets %} + {% assign currentReleaseData = asset.name | split:".zip" | first | split:"_" %} + {% assign currentReleaseTitle = 'Vocaluxe ' | append: release_pre.name %} + {% assign currentReleaseOs = currentReleaseData[2] %} + {% assign currentReleaseArch = currentReleaseData[3] %} + {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %} + {% endfor %} +
+ {% else %} +

There isn't any pre release yet.

+ {% endif %} +
+
+

Stable Release

+

The latest release.

+ {% if release_stable != nil %} + +

Latest version: {{release_stable.name}} ({{ release_stable.created_at | date: "%Y-%m-%d" }}) +
+ Read our release notes on GitHub.

+ {% for asset in release_stable.assets %} + {% assign currentReleaseData = asset.name | split:".zip" | first | split:"_" %} + {% assign currentReleaseTitle = 'Vocaluxe ' | append: release_stable.name %} + {% assign currentReleaseOs = currentReleaseData[2] | downcase %} + {% assign currentReleaseArch = currentReleaseData[3] %} + {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %} + {% endfor %} +
+ {% else %} +

There isn't any stable release yet.

+ {% endif %} +
+
diff --git a/_includes/downloadButton.html b/_includes/downloadButton.html new file mode 100644 index 00000000..394c6283 --- /dev/null +++ b/_includes/downloadButton.html @@ -0,0 +1,12 @@ + + {% if include.os == "linux" %} + + {% else %} + + {% endif %} + {% if include.arch == "x86" %} + {{include.title}} + {% else %} + {{include.title}} + {% endif %} + \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 62db078b..dce5dfe8 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -23,7 +23,9 @@ - + + + diff --git a/css/main.css b/css/main.css index 8f9908f1..c68148fa 100644 --- a/css/main.css +++ b/css/main.css @@ -341,3 +341,54 @@ a:hover { .release-details { text-align:left; } + +.btnDownload { + display:flex; + flex: 1 0 auto; + justify-content: center; + align-items: center; + margin-top: 5px; +} + +.btnDownloadIcon { + flex: 0 0 auto; + padding-right:10px; + font-size:2em; +} + +.btnDownloadText { + flex: 0 1 auto; +} + +.release-section { + display:flex; + flex-direction: column; + align-items: stretch; +} + +@media (min-width: 992px){ + .release-section { + flex-direction: row; + } +} + +.flex-box-col { + display:flex; + flex-direction: column; +} + +.flex00a { + flex: 0 0 auto; +} + +.flex11a { + flex: 1 1 auto; +} + +.flex11100 { + flex: 1 1 100%; +} + +.no-release-text { + margin-top: 40px; +} \ No newline at end of file diff --git a/fonts/font-arch/arch.eot b/fonts/font-arch/arch.eot new file mode 100644 index 00000000..e6889e17 Binary files /dev/null and b/fonts/font-arch/arch.eot differ diff --git a/fonts/font-arch/arch.min.css b/fonts/font-arch/arch.min.css new file mode 100644 index 00000000..9e0da75d --- /dev/null +++ b/fonts/font-arch/arch.min.css @@ -0,0 +1,3 @@ +/* + * Font for arch bages + */@font-face{font-family:'arch';src:url('arch.eot?gjjumz');src:url('arch.eot?gjjumz#iefix') format('embedded-opentype'), url('arch.ttf?gjjumz') format('truetype'), url('arch.woff?gjjumz') format('woff'), url('arch.svg?gjjumz#arch') format('svg');font-weight:normal;font-style:normal}[class^="arch-"],[class*=" arch-"]{font-family:'arch' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.arch-x86:before{content:"\e900"}.arch-x64:before{content:"\e901"} \ No newline at end of file diff --git a/fonts/font-arch/arch.svg b/fonts/font-arch/arch.svg new file mode 100644 index 00000000..c2f1b1f5 --- /dev/null +++ b/fonts/font-arch/arch.svg @@ -0,0 +1,12 @@ + + + +Generated by IcoMoon + + + + + + + + \ No newline at end of file diff --git a/fonts/font-arch/arch.ttf b/fonts/font-arch/arch.ttf new file mode 100644 index 00000000..62a32f99 Binary files /dev/null and b/fonts/font-arch/arch.ttf differ diff --git a/fonts/font-arch/arch.woff b/fonts/font-arch/arch.woff new file mode 100644 index 00000000..f35e1274 Binary files /dev/null and b/fonts/font-arch/arch.woff differ