Skip to content

Commit

Permalink
fix(header): social
Browse files Browse the repository at this point in the history
allow social links to have target blank
  • Loading branch information
duranmla committed Jun 24, 2021
1 parent 27681fe commit 67c73ba
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions packages/header-component/src/components/dc-header/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class Menu {
))}
</menu>
<div class="menu-section menu-footer mt-auto">
<dc-link class="icon" to={this.socialLinks.twitter}>
<dc-link class="icon" to={this.socialLinks.twitter} target="_blank">
<span class="d-none">Go to Debtcollective's Twitter page</span>
<svg
aria-hidden="true"
Expand All @@ -128,7 +128,11 @@ export class Menu {
/>
</svg>
</dc-link>
<dc-link class="icon" to={this.socialLinks.facebook}>
<dc-link
class="icon"
to={this.socialLinks.facebook}
target="_blank"
>
<span class="d-none">Go to Debtcollective's Facebook page</span>
<svg
aria-hidden="true"
Expand All @@ -146,7 +150,11 @@ export class Menu {
/>
</svg>
</dc-link>
<dc-link class="icon" to={this.socialLinks.instagram}>
<dc-link
class="icon"
to={this.socialLinks.instagram}
target="_blank"
>
<span class="d-none">
Go to Debtcollective's Instagram profile
</span>
Expand Down

0 comments on commit 67c73ba

Please # to comment.