Skip to content

Commit ef64824

Browse files
authored
feat: hyperlink the app name in the footers (#497)
* feat: hyperlink the app name in the footer * fix: from review feedback, fix link color and add noopener
1 parent 6bb98f7 commit ef64824

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

packages/studio-web/src/app/app.component.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,12 @@
9595
</mat-toolbar>
9696
<router-outlet></router-outlet>
9797
<div class="footer">
98-
<div class="version">&#64;readalongs/studio-web version: {{ version }}</div>
98+
<div class="version">
99+
<a
100+
href="https://github.com/ReadAlongs/Studio-Web"
101+
target="_blank"
102+
rel="noopener noreferrer"
103+
>&#64;readalongs/studio-web {{ version }}</a
104+
>
105+
</div>
99106
</div>

packages/web-component/src/components/read-along-component/read-along.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,13 @@ export class ReadAlongComponent {
22862286
</button>
22872287
</div>
22882288
<p class="version">
2289-
@readalongs/web-component version: {PACKAGE_VERSION}
2289+
<a
2290+
href="https://github.com/ReadAlongs/Studio-Web"
2291+
target="_blank"
2292+
rel="noopener noreferrer"
2293+
>
2294+
@readalongs/web-component {PACKAGE_VERSION}
2295+
</a>
22902296
</p>
22912297
</div>
22922298
<div class="footer">

packages/web-component/src/scss/utilities/_colors.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ $color-text-invert: rgba($color-background, 0.75);
5151
$color-text-strong-invert: $color-background;
5252

5353
// Links
54-
$color-link: $hopbush;
54+
$color-link: #0d6efd;
5555
$color-link-hover: $midnight-blue;
56-
$color-link-visited: $bouquet;
56+
$color-link-visited: #0d6efd;
5757

5858
// Code
5959
$color-code: #333;

0 commit comments

Comments
 (0)