# Pull Request Template ## Description This PR includes style updates for auth screens ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules
42 lines
913 B
Vue
42 lines
913 B
Vue
<script>
|
|
export default {
|
|
props: {
|
|
reviewContent: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
authorImage: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
authorName: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
authorDesignation: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
class="flex flex-col items-start justify-center p-6 w-80 bg-n-background rounded-lg drop-shadow-md"
|
|
>
|
|
<p class="text-sm text-n-slate-12 tracking-normal">
|
|
{{ reviewContent }}
|
|
</p>
|
|
<div class="flex items-center mt-4 text-n-slate-12">
|
|
<div class="bg-white rounded-full p-1">
|
|
<img :src="authorImage" class="h-8 w-8 rounded-full" />
|
|
</div>
|
|
<div class="ml-2">
|
|
<div class="text-sm font-medium">{{ authorName }}</div>
|
|
<div class="text-xs">{{ authorDesignation }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|