Skip to content

Commit

Permalink
fix(website): All Buttons use href.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gervwyk committed Jul 19, 2023
1 parent 0a39bf3 commit 63ca371
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 33 deletions.
10 changes: 2 additions & 8 deletions packages/website/pages/home/components/connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,5 @@ properties:
_var: title
ghost: true
size: large
events:
onClick:
- id: connection_link
type: Link
params:
url:
_var: link
newTab: true
href:
_var: link
7 changes: 1 addition & 6 deletions packages/website/pages/home/sections/create_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,4 @@ blocks:
style:
backgroundColor: white
type: link
events:
onClick:
- id: link
type: Link
params:
url: https://docs.lowdefy.com/tutorial-start
href: https://docs.lowdefy.com/tutorial-start
8 changes: 1 addition & 7 deletions packages/website/pages/home/sections/hero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ blocks:
size: large
style:
background: '#1990FF'
events:
onClick:
- id: link_hero_get_started
type: Link
params:
url: https://docs.lowdefy.com/tutorial-start
newTab: true
href: https://docs.lowdefy.com/tutorial-start

- id: code_box
type: Box
Expand Down
14 changes: 2 additions & 12 deletions packages/website/shared/header/cta_buttons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ blocks:
_ref: shared/mobile.yaml
then:
marginTop: 20px
events:
onClick:
- id: link
type: Link
params:
url: https://github.com/lowdefy/lowdefy
href: https://github.com/lowdefy/lowdefy

- id: get_started_button
type: Button
Expand All @@ -59,9 +54,4 @@ blocks:
then:
width: 300px
marginTop: 30px
events:
onClick:
- id: link
type: Link
params:
url: https://docs.lowdefy.com/tutorial-start
href: https://docs.lowdefy.com/tutorial-start

0 comments on commit 63ca371

Please sign in to comment.