Skip to content

Commit 660ba70

Browse files
committed
Test filter
1 parent 501a778 commit 660ba70

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

components/Products/ProductFilters.vue

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<template>
2-
<div class="w-full md:w-64 flex-shrink-0">
2+
<div>
3+
Filter!
34
<div class="bg-white px-8 pb-8 sm:px-6 sm:pb-6 rounded-lg shadow-sm">
45
<!-- PRODUCT TYPE -->
56
<div class="mb-8">
@@ -51,8 +52,4 @@
5152
</Button>
5253
</div>
5354
</div>
54-
</template>
55-
56-
<script setup>
57-
58-
</script>
55+
</template>

pages/products.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
<div class="container mx-auto px-4 py-8">
33
<div class="flex flex-col md:flex-row gap-8">
44
<!-- Sidebar Filters -->
5+
ProductFilters:
56
<ProductFilters />
67

78
<!-- Main Content -->
89
<div class="flex-1">
9-
<div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-8">
10+
<div
11+
class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-8"
12+
>
1013
<h1 class="text-xl sm:text-2xl font-medium text-center sm:text-left">
1114
Produkter <span class="text-gray-500">(0)</span>
1215
</h1>
@@ -19,8 +22,6 @@
1922
</template>
2023

2124
<script setup>
22-
23-
2425
useHead({
2526
title: "Products",
2627
titleTemplate: "%s - Nuxt 3 Woocommerce",

0 commit comments

Comments
 (0)