-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve website UI and add details about algorithm steps
- Loading branch information
1 parent
6032bc1
commit 0f0be0c
Showing
5 changed files
with
285 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<span v-if="showAsOption">Use </span> | ||
<span class="badge" :title="shortDescription" :class="class">{{ text }}</span> | ||
<span v-if="showAsOption"> ({{ shortDescription }})</span> | ||
</template> | ||
|
||
<script lang="ts"> | ||
export default { | ||
props: { | ||
class: { | ||
type: String, | ||
required: true, | ||
}, | ||
text: { | ||
type: String, | ||
required: true, | ||
}, | ||
shortDescription: { | ||
type: String, | ||
required: true, | ||
}, | ||
longDescription: { | ||
type: String, | ||
required: true, | ||
}, | ||
type: { | ||
type: String, | ||
}, | ||
showAsOption: { | ||
type: Boolean, | ||
default: false, | ||
}, | ||
} | ||
} | ||
</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
Oops, something went wrong.