This commit is contained in:
f4ilji
2024-11-03 17:42:10 +05:00
parent 63e760872b
commit 03ff222263
71 changed files with 2916 additions and 2117 deletions
@@ -0,0 +1,43 @@
<template>
<div class="space-y-3">
<h1 class="text-2xl mb-10 font-bold md:text-3xl">{{ header }}</h1>
</div>
</template>
<script>
import {Link} from "@inertiajs/vue3";
import slugify from "slugify";
export default {
name: "BaseTitle",
components: {Link},
data() {
return {
}
},
methods: {
textLimit(text, symbols) {
if (text.length > symbols) {
let LimitedText
LimitedText = text.substring(0, symbols)
return LimitedText + "..."
}
return text
},
},
props: {
header: {
type: String,
},
},
}
</script>
<style scoped>
</style>