Skip to content

Commit 237119c

Browse files
sjtrimbleKeen Yee Liau
authored and
Keen Yee Liau
committed
fix(@schematics/angular): add twitter link icon (#15385)
* fix(@schematics/angular): add twitter link icon * fix(@schematics/angular): remove height unit
1 parent 1c59aa5 commit 237119c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

packages/schematics/angular/application/other-files/app.component.html.template

+34
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
margin: 0;
3131
}
3232

33+
.spacer {
34+
flex: 1;
35+
}
36+
3337
.toolbar {
3438
height: 60px;
3539
margin: -8px;
@@ -44,6 +48,15 @@
4448
margin: 0 16px;
4549
}
4650

51+
.toolbar #twitter-logo {
52+
height: 40px;
53+
margin: 0 16px;
54+
}
55+
56+
.toolbar #twitter-logo:hover {
57+
opacity: 0.8;
58+
}
59+
4760
.content {
4861
display: flex;
4962
margin: 32px auto;
@@ -290,6 +303,27 @@
290303
src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
291304
/>
292305
<span>Welcome</span>
306+
<div class="spacer"></div>
307+
<a aria-label="Angular on twitter" href="https://twitter.com/angular" title="Twitter">
308+
309+
<svg id="twitter-logo" height="24" data-name="Logo — FIXED" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
310+
<defs>
311+
<style>
312+
.cls-1 {
313+
fill: none;
314+
}
315+
316+
.cls-2 {
317+
fill: #ffffff;
318+
}
319+
</style>
320+
</defs>
321+
<rect class="cls-1" width="400" height="400" />
322+
<path class="cls-2" d="M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23"
323+
/>
324+
</svg>
325+
326+
</a>
293327
</div>
294328

295329
<div class="content" role="main">

0 commit comments

Comments
 (0)