Skip to content

Commit 35575a7

Browse files
committed
feat(demo): add blog link
1 parent 88c2e22 commit 35575a7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

projects/elements-demo/src/app/features/home/home/home.component.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ <h3>
2323
<button mat-flat-button color="warn" routerLink="../examples">
2424
Explore examples
2525
</button>
26+
<a
27+
mat-stroked-button
28+
href="https://medium.com/@tomastrajan/the-best-way-to-lazy-load-angular-elements-97a51a5c2007"
29+
target="_blank"
30+
>
31+
Read blog post
32+
</a>
2633
</div>
2734

2835
<h2>Quickstart</h2>

projects/elements-demo/src/app/features/home/home/home.component.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
.cta {
4747
margin: 40px 0 0 0;
4848

49-
button {
49+
button,
50+
a {
5051
margin: 5px;
5152
padding: 5px 35px;
5253
}
@@ -98,7 +99,8 @@
9899

99100
:host-context(.responsive) {
100101
.cta {
101-
button {
102+
button,
103+
a {
102104
width: 100%;
103105
}
104106
}

0 commit comments

Comments
 (0)