@k34a/blog 0.0.8 → 0.0.9

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.
@@ -7,5 +7,5 @@ type Props = {
7
7
  description: string;
8
8
  tags: string[];
9
9
  };
10
- export default function Article(props: Props): Promise<import("react/jsx-runtime").JSX.Element>;
10
+ export default function Article(props: Props): import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
3
3
  import { Box as r, Stack as c, Title as a, Flex as l, Anchor as m, Badge as o } from "@mantine/core";
4
4
  import { IconHash as g } from "@tabler/icons-react";
5
5
  import { BannerImage as d } from "./banner-image.js";
6
6
  import f from "./description.js";
7
- async function b(i) {
8
- return /* @__PURE__ */ e(r, { maw: 800, mx: "auto", px: "sm", py: "lg", children: /* @__PURE__ */ t(c, { gap: "md", children: [
7
+ function w(i) {
8
+ return /* @__PURE__ */ e(r, { maw: 800, mx: "auto", px: "sm", py: "lg", children: /* @__PURE__ */ n(c, { gap: "md", children: [
9
9
  /* @__PURE__ */ e(a, { order: 1, children: i.title }),
10
10
  i.banner_image && /* @__PURE__ */ e(
11
11
  d,
@@ -24,10 +24,10 @@ async function b(i) {
24
24
  config: i.config
25
25
  }
26
26
  ),
27
- /* @__PURE__ */ e(l, { wrap: "wrap", gap: "md", align: "center", mb: "lg", children: i.tags.map((n) => /* @__PURE__ */ e(
27
+ /* @__PURE__ */ e(l, { wrap: "wrap", gap: "md", align: "center", mb: "lg", children: i.tags.map((t) => /* @__PURE__ */ e(
28
28
  m,
29
29
  {
30
- href: `/${i.config.listingPage}?tags=${n}`,
30
+ href: `/${i.config.listingPage}?tags=${t}`,
31
31
  children: /* @__PURE__ */ e(
32
32
  o,
33
33
  {
@@ -36,14 +36,14 @@ async function b(i) {
36
36
  variant: "outline",
37
37
  leftSection: /* @__PURE__ */ e(g, { size: 14 }),
38
38
  style: { cursor: "pointer" },
39
- children: n
39
+ children: t
40
40
  }
41
41
  )
42
42
  },
43
- n
43
+ t
44
44
  )) })
45
45
  ] }) });
46
46
  }
47
47
  export {
48
- b as default
48
+ w as default
49
49
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@k34a/blog",
3
3
  "description": "Create and share articles with your audience.",
4
4
  "private": false,
5
- "version": "0.0.8",
5
+ "version": "0.0.9",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {