Skip to content

Commit

Permalink
Updated from Slack to Discord (#5196)
Browse files Browse the repository at this point in the history
* Updated from Slack to Discord
* Updated doc and logo data
* Added discord png logo to doc

Co-authored-by: Sashank Aryal <[email protected]>
  • Loading branch information
minhtuev and sashankaryal authored Nov 27, 2024
1 parent 34961bb commit 9f690fe
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 19 deletions.
4 changes: 2 additions & 2 deletions app/packages/app/src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
GitHubLink,
Header,
IconButton,
SlackLink,
DiscordLink,
iconContainer,
} from "@fiftyone/components";
import { ViewBar } from "@fiftyone/core";
Expand Down Expand Up @@ -111,7 +111,7 @@ const Nav: React.FC<
>
{mode === "dark" ? <LightMode color="inherit" /> : <DarkMode />}
</IconButton>
<SlackLink />
<DiscordLink />
<GitHubLink />
<DocsLink />
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/packages/app/src/components/Setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
DocsLink,
GitHubLink,
Header,
SlackLink,
DiscordLink,
iconContainer,
useTheme,
} from "@fiftyone/components";
Expand Down Expand Up @@ -190,7 +190,7 @@ const Setup = () => {
<div data-cy="setup-page">
<Header title={"FiftyOne"}>
<div className={iconContainer} style={{ flex: 1 }}>
<SlackLink />
<DiscordLink />
<GitHubLink />
<DocsLink />
</div>
Expand Down
9 changes: 5 additions & 4 deletions app/packages/components/src/components/Icons/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ import { iconLink } from "./Icons.module.css";

export { iconContainer } from "./Icons.module.css";

export const SlackLink = () => (
export const DiscordLink = () => (
<ExternalLink
className={iconLink}
href={"https://slack.voxel51.com"}
title={"Slack"}
href={"https://community.voxel51.com/"}
title={"Discord"}
>
<SvgIcon
sx={{
fill: (theme) => theme.palette.text.secondary,
}}
viewBox="0 0 127.14 96.36"
>
<path d="M6 15a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2h2v2m1 0a2 2 0 0 1 2-2a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2a2 2 0 0 1-2-2v-5m2-8a2 2 0 0 1-2-2a2 2 0 0 1 2-2a2 2 0 0 1 2 2v2H9m0 1a2 2 0 0 1 2 2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2a2 2 0 0 1 2-2h5m8 2a2 2 0 0 1 2-2a2 2 0 0 1 2 2a2 2 0 0 1-2 2h-2v-2m-1 0a2 2 0 0 1-2 2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2a2 2 0 0 1 2 2v5m-2 8a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2v-2h2m0-1a2 2 0 0 1-2-2a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2a2 2 0 0 1-2 2h-5z" />
<path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z" />
</SvgIcon>
</ExternalLink>
);
Expand Down
2 changes: 1 addition & 1 deletion app/packages/components/src/components/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export {
KeyboardArrowUp,
LookerArrowLeftIcon,
LookerArrowRightIcon,
SlackLink,
DiscordLink,
} from "./Icons";
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<div class="nav__item nav__dropdown__menu has-arrows">
<div class="arrow-up--light-primary arrow-left20"></div>
<ul>
<li><a href="{{link_voxel51_slack}}">Community Slack</a></li>
<li><a href="{{link_voxel51_discord}}">Community Discord</a></li>
<li><a href="{{link_voxel51_blog}}">Blog</a></li>
<li><a href="{{link_events}}">Events</a></li>
</ul>
Expand Down Expand Up @@ -140,7 +140,7 @@
<a href="{{link_voxel51_blog}}">Blog</a>
<a href="{{link_docs_fiftyone}}">Docs</a>
<a href="{{link_voxel51_github}}">GitHub</a>
<a href="{{link_voxel51_slack}}">Slack</a>
<a href="{{link_voxel51_discord}}">Discord</a>
<a href="{{link_ourstory}}">About Us</a>
<a href="{{link_events}}">Events</a>
<a href="{{link_voxel51_jobs}}">Careers</a>
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@
"link_voxel51_facebook": "https://www.facebook.com/voxel51/",
"link_voxel51_github": "https://github.com/voxel51/",
"link_voxel51_linkedin": "https://www.linkedin.com/company/voxel51/",
"link_voxel51_discord": "https://community.voxel51.com",
"link_voxel51_slack": "https://slack.voxel51.com",
"link_voxel51_twitter": "https://twitter.com/voxel51",
"link_voxel51_blog": "https://voxel51.com/blog/",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This page lists common issues encountered when installing FiftyOne and possible
solutions. If you encounter an issue that this page doesn't help you resolve,
feel free to
`open an issue on GitHub <https://github.com/voxel51/fiftyone/issues/new?labels=bug&template=installation_issue_template.md&title=%5BSETUP-BUG%5D>`_
or `contact us on Slack <https://slack.voxel51.com>`_.
or `contact us on Discord <https://community.voxel51.com>`_.

.. note::

Expand Down
8 changes: 4 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ FiftyOne
</a>
</th>
<th>
<a target="_blank" href="https://slack.voxel51.com">
<img alt="Slack community" src="_static/images/icons/slack-logo-256px.png">
&nbsp Join us on Slack
<a target="_blank" href="https://community.voxel51.com/">
<img alt="Discord community" src="_static/images/icons/discord-logo-256px.png">
&nbsp Join us on Discord
</a>
</th>
<th>
Expand Down Expand Up @@ -472,7 +472,7 @@ Need Support?
_____________

If you run into any issues with FiftyOne or have any burning questions, feel
free to `connect with us on Slack <https://slack.voxel51.com>`_ or reach out to
free to `connect with us on Discord <https://community.voxel51.com>`_ or reach out to
us at [email protected].

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/source/teams/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Here's a high-level overview of the capabilities that FiftyOne Teams brings:
</tr>
<tr class="row-even", style="border-top: 1px solid #cacaca"><th class="stub"><p>Enterprise Support</p></th>
<td style="text-align: center"><p><a class="reference internal" href="https://voxel51.com/images/icons/checkmark.svg"><img alt="check" height="20pt" src="https://voxel51.com/images/icons/checkmark.svg" width="20pt" /></a></p></td>
<td style="text-align: center"><p>Slack Community</p></td>
<td style="text-align: center"><p>Discord Community</p></td>
</tr>
<tr class="row-odd", style="border-top: 1px solid #cacaca"><th class="stub"><p>Licensing</p></th>
<td style="text-align: center"><p>Unlimited data, flexible<br>user-based licensing</p></td>
Expand Down
4 changes: 2 additions & 2 deletions fiftyone/core/session/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
| ⭐⭐⭐ Give the project a star on GitHub ⭐⭐⭐
| https://github.com/voxel51/fiftyone
|
| 🚀🚀🚀 Join the FiftyOne Slack community 🚀🚀🚀
| https://slack.voxel51.com
| 🚀🚀🚀 Join the FiftyOne Discord community 🚀🚀🚀
| https://community.voxel51.com/
|
"""

Expand Down

0 comments on commit 9f690fe

Please sign in to comment.