New diploma display

This commit is contained in:
2025-04-29 17:23:17 +02:00
parent 7c6aa3c27f
commit 16aa715076
3 changed files with 203 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<template>
<div class="line">
<p>
<span><img class="diploma_svg" :src="diplomaSvg"/></span>
{{ text }}</p>
</div>
</template>
<script setup>
defineProps({
text:{
type:String,
required:true
}
});
import diplomaSvg from "@/assets/svg/education/diploma.svg";
</script>
<style scoped>
.line{
border-bottom: 2px solid white;
}
.diploma_svg{
width: 64px;
}
p{
color: white;
position: relative;
text-align: center;
justify-content: center;
font-size: 1.4em;
margin-bottom: 10px;
}
</style>