-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
13 changed files
with
131 additions
and
80 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<template> | ||
<div | ||
class="card border rounded-lg px-xl py-xl mr-sm mb-sm max-w-md h-full" | ||
> | ||
<div class="flex justify-between items-center"> | ||
<h3 class="text-xl text-black-950 font-semibold leading-4"> | ||
{{ title }} | ||
</h3> | ||
<AnimatedArrow v-if="link" :hover="hover" color="#C6C6C6" /> | ||
</div> | ||
<hr class="hr my-md" /> | ||
<slot name="description" class="text-sm text-black-950"></slot> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import AnimatedArrow from '../AnimatedArrow/AnimatedArrow.vue' | ||
defineProps({ | ||
title: { | ||
type: String, | ||
required: true, | ||
}, | ||
hover: { | ||
type: Boolean, | ||
required: true, | ||
}, | ||
link: { | ||
type: Boolean, | ||
default: false | ||
} | ||
}) | ||
</script> | ||
<style lang="scss" scoped> | ||
.hr { | ||
height: 3px; /* Modern Browsers */ | ||
@apply bg-black-950; | ||
} | ||
</style> |
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
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
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 |
---|---|---|
|
@@ -36,6 +36,7 @@ export const Default: Story = { | |
} | ||
}), | ||
args: { | ||
size: 70 | ||
size: 70, | ||
disableHoverEffect: false, | ||
} | ||
} |
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
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 was deleted.
Oops, something went wrong.