Skip to content

Commit

Permalink
Revert "wip"
Browse files Browse the repository at this point in the history
This reverts commit 2af7b12.
  • Loading branch information
diegopf committed Jun 18, 2024
1 parent 2af7b12 commit 684b56f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 69 deletions.
42 changes: 0 additions & 42 deletions src/components/search/results/next-queries-cta.vue

This file was deleted.

50 changes: 23 additions & 27 deletions src/components/search/results/results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,29 @@
:maxNextQueriesPerGroup="maxNextQueriesPerGroup"
:showOnlyAfterOffset="$x.partialResults.length > 0"
>
<NextQueriesCta>
<BaseVariableColumnGrid
class="x-gap-x-16 x-gap-y-32"
:animation="staggeredFadeAndSlide"
:columns="columns"
data-test="base-grid"
>
<template #result="{ item: result }">
<Result :result="result" data-test="search-grid-result" />
</template>
<template #banner="{ item: banner }">
<MainScrollItem :item="banner" tag="article">
<Banner :banner="banner" />
</MainScrollItem>
</template>
<template #promoted="{ item: promoted }">
<MainScrollItem :item="promoted" tag="article">
<Promoted :promoted="promoted" />
</MainScrollItem>
</template>
<template #next-queries-group="{ item: { nextQueries } }">
<NextQueryPreview :nextQuery="nextQueries[0]" />
</template>
</BaseVariableColumnGrid>
</NextQueriesCta>
<BaseVariableColumnGrid
class="x-gap-x-16 x-gap-y-32"
:animation="staggeredFadeAndSlide"
:columns="columns"
data-test="base-grid"
>
<template #result="{ item: result }">
<Result :result="result" data-test="search-grid-result" />
</template>
<template #banner="{ item: banner }">
<MainScrollItem :item="banner" tag="article">
<Banner :banner="banner" />
</MainScrollItem>
</template>
<template #promoted="{ item: promoted }">
<MainScrollItem :item="promoted" tag="article">
<Promoted :promoted="promoted" />
</MainScrollItem>
</template>
<template #next-queries-group="{ item: { nextQueries } }">
<NextQueryPreview :nextQuery="nextQueries[0]" />
</template>
</BaseVariableColumnGrid>
</NextQueriesList>
</BannersList>
</PromotedsList>
Expand All @@ -63,11 +61,9 @@
import Result from '../../results/result.vue';
import { useExperienceControls } from '../../../composables/use-experience-controls.composable';
import NextQueryPreview from './custom-next-query-preview.vue';
import NextQueriesCta from '@/components/search/results/next-queries-cta.vue';
export default defineComponent({
components: {
NextQueriesCta,
Banner,
BannersList,
BaseVariableColumnGrid,
Expand Down

0 comments on commit 684b56f

Please sign in to comment.