-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
4 changed files
with
130 additions
and
6 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,16 @@ | ||
<template> | ||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" :stroke="color"> | ||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4" /> | ||
</svg> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
color: { | ||
type: String, | ||
default: 'currentColor' | ||
} | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" :stroke="color"> | ||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" /> | ||
</svg> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
color: { | ||
type: String, | ||
default: 'currentColor' | ||
} | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<template> | ||
<a :href="href" target="_blank" rel="noopener" class="feature"> | ||
<Icon :name="icon" /> | ||
<div class="text"> | ||
<p class="title"> | ||
{{ title }} | ||
</p> | ||
<p class="description"> | ||
{{ description }} | ||
</p> | ||
</div> | ||
</a> | ||
</template> | ||
|
||
<script> | ||
/* eslint-disable vue/require-default-prop */ | ||
export default { | ||
props: { | ||
title: String, | ||
description: String, | ||
icon: String, | ||
href: String | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.feature { | ||
display: flex; | ||
align-items: center; | ||
justify-content: flex-start; | ||
text-align: left; | ||
padding: 1rem; | ||
padding-right: 1.5rem; | ||
background: var(--background-2nd); | ||
border-radius: var(--border-radius); | ||
flex-shrink: 0; | ||
min-width: 350px; | ||
& .icon-wrapper { | ||
flex-shrink: 0; | ||
margin-right: 1rem; | ||
} | ||
& .title { | ||
font-weight: 550; | ||
} | ||
& .description { | ||
color: var(--text-light); | ||
} | ||
} | ||
</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