Skip to content

Commit

Permalink
fix: Open external link in new tab (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann committed Sep 18, 2020
1 parent 188eeb4 commit 99f188e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions src/app/main/footer/footer.component.html
Expand Up @@ -19,8 +19,8 @@
</p>
</div>
<div class="box contact">
<a mat-button href="https://dasch.swiss">Data and Service Center for the Humanities</a>
<a mat-button href="https://www.google.com/maps/place/Bernoullistrasse+32%2C+4056+Basel">
<a mat-button href="https://dasch.swiss" target="_blank">Data and Service Center for the Humanities</a>
<a mat-button href="https://www.google.com/maps/place/Bernoullistrasse+32%2C+4056+Basel" target="_blank">
<mat-icon>location_on</mat-icon> Bernoullistrasse 32, 4056 Basel
</a>
<a mat-button href="mailto:info@knora.org">
Expand All @@ -31,7 +31,7 @@
</a>
</div>
<div class="box social-media">
<a mat-button href="https://www.github.com/dasch-swiss">
<a mat-button href="https://www.github.com/dasch-swiss" target="_blank">
<mat-icon>
<svg role="img" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path
Expand All @@ -40,7 +40,7 @@
</svg>
</mat-icon> dasch-swiss
</a>
<a mat-button href="https://twitter.com/DaSCHSwiss">
<a mat-button href="https://twitter.com/DaSCHSwiss" target="_blank">
<mat-icon>
<svg role="img" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path
Expand All @@ -49,7 +49,7 @@
</svg>
</mat-icon> DaSCHSwiss
</a>
<a mat-button href="https://facebook.com/dasch.swiss">
<a mat-button href="https://facebook.com/dasch.swiss" target="_blank">
<mat-icon>
<svg role="img" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path
Expand All @@ -64,8 +64,8 @@
<!-- copyright info -->
<div class="panel no-padding">
<p class="mat-caption">
<a href="https://dasch.swiss">DaSCH</a> @
<a href="https://unibas.ch">University of Basel</a> &copy; 2017 - {{currentYear.getFullYear()}}
<a href="https://dasch.swiss" target="_blank">DaSCH</a> @
<a href="https://unibas.ch" target="_blank">University of Basel</a> &copy; 2017 - {{currentYear.getFullYear()}}
</p>
</div>

Expand Down
6 changes: 3 additions & 3 deletions src/app/main/main.component.html
Expand Up @@ -58,7 +58,7 @@ <h4 class="mat-subheading-2">The tool is designed to work with qualitative data.
transcribe taped interviews. Describe images, photographs. Annotate the data and connect every
kind of media with each other.</h4>
<mat-divider class="more-space-bottom"></mat-divider>
<a mat-raised-button [color]="'accent'" href="https://dasch.swiss/team">Please contact us</a>
<a mat-raised-button [color]="'accent'" href="https://dasch.swiss/team" target="_blank">Please contact us</a>
</div>

<div *ngSwitchCase="'quantitative'">
Expand All @@ -68,7 +68,7 @@ <h4 class="mat-subheading-2">The tool is designed to work with qualitative data.
for a tool to work with quantitative data, you should contact FORS.
</h4>
<mat-divider class="more-space-bottom"></mat-divider>
<a mat-raised-button [color]="'primary'" href="https://forscenter.ch/">Please contact FORS</a>
<a mat-raised-button [color]="'primary'" href="https://forscenter.ch/" target="_blank">Please contact FORS</a>
</div>

<div *ngSwitchCase="'edition'">
Expand All @@ -78,7 +78,7 @@ <h4 class="mat-subheading-2">Another tool based on DSP-API and designed to work
exists. You should contact NIE-INE.
</h4>
<mat-divider class="more-space-bottom"></mat-divider>
<a mat-raised-button [color]="'primary'" href="https://nie-ine.ch/">Please contact NIE-INE</a>
<a mat-raised-button [color]="'primary'" href="https://nie-ine.ch/" target="_blank">Please contact NIE-INE</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 99f188e

Please sign in to comment.