Skip to content

Commit

Permalink
switch XTDB Zulip link and icon to Discuss
Browse files Browse the repository at this point in the history
  • Loading branch information
refset committed Sep 26, 2024
1 parent af1e712 commit f8e74a9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
SpotifyIcon,
TwitterIcon,
YoutubeIcon,
ZulipIcon
DiscussIcon
} from './Icons'
type NavigationItem = {
Expand Down Expand Up @@ -38,7 +38,7 @@ function renderIcon(item: NavigationItem) {
bluesky: BlueskyIcon,
youtube: YoutubeIcon,
spotify: SpotifyIcon,
zulip: ZulipIcon
discuss: DiscussIcon
}[item.icon]
: null
Expand Down
15 changes: 8 additions & 7 deletions src/components/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,19 @@ export function UserIcon({ className }: IconProps) {
)
}

export function ZulipIcon({ className }: IconProps) {
export function DiscussIcon({ className }: IconProps) {
return (
<svg
class={className}
xmlns='http://www.w3.org/2000/svg'
version='1.1'
viewBox='0 0 256 298'
viewBox='0 0 24 24'
stroke='currentColor'
stroke-width='2'
stroke-linecap='round'
stroke-linejoin='round'
>
<path d='M 0,0 H 220.5 L 154,68 H 32 z' />
<path d='M 224,0 L 256,68 L 100.5,227.5 L 2.5,227.5 z' />
<path d='M 0,230 H 224 L256,298 H 32 z' />
</svg>
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
</svg>
)
}

Expand Down
6 changes: 3 additions & 3 deletions src/data/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
"href": "https://github.com/xtdb/xtdb"
},
{
"label": "Zulip",
"icon": "zulip",
"href": "https://juxt-oss.zulipchat.com/#narrow/stream/194466-xtdb"
"label": "Discuss",
"icon": "discuss",
"href": "https://discuss.xtdb.com/"
},
{
"label": "Email XT Team",
Expand Down

0 comments on commit f8e74a9

Please sign in to comment.