tidy up a couple of things

pull/1900/head
Rich Harris 7 years ago
parent 29052aba7d
commit 29fd8d7881

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

@ -1,6 +1,6 @@
<script>
import Icon from './icon.html';
import Logo from './logo.html';
import Icon from './Icon.html';
import Logo from './Logo.html';
export let segment;

@ -1,20 +1,13 @@
<script>
import InlineSvg from '../components/inline-svg.html';
import DebugCss from '../components/debug-css.html';
import Nav from '../components/top-nav.html';
import InlineSvg from '../components/InlineSvg.html';
import Nav from '../components/TopNav.html';
export let child;
const dev = process.env.NODE_ENV === 'development';
</script>
{#if dev}
<DebugCss style='bottom:4rem; right:3rem;' />
{/if}
<InlineSvg />
<Nav segment={child.segment} />
<main role='main'>
<main>
<svelte:component this={child.component} {...child.props} />
</main>

@ -1,6 +1,6 @@
<script>
import { onMount } from 'svelte';
import Icon from '../../components/icon.html';
import Icon from '../../components/Icon.html';
export let sections = [];
export let active_section = null;

@ -8,7 +8,7 @@
<script>
import { onMount } from 'svelte';
import GuideContents from './_GuideContents.html';
import Icon from '../../components/icon.html';
import Icon from '../../components/Icon.html';
// NOT YET
// get offset from css-vars (for smooth-scroll)

@ -1,7 +1,6 @@
<script>
import Icon from '../components/icon.html';
import Logo from '../components/logo.html';
import Iso from '../components/isometry.html';
import Icon from '../components/Icon.html';
import Logo from '../components/Logo.html';
let sy = 0;
</script>

@ -2,7 +2,7 @@
import * as fleece from 'golden-fleece';
import { createEventDispatcher } from 'svelte';
import UserMenu from './UserMenu.html';
import Icon from '../../../../components/icon.html';
import Icon from '../../../../components/Icon.html';
import * as doNotZip from 'do-not-zip';
import downloadBlob from '../../_utils/downloadBlob.js';
import { user } from '../../../../user.js';

@ -1,6 +1,6 @@
<script>
import { createEventDispatcher } from 'svelte';
import Icon from '../../../../components/icon.html';
import Icon from '../../../../components/Icon.html';
import { enter } from '../events.js';
const dispatch = createEventDispatcher();

Loading…
Cancel
Save