update search
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="flex px-0 sm:px-4 pb-8 mb-8"
|
class="flex search-post px-0 sm:px-4 pb-8 mb-8"
|
||||||
v-bind:class="{ 'no-border': !border }"
|
v-bind:class="{ 'no-border': !border }"
|
||||||
>
|
>
|
||||||
<g-link :to="record.path" class="post-card-image-link">
|
<g-link :to="record.path" class="post-card-image-link">
|
||||||
@@ -100,6 +100,13 @@ export default {
|
|||||||
|
|
||||||
.flex-post {
|
.flex-post {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
|
}
|
||||||
|
.search-post{
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-color: #e2e8f0;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-card-image {
|
.post-card-image {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Layout>
|
<Layout>
|
||||||
<div class="container sm:pxi-0 mx-auto overflow-x-hidden">
|
<div class="container sm:pxi-0 mx-auto overflow-x-hidden">
|
||||||
<div class="flex flex-wrap with-large pt-8 pb-8 mx-4 sm:-mx-4">
|
<div class="flex flex-wrap pt-8 pb-8 mx-4 sm:-mx-4">
|
||||||
<PostListItem v-for="edge in $page.entries.edges" :key="edge.node.id" :record="edge.node" />
|
<PostListItem v-for="edge in $page.entries.edges" :key="edge.node.id" :record="edge.node" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="flex flex-col with-large my-auto text-center">
|
<div v-else class="flex flex-col with-large my-auto text-center">
|
||||||
<h1>404</h1>
|
<h1 class="py-1">No results</h1>
|
||||||
<p>OOPS! Something went wrong here</p>
|
<p class="pb-5">OOPS! Something went wrong here</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
@@ -159,6 +159,6 @@ export default {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 13rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user