Skip to content

Commit c85cd86

Browse files
authored
Merge pull request #1068 from preactjs/chore/add-slack
chore: Add Slack link to header
2 parents 9f4dcec + c2d0911 commit c85cd86

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

src/assets/header-icons.svg

Lines changed: 11 additions & 0 deletions
Loading

src/components/header/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ export default function Header() {
5959
<use href="/assets/header-icons.svg#twitter" />
6060
</svg>
6161
</a>
62+
<a
63+
class={style.socialItem}
64+
aria-label="Chat with us on Slack"
65+
href="http://chat.preactjs.com/"
66+
>
67+
<svg aria-hidden viewBox="0 0 512 512">
68+
<use href="/assets/header-icons.svg#slack" />
69+
</svg>
70+
</a>
6271
</div>
6372
<div class={style.translation}>
6473
<NavMenu language />

src/components/header/style.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381

382382
svg {
383383
width: 1.5rem;
384-
height: auto;
384+
height: 1.5rem;
385385
}
386386
}
387387

0 commit comments

Comments
 (0)