vue-components-mkay 0.0.0-stage → 0.0.2
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/components/PageCard.vue +7 -0
- package/components/PageHeadline.vue +24 -0
- package/components/PagetTitle.vue +12 -0
- package/package.json +16 -4
- package/README.md +0 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
const props = defineProps({
|
|
3
|
+
tagline: {
|
|
4
|
+
type: String,
|
|
5
|
+
required: false
|
|
6
|
+
},
|
|
7
|
+
title: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: true
|
|
10
|
+
}})
|
|
11
|
+
</script>
|
|
12
|
+
<template>
|
|
13
|
+
<div class="mb-8 max-w-2xl">
|
|
14
|
+
<p class="mb-2 text-sm font-semibold uppercase tracking-widest text-primary">
|
|
15
|
+
{{ props.tagline }}
|
|
16
|
+
</p>
|
|
17
|
+
<h2 id="projects-heading" class="text-3xl font-bold tracking-tight sm:text-4xl">
|
|
18
|
+
{{ props.title }}
|
|
19
|
+
</h2>
|
|
20
|
+
<section class="slot">
|
|
21
|
+
<slot></slot>
|
|
22
|
+
</section>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<section class="flex justify-between">
|
|
3
|
+
<h2 class="text-xl font-bold mb-5">{{props.title}}</h2>
|
|
4
|
+
<section class="actions">
|
|
5
|
+
<slot />
|
|
6
|
+
</section>
|
|
7
|
+
</section>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup lang="ts">
|
|
11
|
+
const props = defineProps<{ title: string }>()
|
|
12
|
+
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-components-mkay",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"vue",
|
|
6
|
+
"components",
|
|
7
|
+
"page"
|
|
8
|
+
],
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "ssh://git@git.jmse.cloud:2222/martz.digital/vue-components-mkay.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Jonathan Martz",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
17
|
+
}
|
|
18
|
+
}
|
package/README.md
DELETED