From 67a8b056272d866f46fd28fe7d20844e116c43bb Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 8 Jan 2018 20:54:26 -0500 Subject: [PATCH] Updated menu. Added hero parts for FAQ and contribute. --- site/config.toml | 18 +++++++ site/layouts/index.html | 52 +++++++++++++++---- site/layouts/partials/home_hero_contents.html | 5 +- site/layouts/partials/layout/navbar.html | 4 +- site/themes/shared-bulma-theme | 2 +- src/scss/yuzu/yuzu_after_derived.scss | 2 +- 6 files changed, 68 insertions(+), 15 deletions(-) diff --git a/site/config.toml b/site/config.toml index 9add7bfd7..b20e788c8 100644 --- a/site/config.toml +++ b/site/config.toml @@ -7,6 +7,24 @@ theme = "shared-bulma-theme" # Define how many objects appear per pagination. paginate = 10 +[[menu.main]] + name = "frequently asked questions" + weight = 1 + identifier = "faq" + url = "#faq" + +[[menu.main]] + name = "contributing" + weight = 2 + identifier = "contribute" + url = "#contribute" + +[[menu.main]] + name = "updates" + weight = 3 + identifier = "updates" + url = "#updates" + [params] GithubURL = "https://github.com/yuzu-emu/yuzu" TwitterURL = "https://twitter.com/yuzu" diff --git a/site/layouts/index.html b/site/layouts/index.html index 8fea73c00..854f2a248 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -1,14 +1,46 @@ {{ define "main" }} {{ partial "home_hero" . }} -
-
-
- {{ range sort .Site.Data.twitter "order" }} -
- {{ partial "widget/tweet.html" . }} -
- {{ end }} + + +
+
+
+

Frequently asked questions

+
+
    +
  1. + Why are you the way you are? + Because, reasons. +
  2. +
-
-
+
+ + + + +
+
+
+

How can I contribute?

+
+

A call to action!

+
+
+
+
+ + +
+
+
+ {{ range sort .Site.Data.twitter "order" }} +
+ {{ partial "widget/tweet.html" . }} +
+ {{ end }} +
+
+
+ {{ end }} \ 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 b63eeac63..fe63c1810 100644 --- a/site/layouts/partials/home_hero_contents.html +++ b/site/layouts/partials/home_hero_contents.html @@ -1,7 +1,8 @@

{{ .Site.Params.Tagline }}

-

Yes. Experimental.

-

No. It can't run games yet.

+

Yuzu is an experimental open-source emulator for the Nintendo Switch from the creators of Citra.

+

It is written in C++ with portability in mind, with builds actively maintained for Windows, Linux and macOS. + The emulator is currently only useful for homebrew development and research purposes.

diff --git a/site/layouts/partials/layout/navbar.html b/site/layouts/partials/layout/navbar.html index 52a015d8e..f6e5453d9 100644 --- a/site/layouts/partials/layout/navbar.html +++ b/site/layouts/partials/layout/navbar.html @@ -1,3 +1,5 @@ \ No newline at end of file diff --git a/site/themes/shared-bulma-theme b/site/themes/shared-bulma-theme index d959bedf2..277141cf2 160000 --- a/site/themes/shared-bulma-theme +++ b/site/themes/shared-bulma-theme @@ -1 +1 @@ -Subproject commit d959bedf2704e6bc677f79739118a6bafc176d98 +Subproject commit 277141cf2dae72f02035b7e23d34429b3372fd13 diff --git a/src/scss/yuzu/yuzu_after_derived.scss b/src/scss/yuzu/yuzu_after_derived.scss index 926781f41..2217fb081 100644 --- a/src/scss/yuzu/yuzu_after_derived.scss +++ b/src/scss/yuzu/yuzu_after_derived.scss @@ -13,5 +13,5 @@ $text-strong: $white; $title-color: $white; $subtitle-color: $white; -$link: lighten(#fff, 50); +$link: $primary; $link-hover: darken($link, 15); \ No newline at end of file