Updated menu. Added hero parts for FAQ and contribute.

This commit is contained in:
Chris 2018-01-08 20:54:26 -05:00
parent d391f35b6a
commit 67a8b05627
6 changed files with 68 additions and 15 deletions

View File

@ -7,6 +7,24 @@ theme = "shared-bulma-theme"
# Define how many objects appear per pagination. # Define how many objects appear per pagination.
paginate = 10 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] [params]
GithubURL = "https://github.com/yuzu-emu/yuzu" GithubURL = "https://github.com/yuzu-emu/yuzu"
TwitterURL = "https://twitter.com/yuzu" TwitterURL = "https://twitter.com/yuzu"

View File

@ -1,7 +1,38 @@
{{ define "main" }} {{ define "main" }}
{{ partial "home_hero" . }} {{ partial "home_hero" . }}
<div class="container">
<section class="section"> <a name="faq"></a>
<section class="hero">
<div class="hero-body">
<div class="container">
<h1 class="title">Frequently asked questions</h1>
<div class="content">
<ol>
<li>
<span class="is-italic">Why are you the way you are?</span>
<span>Because, reasons.</span>
</li>
</ol>
</div>
</div>
</div>
</section>
<a name="contribute"></a>
<section class="hero">
<div class="hero-body">
<div class="container">
<h1 class="title">How can I contribute?</h1>
<div class="content">
<p>A call to action!</p>
</div>
</div>
</div>
</section>
<a name="updates"></a>
<section class="section">
<div class="container">
<div class="columns is-multiline"> <div class="columns is-multiline">
{{ range sort .Site.Data.twitter "order" }} {{ range sort .Site.Data.twitter "order" }}
<div class="column is-one-third"> <div class="column is-one-third">
@ -9,6 +40,7 @@
</div> </div>
{{ end }} {{ end }}
</div> </div>
</section> </div>
</div> </section>
{{ end }} {{ end }}

View File

@ -1,7 +1,8 @@
<h2 class="title">{{ .Site.Params.Tagline }}</h2> <h2 class="title">{{ .Site.Params.Tagline }}</h2>
<div class="content"> <div class="content">
<p>Yes. Experimental.</p> <p>Yuzu is an experimental open-source emulator for the Nintendo Switch from the creators of Citra.</p>
<p>No. It can't run games yet.</p> <p>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.</p>
</div> </div>
<div> <div>
<a class="button is-medium is-light" href="{{ .Site.Params.GithubURL }}" target="_blank"> <a class="button is-medium is-light" href="{{ .Site.Params.GithubURL }}" target="_blank">

View File

@ -1,3 +1,5 @@
<nav class="navbar is-dark is-size-6 is-fixed-top" role="navigation" aria-label="main navigation"> <nav class="navbar is-dark is-size-6 is-fixed-top" role="navigation" aria-label="main navigation">
<div class="container">
{{ partial "layout/navbar_contents" . }} {{ partial "layout/navbar_contents" . }}
</div>
</nav> </nav>

@ -1 +1 @@
Subproject commit d959bedf2704e6bc677f79739118a6bafc176d98 Subproject commit 277141cf2dae72f02035b7e23d34429b3372fd13

View File

@ -13,5 +13,5 @@ $text-strong: $white;
$title-color: $white; $title-color: $white;
$subtitle-color: $white; $subtitle-color: $white;
$link: lighten(#fff, 50); $link: $primary;
$link-hover: darken($link, 15); $link-hover: darken($link, 15);