@k34a/blog 0.0.9 → 0.0.10

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.
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
3
- import { Box as r, Stack as c, Title as a, Flex as l, Anchor as m, Badge as o } from "@mantine/core";
4
- import { IconHash as g } from "@tabler/icons-react";
5
- import { BannerImage as d } from "./banner-image.js";
6
- import f from "./description.js";
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
- /* @__PURE__ */ e(a, { order: 1, children: i.title }),
3
+ import { Box as r, Stack as a, Title as c, Flex as l, Badge as m } from "@mantine/core";
4
+ import { IconHash as o } from "@tabler/icons-react";
5
+ import { BannerImage as g } from "./banner-image.js";
6
+ import d from "./description.js";
7
+ function b(i) {
8
+ return /* @__PURE__ */ e(r, { maw: 800, mx: "auto", px: "sm", py: "lg", children: /* @__PURE__ */ n(a, { gap: "md", children: [
9
+ /* @__PURE__ */ e(c, { order: 1, children: i.title }),
10
10
  i.banner_image && /* @__PURE__ */ e(
11
- d,
11
+ g,
12
12
  {
13
13
  id: i.id,
14
14
  src: i.banner_image,
@@ -17,7 +17,7 @@ function w(i) {
17
17
  }
18
18
  ),
19
19
  /* @__PURE__ */ e(
20
- f,
20
+ d,
21
21
  {
22
22
  articleId: i.id,
23
23
  html: i.description,
@@ -25,16 +25,16 @@ function w(i) {
25
25
  }
26
26
  ),
27
27
  /* @__PURE__ */ e(l, { wrap: "wrap", gap: "md", align: "center", mb: "lg", children: i.tags.map((t) => /* @__PURE__ */ e(
28
- m,
28
+ "a",
29
29
  {
30
- href: `/${i.config.listingPage}?tags=${t}`,
30
+ href: `${i.config.listingPage}?tags=${t}`,
31
31
  children: /* @__PURE__ */ e(
32
- o,
32
+ m,
33
33
  {
34
34
  size: "md",
35
35
  color: "sky.5",
36
36
  variant: "outline",
37
- leftSection: /* @__PURE__ */ e(g, { size: 14 }),
37
+ leftSection: /* @__PURE__ */ e(o, { size: 14 }),
38
38
  style: { cursor: "pointer" },
39
39
  children: t
40
40
  }
@@ -45,5 +45,5 @@ function w(i) {
45
45
  ] }) });
46
46
  }
47
47
  export {
48
- w as default
48
+ b 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.9",
5
+ "version": "0.0.10",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {