@@ -6,7 +6,7 @@ This component is used to either navigate within your matestack application or t
6
6
7
7
## Parameters
8
8
9
- This component create a ` <a> ` -tag and expects a mandatory path input and optional options parameters.
9
+ This component creates an ` <a> ` -tag and expects a mandatory path input and optional options parameters.
10
10
11
11
#### # path
12
12
If the path input is a ** string** it creates a link to the outside web.
@@ -33,15 +33,15 @@ This example renders a simple link within a `<div`-tag
33
33
34
34
``` ruby
35
35
div id: " foo" , class : " bar" do
36
- link path: " https://matestack.io " , text: " Here"
36
+ link path: " https://matestack.org " , text: " Here"
37
37
end
38
38
```
39
39
40
40
and returns
41
41
42
42
``` html
43
43
<div id =" foo" class =" bar" >
44
- <a href =" https://matestack.io " >Here</a >
44
+ <a href =" https://matestack.org " >Here</a >
45
45
</div >
46
46
```
47
47
@@ -50,7 +50,7 @@ This example renders a link without a specific link-text, so it wraps the rest o
50
50
51
51
``` ruby
52
52
div id: " foo" , class : " bar" do
53
- link path: " https://matestack.io " do
53
+ link path: " https://matestack.org " do
54
54
plain " Here"
55
55
end
56
56
end
@@ -60,7 +60,7 @@ returns
60
60
61
61
``` html
62
62
<div id =" foo" class =" bar" >
63
- <a href =" https://matestack.io " >Here</a >
63
+ <a href =" https://matestack.org " >Here</a >
64
64
</div >
65
65
```
66
66
@@ -69,7 +69,7 @@ This example renders a link around a div and the link opens in a new tab.
69
69
70
70
``` ruby
71
71
div id: " foo" , class : " bar" do
72
- link path: " https://matestack.io " , target: " _blank" do
72
+ link path: " https://matestack.org " , target: " _blank" do
73
73
div do
74
74
plain " Here"
75
75
end
@@ -81,7 +81,7 @@ returns
81
81
82
82
``` html
83
83
<div id =" foo" class =" bar" >
84
- <a target =" _blank" href =" https://matestack.io " >
84
+ <a target =" _blank" href =" https://matestack.org " >
85
85
<div >Here</div >
86
86
</a >
87
87
</div >
0 commit comments