feat: featured courses

This commit is contained in:
Jannat Patel
2024-05-27 15:30:15 +05:30
parent cb9125632a
commit b7dd488886
12 changed files with 115 additions and 52 deletions

View File

@@ -10,6 +10,15 @@
:style="{ backgroundImage: 'url(\'' + encodeURI(course.image) + '\')' }"
>
<div class="flex relative top-4 left-4 w-fit flex-wrap">
<Badge
v-if="course.featured"
variant="subtle"
theme="green"
size="md"
class="mr-2"
>
{{ __('Featured') }}
</Badge>
<Badge
variant="outline"
theme="gray"