jeawin-astro 3.0.8 → 3.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ const categories = get_children_categories(
|
|
|
33
33
|
const ProductCountLang = render_value(all_langs, "product");
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
-
<div class="grid grid-cols-2
|
|
36
|
+
<div class="grid grid-cols-2 xl:grid-cols-6 gap-4">
|
|
37
37
|
{
|
|
38
38
|
categories.map((category: any) => (
|
|
39
39
|
<a
|
|
@@ -12,6 +12,7 @@ import { render_url, render_value } from "../scripts/util.js";
|
|
|
12
12
|
|
|
13
13
|
import DefaultImage from "./default_image.astro";
|
|
14
14
|
import RenderImage from "./image.astro";
|
|
15
|
+
import Button from "./button.astro";
|
|
15
16
|
|
|
16
17
|
const {
|
|
17
18
|
img,
|
|
@@ -50,17 +51,16 @@ const RequestBtnText = render_value(all_langs, "request a quote");
|
|
|
50
51
|
>{title}</a
|
|
51
52
|
>
|
|
52
53
|
</TitleTag>
|
|
53
|
-
<div class="hidden md:block h-
|
|
54
|
+
<div class="hidden md:block h-9 overflow-hidden">
|
|
54
55
|
<div
|
|
55
|
-
class="h-
|
|
56
|
+
class="h-9 text-center -translate-y-full group-hover:translate-y-1 transition-transform duration-300"
|
|
56
57
|
>
|
|
57
|
-
<a
|
|
58
|
+
<Button tag_name="a"
|
|
58
59
|
href={`${render_url(`request-a-quote`, base)}?product=${title}`}
|
|
59
|
-
title={RequestBtnText} rel="nofollow">{RequestBtnText}</
|
|
60
|
-
>
|
|
60
|
+
title={RequestBtnText} rel="nofollow">{RequestBtnText}</Button>
|
|
61
61
|
</div>
|
|
62
62
|
<div
|
|
63
|
-
class="h-6 flex items-center justify-center gap-5 text-center -translate-y-full group-hover:translate-y-
|
|
63
|
+
class="h-6 flex items-center justify-center gap-5 text-center -translate-y-full group-hover:translate-y-1 transition-transform duration-300"
|
|
64
64
|
>
|
|
65
65
|
{
|
|
66
66
|
original_price ? (
|