Skip to content

Commit

Permalink
feat(docs): switch Discord to CNCF Slack (#666)
Browse files Browse the repository at this point in the history
Co-authored-by: Raghd Hamzeh <[email protected]>
  • Loading branch information
aaguiarz and rhamzeh authored Feb 26, 2024
1 parent 721c0ee commit cbe4194
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion blog/conditional-tuples-announcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ This won’t scale to a large number of documents, but would be useful in some s
We want to learn how you use this feature and how we can improve it!
Please reach out to us in [Discord](https://discord.gg/8naAwJfWN6) or [Github](https://github.com/orgs/openfga/discussions) with any questions or feedback.
Please reach out through our [community channels](https://openfga.dev/community) with any questions or feedback.
2 changes: 1 addition & 1 deletion blog/fine-grained-news-2023-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ We are getting ready for KubeCon Europe 2024, in Paris. We'll have a Project Kio
We have a very welcoming community, and we'd love to have you there! You can join us in different ways:

- Join our [community meetings](https://github.com/openfga/community/blob/main/community-meetings.md), the second Thursday of every month. All the recordings are [here](https://www.youtube.com/@OpenFGA).
- Join our [Discord](https://discord.gg/8naAwJfWN6)
- Join our [community channels](https://openfga.dev/community) in Slack or GitHub.
- Stay up to date by following us on [X](https://twitter.com/openfga).
- Ask questions, submit ideas, or just say hi in our [GitHub Discussions](https://github.com/orgs/openfga/discussions).

Expand Down
3 changes: 1 addition & 2 deletions blog/fine-grained-news-2024-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ Please take a look at them and let us know what you think!
We have a very welcoming community, and we'd love to have you there! You can join us in different ways:

- Join our [community meetings](https://github.com/openfga/community/blob/main/community-meetings.md), the second Thursday of every month. All the recordings are [here](https://www.youtube.com/@OpenFGA).
- Join our [Discord](https://discord.gg/8naAwJfWN6)
- Stay up to date by following us on [X](https://twitter.com/openfga).
- Ask questions, submit ideas, or just say hi in our [GitHub Discussions](https://github.com/orgs/openfga/discussions).
- Join our [community channels](https://openfga.dev/community) in Slack or GitHub.

## See you next month!

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It offers an HTTP API, a gRPC API, and has SDKs for programming languages includ
- [Okta FGA Playground](https://play.fga.dev)
- [Zanzibar Academy](https://zanzibar.academy)
- [OpenFGA on Twitter](https://twitter.com/OpenFGA)
- [Discord Community](https://discord.gg/pvbNmqC)
- [OpenFGA Community](https://openfga.dev/community) in Slack and GitHub

## Documentation

Expand Down
2 changes: 0 additions & 2 deletions docs/content/modeling/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1447,8 +1447,6 @@ We'll leave the exercise of defining the drive and folder relations, then adding

When defining the authorization model for your own system, you would continue iterating on the <ProductConcept section="what-is-an-authorization-model" linkName="authorization model" /> with the [next feature](#01-pick-the-most-important-feature) and so on.

If you have any questions about this model or others, or would like some help creating your model, drop by our [Discord](https://discord.gg/8naAwJfWN6).

## Related Sections

<RelatedSection
Expand Down
22 changes: 11 additions & 11 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const config = {
],
feedback: {
defaultTitle: 'Have Feedback?',
defaultText: 'Join us on the Discord community if you have any questions or suggestions.',
defaultButtonText: 'Join Discord',
defaultLink: 'https://discord.gg/8naAwJfWN6',
defaultText: 'Join us on the CNCF Slack OpenFGA channel if you have any questions or suggestions.',
defaultButtonText: 'Join Slack',
defaultLink: 'https://openfga.dev/community',
},
// location of the swagger file
apiDocsBasePath: process.env.API_DOCS_PATH
Expand Down Expand Up @@ -260,11 +260,11 @@ import dev.openfga.sdk.api.configuration.ClientConfiguration;`,
'aria-label': 'OpenFGA on Twitter',
},
{
to: 'https://discord.gg/8naAwJfWN6',
label: 'Discord',
to: 'https://openfga.dev/community',
label: 'CNCF Slack',
position: 'right',
className: 'header-social header-discord-link',
'aria-label': 'OpenFGA on Discord',
className: 'header-social header-slack-link',
'aria-label': 'OpenFGA on Slack',
},
],
},
Expand All @@ -277,10 +277,10 @@ import dev.openfga.sdk.api.configuration.ClientConfiguration;`,
label: 'Twitter',
},
{
to: 'https://discord.gg/8naAwJfWN6',
className: 'header-social header-discord-link',
'aria-label': 'OpenFGA on Discord',
label: 'Discord',
to: 'https://openfga.dev/community',
className: 'header-social header-slack-link',
'aria-label': 'OpenFGA on Slack',
label: 'CNCF Slack',
},
{
to: 'https://github.com/openfga',
Expand Down
4 changes: 2 additions & 2 deletions src/components/SocialMedia/SocialMedia.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ a.social-media-banner-item {
no-repeat;
}

.social-media-banner-discord::before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M15.2601 2.15598C14.0866 1.60531 12.8404 1.20398 11.5396 0.97998C11.3759 1.26932 11.194 1.66131 11.0666 1.96931C9.68307 1.76398 8.30951 1.76398 6.94504 1.96931C6.81769 1.66131 6.62666 1.26932 6.47201 0.97998C5.16216 1.20398 3.91595 1.60531 2.7507 2.15598C0.394744 5.7213 -0.242005 9.20261 0.0763687 12.6373C1.64094 13.8039 3.15096 14.5133 4.63458 14.98C4.99844 14.476 5.32591 13.9346 5.6079 13.3653C5.07121 13.16 4.56181 12.9079 4.07061 12.6093C4.19796 12.516 4.32531 12.4133 4.44356 12.3106C7.40898 13.7013 10.6209 13.7013 13.5499 12.3106C13.6773 12.4133 13.7955 12.516 13.9229 12.6093C13.4317 12.9079 12.9223 13.16 12.3856 13.3653C12.6676 13.9346 12.9951 14.476 13.3589 14.98C14.8416 14.5133 16.3607 13.8039 17.9171 12.6373C18.3082 8.66131 17.2976 5.208 15.2601 2.15598ZM6.01723 10.5186C5.12577 10.5186 4.39806 9.68797 4.39806 8.67065C4.39806 7.65333 5.10758 6.82262 6.01723 6.82262C6.91775 6.82262 7.65454 7.65333 7.63634 8.67065C7.63634 9.68797 6.91775 10.5186 6.01723 10.5186ZM11.9945 10.5186C11.103 10.5186 10.3744 9.68797 10.3744 8.67065C10.3744 7.65333 11.0848 6.82262 11.9945 6.82262C12.895 6.82262 13.6318 7.65333 13.6136 8.67065C13.6136 9.68797 12.9041 10.5186 11.9945 10.5186Z'/%3E%3C/svg%3E")
.social-media-banner-slack::before {
background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.78116 11.3749C3.78116 12.4156 2.931 13.2658 1.89028 13.2658C0.849567 13.2658 -0.000595093 12.4156 -0.000595093 11.3749C-0.000595093 10.3342 0.849567 9.48401 1.89028 9.48401H3.78116V11.3749Z' fill='white'/%3E%3Cpath d='M4.73399 11.3749C4.73399 10.3342 5.58415 9.48401 6.62486 9.48401C7.66558 9.48401 8.51574 10.3342 8.51574 11.3749V16.1094C8.51574 17.1501 7.66558 18.0003 6.62486 18.0003C5.58415 18.0003 4.73399 17.1501 4.73399 16.1094V11.3749Z' fill='white'/%3E%3Cpath d='M6.62486 3.78212C5.58415 3.78212 4.73399 2.93196 4.73399 1.89124C4.73399 0.850528 5.58415 0.000366211 6.62486 0.000366211C7.66558 0.000366211 8.51574 0.850528 8.51574 1.89124V3.78212H6.62486Z' fill='white'/%3E%3Cpath d='M6.6248 4.73486C7.66552 4.73486 8.51568 5.58503 8.51568 6.62574C8.51568 7.66646 7.66552 8.51662 6.6248 8.51662H1.89028C0.849567 8.51662 -0.000595093 7.66646 -0.000595093 6.62574C-0.000595093 5.58503 0.849567 4.73486 1.89028 4.73486H6.6248Z' fill='white'/%3E%3Cpath d='M14.218 6.62562C14.218 5.5849 15.0681 4.73474 16.1089 4.73474C17.1496 4.73474 17.9997 5.5849 17.9997 6.62562C17.9997 7.66633 17.1496 8.51649 16.1089 8.51649H14.218V6.62562Z' fill='white'/%3E%3Cpath d='M13.2652 6.62564C13.2652 7.66636 12.4151 8.51652 11.3743 8.51652C10.3336 8.51652 9.48346 7.66636 9.48346 6.62564V1.89112C9.48346 0.850406 10.3336 0.000244141 11.3743 0.000244141C12.4151 0.000244141 13.2652 0.850406 13.2652 1.89112V6.62564Z' fill='white'/%3E%3Cpath d='M11.3743 14.2184C12.4151 14.2184 13.2652 15.0685 13.2652 16.1093C13.2652 17.15 12.4151 18.0001 11.3743 18.0001C10.3336 18.0001 9.48346 17.15 9.48346 16.1093V14.2184H11.3743Z' fill='white'/%3E%3Cpath d='M11.3743 13.2656C10.3336 13.2656 9.48346 12.4155 9.48346 11.3748C9.48346 10.334 10.3336 9.48389 11.3743 9.48389H16.1089C17.1496 9.48389 17.9997 10.334 17.9997 11.3748C17.9997 12.4155 17.1496 13.2656 16.1089 13.2656H11.3743Z' fill='white'/%3E%3C/svg%3E%0A")
no-repeat;
}
2 changes: 1 addition & 1 deletion src/components/SocialMedia/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';

import styles from './SocialMedia.module.css';

const SOCIAL_MEDIA_ITEMS = ['Twitter', 'Discord', 'GitHub'];
const SOCIAL_MEDIA_ITEMS = ['Twitter', 'CNCF Slack', 'GitHub'];

const SocialMedia: React.FC = () => {
const baseClassName = 'social-media-banner';
Expand Down
2 changes: 1 addition & 1 deletion src/features/LandingPage/FeaturesSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const features = [
icon: <CommunityAnimatedIcon />,
title: 'Get Involved',
content: [
"Join OpenFGA's active <a href='https://discord.gg/8naAwJfWN6' target='_blank'>Discord community</a>, check out existing <a href='https://github.com/openfga/rfcs' target='_blank'>RFCs</a> to understand where the project is headed, start a <a href='https://github.com/orgs/openfga/discussions' target='_blank'>discussion</a> about your authorization needs or questions, and learn more about how to take part by reading our <a href='https://github.com/openfga/.github/blob/main/CONTRIBUTING.md' target='_blank'>CONTRIBUTING.md</a>.",
"Join OpenFGA's active <a href='https://openfga.dev/community' target='_blank'>Slack and GitHub community</a>, check out existing <a href='https://github.com/openfga/rfcs' target='_blank'>RFCs</a> to understand where the project is headed, and learn more about how to take part by reading our <a href='https://github.com/openfga/.github/blob/main/CONTRIBUTING.md' target='_blank'>CONTRIBUTING.md</a>.",
'<a target="_blank" href="https://github.com/openfga/.github/blob/main/CONTRIBUTING.md#contribution-process" >Learn how to get involved → </a>',
],
},
Expand Down
5 changes: 3 additions & 2 deletions static/css/openfga.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,11 @@ a:visited {
no-repeat;
}

.header-discord-link:before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M15.2601 2.15598C14.0866 1.60531 12.8404 1.20398 11.5396 0.97998C11.3759 1.26932 11.194 1.66131 11.0666 1.96931C9.68307 1.76398 8.30951 1.76398 6.94504 1.96931C6.81769 1.66131 6.62666 1.26932 6.47201 0.97998C5.16216 1.20398 3.91595 1.60531 2.7507 2.15598C0.394744 5.7213 -0.242005 9.20261 0.0763687 12.6373C1.64094 13.8039 3.15096 14.5133 4.63458 14.98C4.99844 14.476 5.32591 13.9346 5.6079 13.3653C5.07121 13.16 4.56181 12.9079 4.07061 12.6093C4.19796 12.516 4.32531 12.4133 4.44356 12.3106C7.40898 13.7013 10.6209 13.7013 13.5499 12.3106C13.6773 12.4133 13.7955 12.516 13.9229 12.6093C13.4317 12.9079 12.9223 13.16 12.3856 13.3653C12.6676 13.9346 12.9951 14.476 13.3589 14.98C14.8416 14.5133 16.3607 13.8039 17.9171 12.6373C18.3082 8.66131 17.2976 5.208 15.2601 2.15598ZM6.01723 10.5186C5.12577 10.5186 4.39806 9.68797 4.39806 8.67065C4.39806 7.65333 5.10758 6.82262 6.01723 6.82262C6.91775 6.82262 7.65454 7.65333 7.63634 8.67065C7.63634 9.68797 6.91775 10.5186 6.01723 10.5186ZM11.9945 10.5186C11.103 10.5186 10.3744 9.68797 10.3744 8.67065C10.3744 7.65333 11.0848 6.82262 11.9945 6.82262C12.895 6.82262 13.6318 7.65333 13.6136 8.67065C13.6136 9.68797 12.9041 10.5186 11.9945 10.5186Z'/%3E%3C/svg%3E")
.header-slack-link:before {
background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.78116 11.3749C3.78116 12.4156 2.931 13.2658 1.89028 13.2658C0.849567 13.2658 -0.000595093 12.4156 -0.000595093 11.3749C-0.000595093 10.3342 0.849567 9.48401 1.89028 9.48401H3.78116V11.3749Z' fill='white'/%3E%3Cpath d='M4.73399 11.3749C4.73399 10.3342 5.58415 9.48401 6.62486 9.48401C7.66558 9.48401 8.51574 10.3342 8.51574 11.3749V16.1094C8.51574 17.1501 7.66558 18.0003 6.62486 18.0003C5.58415 18.0003 4.73399 17.1501 4.73399 16.1094V11.3749Z' fill='white'/%3E%3Cpath d='M6.62486 3.78212C5.58415 3.78212 4.73399 2.93196 4.73399 1.89124C4.73399 0.850528 5.58415 0.000366211 6.62486 0.000366211C7.66558 0.000366211 8.51574 0.850528 8.51574 1.89124V3.78212H6.62486Z' fill='white'/%3E%3Cpath d='M6.6248 4.73486C7.66552 4.73486 8.51568 5.58503 8.51568 6.62574C8.51568 7.66646 7.66552 8.51662 6.6248 8.51662H1.89028C0.849567 8.51662 -0.000595093 7.66646 -0.000595093 6.62574C-0.000595093 5.58503 0.849567 4.73486 1.89028 4.73486H6.6248Z' fill='white'/%3E%3Cpath d='M14.218 6.62562C14.218 5.5849 15.0681 4.73474 16.1089 4.73474C17.1496 4.73474 17.9997 5.5849 17.9997 6.62562C17.9997 7.66633 17.1496 8.51649 16.1089 8.51649H14.218V6.62562Z' fill='white'/%3E%3Cpath d='M13.2652 6.62564C13.2652 7.66636 12.4151 8.51652 11.3743 8.51652C10.3336 8.51652 9.48346 7.66636 9.48346 6.62564V1.89112C9.48346 0.850406 10.3336 0.000244141 11.3743 0.000244141C12.4151 0.000244141 13.2652 0.850406 13.2652 1.89112V6.62564Z' fill='white'/%3E%3Cpath d='M11.3743 14.2184C12.4151 14.2184 13.2652 15.0685 13.2652 16.1093C13.2652 17.15 12.4151 18.0001 11.3743 18.0001C10.3336 18.0001 9.48346 17.15 9.48346 16.1093V14.2184H11.3743Z' fill='white'/%3E%3Cpath d='M11.3743 13.2656C10.3336 13.2656 9.48346 12.4155 9.48346 11.3748C9.48346 10.334 10.3336 9.48389 11.3743 9.48389H16.1089C17.1496 9.48389 17.9997 10.334 17.9997 11.3748C17.9997 12.4155 17.1496 13.2656 16.1089 13.2656H11.3743Z' fill='white'/%3E%3C/svg%3E%0A")
no-repeat;
}

.navbar__search {
display: flex;
grid-gap: 1rem;
Expand Down

0 comments on commit cbe4194

Please sign in to comment.