@voidzero-dev/vitepress-theme 0.0.4 → 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.
- package/dist/assets/checkmark.svg +1 -0
- package/dist/assets/cta-background-CgYtVhnO.jpg +1 -0
- package/dist/assets/cta-background.jpg +1 -0
- package/dist/assets/primary-button-background.jpg +0 -0
- package/dist/assets/terminal-background-BWgFWVXf.jpg +0 -0
- package/dist/assets/terminal-background.jpg +0 -0
- package/dist/fonts/APK-Protocol-Medium.woff2 +0 -0
- package/dist/fonts/KHTeka-Medium.woff2 +0 -0
- package/dist/fonts/KHTeka-Regular.woff2 +0 -0
- package/dist/fonts/KHTekaMono-Medium.woff2 +0 -0
- package/dist/fonts/KHTekaMono-Regular.woff2 +0 -0
- package/dist/index.css +7 -7
- package/dist/vitepress/assets/cta-background.js +5 -0
- package/dist/vitepress/assets/terminal-background.js +5 -0
- package/dist/vitepress/components/Footer.js +19 -5
- package/dist/vitepress/components/Terminal.js +5 -3
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="19" fill="none" viewBox="0 0 20 19"><circle cx="10" cy="9.5" r="9" stroke="#3b3440" stroke-width=".5"/><path stroke="#fff" stroke-width="1.2" d="M17.794 14a9 9 0 0 0 0-9M2.206 14a9 9 0 0 1 0-9"/><path stroke="#fff" stroke-linejoin="bevel" stroke-width="1.2" d="m6.249 9.788 2.308 2.309 5.195-5.195"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PLACEHOLDER - Replace with actual cta-background.jpg from viteplus.dev repository
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PLACEHOLDER - Replace with actual cta-background.jpg from viteplus.dev repository
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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('
|
|
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('
|
|
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('
|
|
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('
|
|
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('
|
|
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] *));
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
right: -3px;
|
|
179
179
|
bottom: -3px;
|
|
180
180
|
background-color: #CCCCCC;
|
|
181
|
-
background-image: url('
|
|
181
|
+
background-image: url('assets/primary-button-background.jpg');
|
|
182
182
|
background-size: 150% 150%;
|
|
183
183
|
background-position: center;
|
|
184
184
|
border-radius: calc(0.5rem + 3px);
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
transform: translateY(-50%);
|
|
274
274
|
width: 20px;
|
|
275
275
|
height: 20px;
|
|
276
|
-
background-image: url('
|
|
276
|
+
background-image: url('assets/checkmark.svg');
|
|
277
277
|
background-size: contain;
|
|
278
278
|
background-repeat: no-repeat;
|
|
279
279
|
background-position: center;
|
|
@@ -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
|
|
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, [
|
|
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[
|
|
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[
|
|
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[
|
|
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
|
|
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-
|
|
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)],
|
|
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.
|
|
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": {
|