jeawin-astro 3.0.78 → 3.0.80
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
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
const { tag_name, ...other_props } = Astro.props;
|
|
13
13
|
const TagName = tag_name ? tag_name : "button";
|
|
14
14
|
let class1 = [
|
|
15
|
+
"inline-flex",
|
|
16
|
+
"gap-2",
|
|
17
|
+
"items-center",
|
|
15
18
|
"bg-[var(--themeColor)]",
|
|
16
19
|
"hover:bg-[var(--themeColor)]/90",
|
|
17
20
|
"focus:outline-hidden",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
import { render_value, render_date, render_lang } from "../../scripts/util.js";
|
|
3
|
+
import Button from "../button.astro";
|
|
3
4
|
interface Props {
|
|
4
5
|
nodes: any[];
|
|
5
6
|
}
|
|
@@ -41,11 +42,10 @@ const downbtntext = render_lang(all_langs, "Download");
|
|
|
41
42
|
{render_date(siteinfo.language_id, node.node_created)}
|
|
42
43
|
</td>
|
|
43
44
|
<td class="w-10 text-center">
|
|
44
|
-
<a
|
|
45
|
+
<Button tag_name="a"
|
|
45
46
|
href={node.fileurl}
|
|
46
|
-
title={downbtntext}
|
|
47
|
-
|
|
48
|
-
>{downbtntext}</a>
|
|
47
|
+
title={downbtntext}
|
|
48
|
+
>{downbtntext}</Button>
|
|
49
49
|
</td>
|
|
50
50
|
</tr>
|
|
51
51
|
) : (
|
|
@@ -57,11 +57,10 @@ const downbtntext = render_lang(all_langs, "Download");
|
|
|
57
57
|
{render_date(siteinfo.language_id, node.node_created)}
|
|
58
58
|
</td>
|
|
59
59
|
<td class="border-t-2 border-gray-200 w-10 text-center">
|
|
60
|
-
<a
|
|
60
|
+
<Button tag_name="a"
|
|
61
61
|
href={node.fileurl}
|
|
62
|
-
title={downbtntext}
|
|
63
|
-
|
|
64
|
-
>{downbtntext}</a>
|
|
62
|
+
title={downbtntext}
|
|
63
|
+
>{downbtntext}</Button>
|
|
65
64
|
</td>
|
|
66
65
|
</tr>
|
|
67
66
|
)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import { Icon } from "astro-icon/components";
|
|
3
3
|
import { render_value, render_url, render_date, render_lang } from "../../scripts/util.js";
|
|
4
|
+
import Button from "../button.astro";
|
|
4
5
|
|
|
5
6
|
const { nodes } = Astro.props;
|
|
6
7
|
const { all_langs, siteinfo, base, url_suffix } = Astro.locals;
|
|
@@ -36,12 +37,11 @@ const downbtntext = render_lang(all_langs, "Download");
|
|
|
36
37
|
</div>
|
|
37
38
|
</div>
|
|
38
39
|
<div class="md:w-1/5 flex items-center">
|
|
39
|
-
<a
|
|
40
|
+
<Button tag_name="a"
|
|
40
41
|
href={node.fileurl}
|
|
41
42
|
target="_blank"
|
|
42
43
|
title={downbtntext}
|
|
43
|
-
|
|
44
|
-
><Icon name="fa6-solid:download" />{downbtntext}</a>
|
|
44
|
+
><Icon name="fa6-solid:download" />{downbtntext}</Button>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
))
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import {render_url, render_value,render_lang} from '../../scripts/util.js';
|
|
3
3
|
import SectionContainer from "../section_container.astro";
|
|
4
|
+
import Button from "../button.astro";
|
|
4
5
|
interface Props {
|
|
5
6
|
bgcolor?: any;
|
|
6
7
|
max_width_screen?: any;
|
|
@@ -86,7 +87,7 @@ const {all_langs,base,url_suffix} = Astro.locals;
|
|
|
86
87
|
</td>
|
|
87
88
|
{plans.map((plan: any) => (
|
|
88
89
|
<td class="p-4 text-center">
|
|
89
|
-
<a href={render_url(plan.btn_link, base, null, url_suffix)} title={plan.btn_text} rel="nofollow"
|
|
90
|
+
<Button tag_name="a" href={render_url(plan.btn_link, base, null, url_suffix)} title={plan.btn_text} rel="nofollow" >{plan.price}</Button>
|
|
90
91
|
</td>
|
|
91
92
|
))}
|
|
92
93
|
</tr>
|
package/src/scripts/consts.js
CHANGED
|
@@ -11,7 +11,7 @@ export const ICONS_INCLUDE = {
|
|
|
11
11
|
'house', 'message', 'circle-question', 'xmark', 'video', 'download',
|
|
12
12
|
'file-pdf', 'file-csv', 'file-image', 'file-word', 'file-video', 'file-powerpoint', 'file-excel',
|
|
13
13
|
'file-code', 'file-audio', 'file', 'file-zipper', 'sun', 'moon', 'up-right-from-square',
|
|
14
|
-
'user', 'user-tag', 'tag', 'tags', 'lock', 'lock-open', 'unlock', 'rotate', 'plus', 'minus'],
|
|
14
|
+
'user', 'user-tag', 'tag', 'tags', 'lock', 'lock-open', 'unlock', 'rotate', 'plus', 'minus', 'quote-left', 'quote-right', 'check'],
|
|
15
15
|
'fa6-brands': ['x-twitter', 'facebook', 'youtube', 'tiktok', 'linkedin',
|
|
16
16
|
'google-plus', 'flickr', 'pinterest', 'whatsapp', 'instagram', 'qq', 'weixin', 'weibo', 'bilibili', 'zhihu']
|
|
17
17
|
};
|