@voidzero-dev/vitepress-theme 0.0.5 → 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.
@@ -0,0 +1 @@
1
+ PLACEHOLDER - Replace with actual cta-background.jpg from viteplus.dev repository
package/dist/index.css CHANGED
@@ -13,31 +13,31 @@
13
13
  @font-face {
14
14
  font-family: 'APK Protocol';
15
15
  font-weight: 500;
16
- src: url('../fonts/APK-Protocol-Medium.woff2') format('woff2');
16
+ src: url('fonts/APK-Protocol-Medium.woff2') format('woff2');
17
17
  }
18
18
 
19
19
  @font-face {
20
20
  font-family: 'KH Teka';
21
21
  font-weight: 400;
22
- src: url('../fonts/KHTeka-Regular.woff2') format('woff2');
22
+ src: url('fonts/KHTeka-Regular.woff2') format('woff2');
23
23
  }
24
24
 
25
25
  @font-face {
26
26
  font-family: 'KH Teka';
27
27
  font-weight: 500;
28
- src: url('../fonts/KHTeka-Medium.woff2') format('woff2');
28
+ src: url('fonts/KHTeka-Medium.woff2') format('woff2');
29
29
  }
30
30
 
31
31
  @font-face {
32
32
  font-family: 'KH Teka Mono';
33
33
  font-weight: 400;
34
- src: url('../fonts/KHTekaMono-Regular.woff2') format('woff2');
34
+ src: url('fonts/KHTekaMono-Regular.woff2') format('woff2');
35
35
  }
36
36
 
37
37
  @font-face {
38
38
  font-family: 'KH Teka Mono';
39
39
  font-weight: 500;
40
- src: url('../fonts/KHTekaMono-Medium.woff2') format('woff2');
40
+ src: url('fonts/KHTekaMono-Medium.woff2') format('woff2');
41
41
  }
42
42
 
43
43
  @custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
@@ -0,0 +1,5 @@
1
+ //#region src/vitepress/assets/cta-background.jpg
2
+ var cta_background_default = "assets/cta-background-CgYtVhnO.jpg";
3
+
4
+ //#endregion
5
+ export { cta_background_default as default };
@@ -0,0 +1,5 @@
1
+ //#region src/vitepress/assets/terminal-background.jpg
2
+ var terminal_background_default = "assets/terminal-background-BWgFWVXf.jpg";
3
+
4
+ //#endregion
5
+ export { terminal_background_default as default };
@@ -1,7 +1,8 @@
1
1
  import VZIconGitHub_default from "./icons/VZIconGitHub.js";
2
2
  import VZIconBluesky_default from "./icons/VZIconBluesky.js";
3
3
  import VZIconTwitter_default from "./icons/VZIconTwitter.js";
4
- import { createElementBlock, createElementVNode, createStaticVNode, createTextVNode, createVNode, defineComponent, openBlock, toDisplayString } from "vue";
4
+ import cta_background_default from "../assets/cta-background.js";
5
+ import { createElementBlock, createElementVNode, createStaticVNode, createTextVNode, createVNode, defineComponent, normalizeStyle, openBlock, toDisplayString, unref } from "vue";
5
6
 
6
7
  //#region src/vitepress/components/Footer.vue
7
8
  const _hoisted_1 = {
@@ -35,19 +36,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
36
  __name: "Footer",
36
37
  setup(__props) {
37
38
  return (_ctx, _cache) => {
38
- return openBlock(), createElementBlock("footer", _hoisted_1, [createElementVNode("section", _hoisted_2, [_cache[5] || (_cache[5] = createStaticVNode("<div class=\"bg-wine bg-[url(assets/cta-background.jpg)] bg-cover py-16 md:py-30 px-5 md:px-0 overflow-clip flex flex-col items-center justify-center gap-8 md:gap-12\"><h2 class=\"text-white w-full md:w-2xl text-center text-balance\">Take your team&#39;s productivity to the next level with Vite+</h2><div class=\"flex items-center gap-5\"><a href=\"https://tally.so/r/nGWebL\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"button\">Register your interest</a><a href=\"https://voidzero.dev/posts/announcing-vite-plus?utm_source=viteplusdev&amp;utm_content=bottom_learn_more\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"button\"> Learn more </a></div></div>", 1)), createElementVNode("div", _hoisted_3, [_cache[4] || (_cache[4] = createStaticVNode("<div><p class=\"text-grey text-xs font-mono uppercase tracking-wide mb-8\">Company</p><ul class=\"flex flex-col gap-3\"><li><a href=\"https://voidzero.dev/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">VoidZero</a></li><li><a href=\"https://vite.dev/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Vite</a></li><li><a href=\"https://rolldown.rs/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Rolldown</a></li><li><a href=\"https://vitest.dev/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Vitest</a></li><li><a href=\"https://oxc.rs/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Oxc</a></li></ul></div>", 1)), createElementVNode("div", null, [_cache[3] || (_cache[3] = createElementVNode("p", { class: "text-grey text-xs font-mono uppercase tracking-wide mb-8" }, "Social", -1)), createElementVNode("ul", _hoisted_4, [
39
+ return openBlock(), createElementBlock("footer", _hoisted_1, [createElementVNode("section", _hoisted_2, [createElementVNode("div", {
40
+ class: "bg-wine bg-cover py-16 md:py-30 px-5 md:px-0 overflow-clip flex flex-col items-center justify-center gap-8 md:gap-12",
41
+ style: normalizeStyle({ backgroundImage: `url(${unref(cta_background_default)})` })
42
+ }, [..._cache[0] || (_cache[0] = [createElementVNode("h2", { class: "text-white w-full md:w-2xl text-center text-balance" }, "Take your team's productivity to the next level with Vite+", -1), createElementVNode("div", { class: "flex items-center gap-5" }, [createElementVNode("a", {
43
+ href: "https://tally.so/r/nGWebL",
44
+ target: "_blank",
45
+ rel: "noopener noreferrer",
46
+ class: "button"
47
+ }, "Register your interest"), createElementVNode("a", {
48
+ href: "https://voidzero.dev/posts/announcing-vite-plus?utm_source=viteplusdev&utm_content=bottom_learn_more",
49
+ target: "_blank",
50
+ rel: "noopener noreferrer",
51
+ class: "button"
52
+ }, " Learn more ")], -1)])], 4), createElementVNode("div", _hoisted_3, [_cache[5] || (_cache[5] = createStaticVNode("<div><p class=\"text-grey text-xs font-mono uppercase tracking-wide mb-8\">Company</p><ul class=\"flex flex-col gap-3\"><li><a href=\"https://voidzero.dev/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">VoidZero</a></li><li><a href=\"https://vite.dev/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Vite</a></li><li><a href=\"https://rolldown.rs/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Rolldown</a></li><li><a href=\"https://vitest.dev/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Vitest</a></li><li><a href=\"https://oxc.rs/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-white text-base\">Oxc</a></li></ul></div>", 1)), createElementVNode("div", null, [_cache[4] || (_cache[4] = createElementVNode("p", { class: "text-grey text-xs font-mono uppercase tracking-wide mb-8" }, "Social", -1)), createElementVNode("ul", _hoisted_4, [
39
53
  createElementVNode("li", null, [createElementVNode("a", _hoisted_5, [createVNode(VZIconGitHub_default, {
40
54
  class: "size-5",
41
55
  "aria-label": "GitHub"
42
- }), _cache[0] || (_cache[0] = createTextVNode("GitHub", -1))])]),
56
+ }), _cache[1] || (_cache[1] = createTextVNode("GitHub", -1))])]),
43
57
  createElementVNode("li", null, [createElementVNode("a", _hoisted_6, [createVNode(VZIconBluesky_default, {
44
58
  class: "size-5",
45
59
  "aria-label": "Bluesky"
46
- }), _cache[1] || (_cache[1] = createTextVNode("Bluesky", -1))])]),
60
+ }), _cache[2] || (_cache[2] = createTextVNode("Bluesky", -1))])]),
47
61
  createElementVNode("li", null, [createElementVNode("a", _hoisted_7, [createVNode(VZIconTwitter_default, {
48
62
  class: "size-5",
49
63
  "aria-label": "Twitter"
50
- }), _cache[2] || (_cache[2] = createTextVNode("X.com", -1))])])
64
+ }), _cache[3] || (_cache[3] = createTextVNode("X.com", -1))])])
51
65
  ])])])]), createElementVNode("section", _hoisted_8, [createElementVNode("p", _hoisted_9, [createTextVNode("© " + toDisplayString((/* @__PURE__ */ new Date()).getFullYear()) + " VoidZero Inc. ", 1), _cache[6] || (_cache[6] = createElementVNode("span", { class: "hidden sm:inline" }, "All Rights Reserved.", -1))])])]);
52
66
  };
53
67
  }
@@ -4,7 +4,8 @@ import TerminalAnimation3_default from "./terminal-animations/TerminalAnimation3
4
4
  import TerminalAnimation4_default from "./terminal-animations/TerminalAnimation4.js";
5
5
  import TerminalAnimation5_default from "./terminal-animations/TerminalAnimation5.js";
6
6
  import TerminalAnimation6_default from "./terminal-animations/TerminalAnimation6.js";
7
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onMounted, onUnmounted, openBlock, ref, unref, withCtx } from "vue";
7
+ import terminal_background_default from "../assets/terminal-background.js";
8
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, ref, unref, withCtx } from "vue";
8
9
  import { TabsContent, TabsList, TabsRoot, TabsTrigger } from "reka-ui";
9
10
 
10
11
  //#region src/vitepress/components/Terminal.vue
@@ -74,7 +75,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
75
  return openBlock(), createElementBlock("section", {
75
76
  ref_key: "sectionRef",
76
77
  ref: sectionRef,
77
- class: "wrapper border-t h-[40rem] bg-wine bg-[url(assets/terminal-background.jpg)] bg-cover bg-top flex justify-center pt-28 overflow-clip"
78
+ class: "wrapper border-t h-[40rem] bg-wine bg-cover bg-top flex justify-center pt-28 overflow-clip",
79
+ style: normalizeStyle({ backgroundImage: `url(${unref(terminal_background_default)})` })
78
80
  }, [createElementVNode("div", {
79
81
  class: normalizeClass([
80
82
  "self-stretch px-4 sm:px-8 py-5 sm:py-7 relative bg-primary rounded-tl-lg rounded-tr-lg inline-flex flex-col justify-start items-start gap-2 overflow-hidden w-[62rem] outline-1 outline-offset-[3px] outline-white/30",
@@ -151,7 +153,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
151
153
  })
152
154
  ]),
153
155
  _: 1
154
- }, 8, ["modelValue"])) : createCommentVNode("v-if", true)], 2)], 512);
156
+ }, 8, ["modelValue"])) : createCommentVNode("v-if", true)], 2)], 4);
155
157
  };
156
158
  }
157
159
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidzero-dev/vitepress-theme",
3
- "version": "0.0.5",
3
+ "version": "0.0.10",
4
4
  "description": "Shared VitePress theme for VoidZero projects",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,6 +18,7 @@
18
18
  "dist"
19
19
  ],
20
20
  "scripts": {
21
+ "dev": "tsdown --watch",
21
22
  "build": "tsdown"
22
23
  },
23
24
  "peerDependencies": {