jeawin-astro 3.0.85 → 3.0.87
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
|
@@ -13,8 +13,9 @@ interface Props {
|
|
|
13
13
|
block_title?: any;
|
|
14
14
|
block_subtitle?: any;
|
|
15
15
|
h_tag_name?: any;
|
|
16
|
+
h_tag_class?: any;
|
|
16
17
|
}
|
|
17
|
-
const { block_title, block_subtitle, h_tag_name = 'h2' } = Astro.props;
|
|
18
|
+
const { block_title, block_subtitle, h_tag_name = 'h2', h_tag_class = '' } = Astro.props;
|
|
18
19
|
|
|
19
20
|
const HTagName = h_tag_name;
|
|
20
21
|
---
|
|
@@ -23,7 +24,7 @@ const HTagName = h_tag_name;
|
|
|
23
24
|
<div
|
|
24
25
|
class="text-center mb-4 flex flex-col gap-4 after:mx-auto after:w-1/12 after:border after:border-[var(--themeColor)]"
|
|
25
26
|
>
|
|
26
|
-
<HTagName class="text-4xl tracking-tight font-extrabold text-gray-900 ">
|
|
27
|
+
<HTagName class:list={["text-4xl tracking-tight font-extrabold text-gray-900 ", h_tag_class]}>
|
|
27
28
|
<Fragment set:html={block_title} />
|
|
28
29
|
</HTagName>
|
|
29
30
|
</div>
|
|
@@ -12,15 +12,16 @@
|
|
|
12
12
|
interface Props {
|
|
13
13
|
block_title: any;
|
|
14
14
|
h_tag_name?: any;
|
|
15
|
+
h_tag_class?: any;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
const { block_title, h_tag_name = 'h2' } = Astro.props;
|
|
18
|
+
const { block_title, h_tag_name = 'h2', h_tag_class= '' } = Astro.props;
|
|
18
19
|
|
|
19
20
|
const HTagName = h_tag_name;
|
|
20
21
|
---
|
|
21
22
|
|
|
22
23
|
<HTagName
|
|
23
|
-
class="text-2xl mb-7 flex flex-col gap-5 after:w-1/12 after:border after:border-[var(--themeColor)]"
|
|
24
|
+
class:list={["text-2xl mb-7 flex flex-col gap-5 after:w-1/12 after:border after:border-[var(--themeColor)]",h_tag_class]}
|
|
24
25
|
>
|
|
25
26
|
{block_title}
|
|
26
27
|
</HTagName>
|
|
@@ -3,13 +3,14 @@ interface Props {
|
|
|
3
3
|
block_title: any;
|
|
4
4
|
block_subtitle?: any;
|
|
5
5
|
h_tag_name?: any;
|
|
6
|
+
h_tag_class?: any;
|
|
6
7
|
}
|
|
7
|
-
const { block_title, block_subtitle, h_tag_name = 'h2' } = Astro.props;
|
|
8
|
+
const { block_title, block_subtitle, h_tag_name = 'h2', h_tag_class = '' } = Astro.props;
|
|
8
9
|
const HTagName = h_tag_name;
|
|
9
10
|
---
|
|
10
11
|
|
|
11
12
|
<div class="mx-auto max-w-screen-sm text-center mb-8 lg:mb-16">
|
|
12
|
-
<HTagName class="mb-4 text-4xl tracking-tight font-extrabold text-gray-900">
|
|
13
|
+
<HTagName class:list={["mb-4 text-4xl tracking-tight font-extrabold text-gray-900", h_tag_class]}>
|
|
13
14
|
{block_title}
|
|
14
15
|
</HTagName>
|
|
15
16
|
<p class="font-light text-gray-500 lg:mb-16 sm:text-xl">
|
package/src/layouts/Layout.astro
CHANGED
|
@@ -277,7 +277,7 @@ if (page_type == "category") {
|
|
|
277
277
|
async
|
|
278
278
|
defer></script>
|
|
279
279
|
<script is:inline src={`${base ? `${base}/` : '/'}global.variable.js`}></script>
|
|
280
|
-
<script is:inline src="https://img.jeawincdn.com/resource/js/form.js?v=20250529" async defer></script>
|
|
280
|
+
<script is:inline src="https://img.jeawincdn.com/resource/js/form.min.js?v=20250529" async defer></script>
|
|
281
281
|
<script
|
|
282
282
|
is:inline
|
|
283
283
|
src="https://img.jeawincdn.com/resource/js/lazysizes.min.js"
|