create new pages

pull/2143/head
Richard Harris 7 years ago
parent d1119e0c12
commit baf5cb0946

@ -190,7 +190,7 @@
color: var(--prime)
}
@media (min-width: 768px) {
@media (min-width: 840px) {
ul {
padding: 0;
background: none;
@ -245,7 +245,8 @@
>
<li class="hide-if-desktop" class:active="{!segment}"><a rel="prefetch" href=".">Home</a></li>
<li class:active="{segment === 'tutorial'}"><a rel="prefetch" href="tutorial">Tutorial</a></li>
<li class:active="{segment === 'guide'}"><a rel="prefetch" href="guide">Guide</a></li>
<li class:active="{segment === 'docs'}"><a rel="prefetch" href="docs">API Docs</a></li>
<li class:active="{segment === 'examples'}"><a rel="prefetch" href="examples">Examples</a></li>
<li class:active="{segment === 'repl'}"><a rel="prefetch" href="repl">REPL</a></li>
<li class:active="{segment === 'blog'}"><a rel="prefetch" href="blog">Blog</a></li>
<li><a href="https://sapper.svelte.technology">Sapper</a></li>

@ -1,6 +1,6 @@
<script context="module">
export async function preload() {
const sections = await this.fetch(`guide.json`).then(r => r.json());
const sections = await this.fetch(`docs.json`).then(r => r.json());
return { sections };
}
</script>

@ -1,5 +1 @@
<script>
// import Icon from '../../components/Icon.svelte';
</script>
<h1>Tutorial</h1>
Loading…
Cancel
Save