2018-05-02 00:05:36 +00:00
|
|
|
{#if $isUserLoggedIn}
|
2018-03-14 00:14:57 +00:00
|
|
|
<div class="search-page">
|
|
|
|
<Search></Search>
|
|
|
|
</div>
|
2018-05-02 00:05:36 +00:00
|
|
|
{:else}
|
2018-03-14 00:14:57 +00:00
|
|
|
<HiddenFromSSR>
|
|
|
|
<FreeTextLayout>
|
|
|
|
<h1>Search</h1>
|
|
|
|
|
|
|
|
<p>You can search once logged in to an instance.</p>
|
|
|
|
</FreeTextLayout>
|
|
|
|
</HiddenFromSSR>
|
2018-05-02 00:05:36 +00:00
|
|
|
{/if}
|
2018-03-14 00:14:57 +00:00
|
|
|
<style>
|
|
|
|
.search-page {
|
|
|
|
padding: 20px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.search-page {
|
|
|
|
padding: 20px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
2018-12-11 15:31:48 +00:00
|
|
|
import FreeTextLayout from '../_components/FreeTextLayout.html'
|
|
|
|
import { store } from '../_store/store.js'
|
|
|
|
import HiddenFromSSR from '../_components/HiddenFromSSR'
|
|
|
|
import Search from '../_components/search/Search.html'
|
2018-03-14 00:14:57 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
store: () => store,
|
|
|
|
components: {
|
|
|
|
Search,
|
|
|
|
FreeTextLayout,
|
|
|
|
HiddenFromSSR
|
|
|
|
}
|
|
|
|
}
|
2018-12-11 15:31:48 +00:00
|
|
|
</script>
|