1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-02 22:57:36 +01:00

33 lines
900 B
HTML
Raw Normal View History

2018-02-03 10:57:45 -08:00
<Nav :page />
2018-01-06 15:51:25 -08:00
<div class="container">
<main>
<slot></slot>
</main>
2018-03-07 09:25:07 -08:00
{{#if !$isUserLoggedIn && page === 'home'}}
2018-03-08 18:08:14 -08:00
<HiddenFromSSR>
<footer>
<p>
Pinafore is <ExternalLink href="https://github.com/nolanlawson/pinafore">open-source software</ExternalLink>
created by <ExternalLink href="https://nolanlawson.com">Nolan Lawson</ExternalLink> and distributed under the
<ExternalLink href="https://github.com/nolanlawson/pinafore/blob/master/LICENSE">AGPL License</ExternalLink>.
</p>
</footer>
</HiddenFromSSR>
2018-03-07 09:25:07 -08:00
{{/if}}
</div>
2018-01-06 15:51:25 -08:00
<script>
import Nav from './Nav.html';
2018-01-28 13:09:39 -08:00
import { store } from '../_store/store'
2018-03-07 09:25:07 -08:00
import ExternalLink from './ExternalLink.html'
2018-03-08 18:08:14 -08:00
import HiddenFromSSR from './HiddenFromSSR.html'
2018-01-06 15:51:25 -08:00
export default {
components: {
2018-03-07 09:25:07 -08:00
Nav,
2018-03-08 18:08:14 -08:00
ExternalLink,
HiddenFromSSR
},
store: () => store
2018-01-22 21:30:14 -08:00
}
2018-01-06 15:51:25 -08:00
</script>