From c726427fd8a70ccb73066b581a5dfefbf6644ecb Mon Sep 17 00:00:00 2001
From: James
Date: Thu, 18 Jan 2018 16:57:41 +1100
Subject: [PATCH] Add downloads page for nightly and canary (#11)
* Add downloads page for nightly and canary
* Use boxes for downloads
* Add TODO for commit information
* Add TODO for css hack
---
gulpfile.js | 9 +-
site/config.toml | 9 +-
site/content/downloads.md | 150 ++++++++++++++++++
site/layouts/partials/home_hero_contents.html | 9 +-
src/js/vendor/moment.min.js | 1 +
src/scss/yuzu/yuzu.scss | 7 +-
src/scss/yuzu/yuzu_after_derived.scss | 2 +
7 files changed, 180 insertions(+), 7 deletions(-)
create mode 100644 site/content/downloads.md
create mode 100644 src/js/vendor/moment.min.js
diff --git a/gulpfile.js b/gulpfile.js
index e02d2823..8f05a226 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -88,9 +88,12 @@ gulp.task('assets:images', () => {
});
gulp.task('assets:js', () => {
- return gulp.src(['src/js/**/*.js'])
- .pipe(concat('script.js'))
- .pipe(gulp.dest('build/js'));
+ let userScripts = gulp.src(['src/js/*.js'])
+ .pipe(concat('script.js'))
+ .pipe(gulp.dest('build/js'));
+ let vendorScripts = gulp.src(['src/js/vendor/*.js'])
+ .pipe(gulp.dest('build/js'));
+ return merge(userScripts, vendorScripts);
});
gulp.task('assets:scss', () => {
diff --git a/site/config.toml b/site/config.toml
index 8fbbfdc6..d1595f38 100644
--- a/site/config.toml
+++ b/site/config.toml
@@ -13,13 +13,18 @@ paginate = 10
identifier = "about"
url = "/#about-section"
+[[menu.main]]
+ name = "download"
+ weight = 2
+ identifier = "download"
+ url = "/downloads"
+
[[menu.main]]
name = "wiki"
- weight = 1
+ weight = 2
identifier = "wiki"
url = "/wiki/home/"
-
[[menu.main]]
name = "donate"
weight = 3
diff --git a/site/content/downloads.md b/site/content/downloads.md
new file mode 100644
index 00000000..00532ec5
--- /dev/null
+++ b/site/content/downloads.md
@@ -0,0 +1,150 @@
++++
+title = "Downloads"
++++
+
+The nightly build of yuzu contains already reviewed and tested features. If you require support with the installation
+ or use of yuzu, or you want to report bugs you should use this version. This version is still in development, so
+ expect crashes and bugs.
+
+The canary build of yuzu is the same as our nightly builds, with additional features that are still waiting on review
+ before making it into the official yuzu builds. If you believe you've found a bug, please retest on our nightly builds.
+ This version is still in development, so expect crashes and bugs.
+
+
+
+
+
Nightly Build
+ Last release was
+
+
+
There was a problem checking GitHub. Click the link below
+ to view them directly.
+
+
+
\ No newline at end of file
diff --git a/site/layouts/partials/home_hero_contents.html b/site/layouts/partials/home_hero_contents.html
index 27fc774a..7c9af479 100644
--- a/site/layouts/partials/home_hero_contents.html
+++ b/site/layouts/partials/home_hero_contents.html
@@ -5,7 +5,14 @@
The emulator is currently only useful for homebrew development and research purposes.