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.
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"

View File

@ -1,14 +1,46 @@
{{ define "main" }}
{{ partial "home_hero" . }}
<div class="container">
<section class="section">
<div class="columns is-multiline">
{{ range sort .Site.Data.twitter "order" }}
<div class="column is-one-third">
{{ partial "widget/tweet.html" . }}
</div>
{{ end }}
<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>
</section>
</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">
{{ range sort .Site.Data.twitter "order" }}
<div class="column is-one-third">
{{ partial "widget/tweet.html" . }}
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}

View File

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

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

View File

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