@eox/pages-theme-eox 0.4.7 → 0.4.8
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
|
@@ -11,12 +11,22 @@
|
|
|
11
11
|
<h5 :class="`title primary-text large`">{{ tagline }}</h5>
|
|
12
12
|
<p><slot></slot></p>
|
|
13
13
|
<nav>
|
|
14
|
-
<a
|
|
15
|
-
|
|
14
|
+
<a
|
|
15
|
+
v-if="primaryLink !== undefined"
|
|
16
|
+
:href="withBase(primaryLink)"
|
|
17
|
+
:target="primaryLink.includes('https://') ? '_blank' : '_self'"
|
|
18
|
+
:class="`button primary medium-elevate`"
|
|
19
|
+
>
|
|
20
|
+
<span>{{ primaryButton || `Read more about ${title}` }}</span>
|
|
16
21
|
<i class="mdi mdi-arrow-right"></i>
|
|
17
22
|
</a>
|
|
18
|
-
<a
|
|
19
|
-
|
|
23
|
+
<a
|
|
24
|
+
v-if="secondaryLink !== undefined"
|
|
25
|
+
:href="withBase(secondaryLink)"
|
|
26
|
+
:target="secondaryLink.includes('https://') ? '_blank' : '_self'"
|
|
27
|
+
class="button border"
|
|
28
|
+
>
|
|
29
|
+
<span>{{ secondaryButton || "Contact sales" }}</span>
|
|
20
30
|
<i class="mdi mdi-arrow-right"></i>
|
|
21
31
|
</a>
|
|
22
32
|
</nav>
|
|
@@ -30,11 +40,13 @@
|
|
|
30
40
|
import { defineProps } from "vue";
|
|
31
41
|
import { withBase } from "vitepress";
|
|
32
42
|
const props = defineProps([
|
|
33
|
-
"button",
|
|
34
43
|
"icon",
|
|
35
44
|
"image",
|
|
36
45
|
"landing",
|
|
37
|
-
"
|
|
46
|
+
"primaryButton",
|
|
47
|
+
"primaryLink",
|
|
48
|
+
"secondaryButton",
|
|
49
|
+
"secondaryLink",
|
|
38
50
|
"tagline",
|
|
39
51
|
"title",
|
|
40
52
|
]);
|