-
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
9d88343
commit 5cd3b00
Showing
5 changed files
with
162 additions
and
11 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,14 @@ | ||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.6406" height="16.5527"> | ||
<g> | ||
<rect height="16.5527" opacity="0" width="16.6406" x="0" y="0"/> | ||
<path d="M3.04688 16.5527C3.4375 16.5527 3.76953 16.3965 4.16016 16.1719L15.5469 9.58984C16.3574 9.11133 16.6406 8.79883 16.6406 8.28125C16.6406 7.76367 16.3574 7.45117 15.5469 6.98242L4.16016 0.390625C3.76953 0.166016 3.4375 0.0195312 3.04688 0.0195312C2.32422 0.0195312 1.875 0.566406 1.875 1.41602L1.875 15.1465C1.875 15.9961 2.32422 16.5527 3.04688 16.5527Z" fill="#ffffff" fill-opacity="0.85"/> | ||
</g> | ||
</svg> | ||
|
||
<style lang="scss"> | ||
svg:hover path { | ||
fill: var(--highlight); | ||
} | ||
</style> |
Binary file not shown.
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,56 @@ | ||
<script lang="ts"> | ||
import Play from "$lib/assets/icons/Play.svelte"; | ||
export let title = ''; | ||
export let description = ''; | ||
export let link = ''; | ||
</script> | ||
|
||
<div id="widget-canvas"> | ||
<p>{description}</p> | ||
<div id="icon"> | ||
<a href={link}><Play /></a> | ||
</div> | ||
|
||
</div> | ||
|
||
<style lang="scss"> | ||
#widget-canvas { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: var(--background-10); | ||
gap: 1.5rem; | ||
padding: 1rem 1rem; | ||
border-radius: 7px; | ||
width: 100%; | ||
} | ||
#icon { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
h1 { | ||
color: var(--font-2); | ||
font-family: var(--f-ExtraBold), sans-serif; | ||
font-size: 2rem; | ||
font-weight: 100; | ||
} | ||
p { | ||
color: var(--font-2); | ||
line-height: 1.5; | ||
font-family: var(--f-Regular), sans-serif; | ||
font-size: 1.4rem; | ||
// max-height: 3rem; | ||
} | ||
a { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 0.5rem 0.5rem; | ||
} | ||
</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