Skip to content

Commit

Permalink
Add link to new discord channel
Browse files Browse the repository at this point in the history
  • Loading branch information
nstrayer committed Oct 13, 2023
1 parent f882c77 commit f1a1754
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/website/src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import LinkButton from "@/components/LinkButton.astro";
import GettingStartedIcon from "@/components/icons/GettingStartedIcon.astro";
import LiveDemoIcon from "@/components/icons/LiveDemoIcon.astro";
import DiscordIcon from "@/components/icons/DiscordIcon.astro";
import { internalLink } from "@/lib/utils";
---
Expand Down Expand Up @@ -40,6 +41,7 @@ import { internalLink } from "@/lib/utils";
<div class="mt-10 flex items-center justify-center gap-x-6">
<LinkButton href={internalLink("getting-started")}> <GettingStartedIcon/> Get started</LinkButton>
<LinkButton href={internalLink("live-demo")} variant="secondary"> <LiveDemoIcon/> Live Demo</LinkButton>
<LinkButton href={internalLink("live-demo")} variant="secondary"> <DiscordIcon class="text-xl"/> Discuss on the Shiny Discord </LinkButton>
</div>
</div>
<div class="mt-16 flow-root sm:mt-24">
Expand Down
1 change: 1 addition & 0 deletions inst/website/src/components/icons/DiscordIcon.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"><rect x="0" y="0" width="16" height="16" fill="none" stroke="none" /><path fill="currentColor" d="M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011a.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0a8.258 8.258 0 0 0-.412-.833a.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02a.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059a.051.051 0 0 0-.018-.011a8.875 8.875 0 0 1-1.248-.595a.05.05 0 0 1-.02-.066a.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085a8.254 8.254 0 0 1-1.249.594a.05.05 0 0 0-.03.03a.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019a13.235 13.235 0 0 0 4.001-2.02a.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612c0-.889.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613c0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612c0-.889.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613c0 .888-.631 1.612-1.438 1.612Z"/></svg>

0 comments on commit f1a1754

Please sign in to comment.