jeawin-astro 3.0.28 → 3.0.30

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jeawin-astro",
3
- "version": "3.0.28",
3
+ "version": "3.0.30",
4
4
  "author": "chaegumi <chaegumi@qq.com>",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -26,6 +26,7 @@ let class1 = [
26
26
  "font-semibold",
27
27
  "!text-white",
28
28
  "whitespace-nowrap",
29
+ "cursor-pointer"
29
30
  ];
30
31
 
31
32
  for (let k in other_props) {
@@ -16,7 +16,7 @@ import DefaultImage from "./default_image.astro";
16
16
  <SiteOptions option_name="logo_title">
17
17
  {
18
18
  (logo_title: any) => (
19
- <a href="/" title={logo_title}>
19
+ <a href="/" title={logo_title} class="inline-block">
20
20
  <SiteOptions option_name="sitelogo">
21
21
  {(sitelogo: any) => (
22
22
  <Fragment>
@@ -2,15 +2,23 @@
2
2
  interface Props extends astroHTML.JSX.HTMLAttributes {
3
3
  bgcolor?: any;
4
4
  max_width_screen?: any;
5
+ aosOption?: {
6
+ animation?: string;
7
+ once?: boolean;
8
+ }
5
9
  }
6
10
  const {
7
11
  bgcolor = "bg-white",
8
12
  max_width_screen = "max-w-screen-2xl",
13
+ aosOption = {
14
+ animation: 'fade-up',
15
+ once: false
16
+ },
9
17
  ...other_props
10
18
  } = Astro.props;
11
19
  ---
12
20
 
13
- <section data-aos="fade-up" data-aos-once="false" class:list={["relative", "z-[2]", bgcolor]} {...other_props}>
21
+ <section data-aos={aosOption.animation} data-aos-once={aosOption.once} class:list={["relative", "z-[2]", bgcolor]} {...other_props}>
14
22
  <div
15
23
  class:list={[
16
24
  "relative",
@@ -4,7 +4,7 @@ import _ from 'lodash';
4
4
  * 图标配置
5
5
  */
6
6
  export const ICONS_INCLUDE = {
7
- 'fa6-solid': ['magnifying-glass', 'clock', 'eye', 'envelope', 'phone', 'angle-right', 'angle-left', 'angle-up', 'angle-down', 'arrow-right',
7
+ 'fa6-solid': ['magnifying-glass', 'clock', 'eye', 'envelope', 'phone', 'fax', 'angle-right', 'angle-left', 'angle-up', 'angle-down', 'arrow-right',
8
8
  'arrow-left', 'arrow-up', 'arrow-down', 'house', 'message', 'circle-question', 'xmark', 'video', 'download',
9
9
  'file-pdf', 'file-csv', 'file-image', 'file-word', 'file-video', 'file-powerpoint', 'file-excel',
10
10
  'file-code', 'file-audio', 'file', 'file-zipper', 'sun', 'moon', 'up-right-from-square', 'user', 'user-tag', 'tag', 'tags', 'lock', 'lock-open', 'unlock'],