jeawin-astro 3.0.50 → 3.0.52

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.50",
3
+ "version": "3.0.52",
4
4
  "author": "chaegumi <chaegumi@qq.com>",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -35,10 +35,10 @@ if (render_value(node, "content")) {
35
35
  ---
36
36
 
37
37
  <div
38
- class="group p-2 md:py-8 md:px-4 bg-white rounded-lg shadow-lg outline-hidden ring-zinc-500 transition-transform duration-300 hover:-translate-y-[5px] focus-visible:ring-3 focus-visible:ring-blue-500 flex flex-col justify-between h-full"
38
+ class="group p-2 md:py-8 md:px-4 bg-white overflow-hidden rounded-lg shadow-lg outline-hidden ring-zinc-500 transition-transform duration-300 hover:-translate-y-[5px] focus-visible:ring-3 focus-visible:ring-blue-500 flex flex-col h-full gap-4"
39
39
  >
40
40
  <div
41
- class="relative overflow-hidden rounded-xs h-full flex items-center justify-center"
41
+ class="relative overflow-hidden rounded-xs"
42
42
  >
43
43
  {
44
44
  node.channel_id == 11 ? (
@@ -66,7 +66,7 @@ if (render_value(node, "content")) {
66
66
  )
67
67
  }
68
68
  </div>
69
- <div class="mt-7">
69
+ <div>
70
70
  <TitleTag class:list={["text-center", title_class]}>
71
71
  <a href={render_url(node.node_url, base, null, url_suffix)} title={node.node_title}
72
72
  >{node.node_title}</a
@@ -13,12 +13,13 @@ import RemoteImage from "./remote_image.astro";
13
13
  import DefaultImage from "./default_image.astro";
14
14
  import {render_url} from "../scripts/util.js";
15
15
  const {logo_class} = Astro.props;
16
+ const {base} = Astro.locals;
16
17
  ---
17
18
 
18
19
  <SiteOptions option_name="logo_title">
19
20
  {
20
21
  (logo_title: any) => (
21
- <a href={render_url("/")} title={logo_title} class="inline-block">
22
+ <a href={render_url("/", base)} title={logo_title} class="inline-block">
22
23
  <SiteOptions option_name="sitelogo">
23
24
  {(sitelogo: any) => (
24
25
  <Fragment>
@@ -63,7 +63,7 @@ if (Number(nodeinfo.category_id)) {
63
63
  }
64
64
  ---
65
65
 
66
- <div class="flex justify-center gap-4" data-aos="fade-up" data-aos-once="false">
66
+ <div class="flex justify-center gap-4">
67
67
  {
68
68
  prevnode ? (
69
69
  <a