mirror of
https://github.com/status-im/artproject.git
synced 2025-02-23 05:08:24 +00:00
Button component could be a link
This commit is contained in:
parent
ca9fa59470
commit
a9ce1bbd36
@ -50,7 +50,7 @@ project:
|
||||
button:
|
||||
label: 'Project Proposal'
|
||||
icon: 'images/file.svg'
|
||||
|
||||
href: 'https://drive.google.com/file/d/1v-1R8juWUIptoO1ND8EZTh3zTcRJPkmG/view'
|
||||
counterText: '03 - 06'
|
||||
nextSectionLink:
|
||||
text: 'Learn more about the structure ↓'
|
||||
|
@ -1,4 +1,4 @@
|
||||
<button
|
||||
<{{#if href}}a href={{href}} rel="noopener" target="_blank"{{else}}button{{/if}}
|
||||
class="button {{ class }}"
|
||||
style="
|
||||
{{#if outlineColor }}
|
||||
@ -15,4 +15,4 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
{{label}}
|
||||
</button>
|
||||
</{{#if href}}a{{else}}button{{/if}}>
|
||||
|
@ -19,6 +19,7 @@
|
||||
class="project__button"
|
||||
backgroundColor="#ff5301"
|
||||
label=project.button.label
|
||||
href=project.button.href
|
||||
icon=(svg project.button.icon)
|
||||
}}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user