-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01c2628
commit ee0340a
Showing
4 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<div class="tw-mx-auto tw-mt-10 tw-w-fit"> | ||
<img :alt="imageAlt" :src="imageLink" /> | ||
<p class="tw-text-lg text-purple-700 tw-w-fit tw-mx-auto">{{ title }}</p> | ||
<p class="text-primary tw-w-fit tw-mx-auto">{{ description }}</p> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
const { imageLink, imageAlt, title, description } = defineProps({ | ||
imageLink: { | ||
type: String, | ||
required: true, | ||
}, | ||
imageAlt: { | ||
type: String, | ||
required: true, | ||
}, | ||
title: { | ||
type: String, | ||
required: true, | ||
}, | ||
description: { | ||
type: String, | ||
required: true, | ||
}, | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters