return github and fix typos

This commit is contained in:
Pas 2025-07-11 11:29:43 -06:00
parent ce4d462f94
commit 0875c3b7fb
7 changed files with 21 additions and 10 deletions

View file

@ -37,14 +37,14 @@ If you do not have a GitHub account or want to discuss a feature or bug with us
[Join bruh](https://docs.pstream.org/links/discord)
### GitHub Issues
To make a GitHub issue for sudo-flix, please visit the [new issue page](https://github.com/p-stream/p-strean/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template.
To make a GitHub issue for sudo-flix, please visit the [new issue page](https://github.com/p-stream/p-stream/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template.
When filling out an issue template, please include as much detail as possible and any screenshots or console logs as appropriate.
After an issue is created, it will be assigned either the https://github.com/p-stream/p-strean/labels/bug or https://github.com/p-stream/p-strean/labels/feature label, along with https://github.com/p-stream/p-strean/labels/awaiting-approval. One of our maintainers will review your issue and, if it's accepted, will set the https://github.com/p-stream/p-strean/labels/approved label.
After an issue is created, it will be assigned either the https://github.com/p-stream/p-stream/labels/bug or https://github.com/p-stream/p-stream/labels/feature label, along with https://github.com/p-stream/p-stream/labels/awaiting-approval. One of our maintainers will review your issue and, if it's accepted, will set the https://github.com/p-stream/p-stream/labels/approved label.
## Before you start!
Before starting a contribution, please check your contribution is part of an open issue on [our issues page](https://github.com/p-stream/p-strean/issues?q=is%3Aopen+is%3Aissue+label%3Aapproved).
Before starting a contribution, please check your contribution is part of an open issue on [our issues page](https://github.com/p-stream/p-stream/issues?q=is%3Aopen+is%3Aissue+label%3Aapproved).
GitHub issues are how we track our bugs and feature requests that will be implemented into sudo-flix - all contributions **must** have an issue and be approved by a maintainer before a pull request can be worked on.
@ -53,7 +53,7 @@ If a pull request is opened before an issue is created and accepted, you may ris
> **Note**
> The exception to this are language contributions, which are discussed in [this section](#language-contributions)
Also, make sure that the issue you would like to work on has been given the https://github.com/p-stream/p-strean/labels/approved label by a maintainer. Otherwise, if we reject the issue, it means your work will have gone to waste!
Also, make sure that the issue you would like to work on has been given the https://github.com/p-stream/p-stream/labels/approved label by a maintainer. Otherwise, if we reject the issue, it means your work will have gone to waste!
## Contributing
If you're here because you'd like to work on an issue, amazing! Thank you for even considering contributing to sudo-flix; it means a lot :heart:

View file

@ -1,6 +1,6 @@
This pull request resolves #XXX
- [ ] I have read and agreed to the [code of conduct](https://github.com/p-stream/p-strean/blob/production/.github/CODE_OF_CONDUCT.md).
- [ ] I have read and complied with the [contributing guidelines](https://github.com/p-stream/p-strean/blob/production/.github/CONTRIBUTING.md).
- [ ] I have read and agreed to the [code of conduct](https://github.com/p-stream/p-stream/blob/production/.github/CODE_OF_CONDUCT.md).
- [ ] I have read and complied with the [contributing guidelines](https://github.com/p-stream/p-stream/blob/production/.github/CONTRIBUTING.md).
- [ ] I have tested all of my changes.
- Enter discord user: `` (we require this for the contributor role)

View file

@ -293,6 +293,12 @@ export function LinksDropdown(props: { children: React.ReactNode }) {
) : null}
<Divider />
<div className="my-4 flex justify-center items-center gap-4">
{conf().GITHUB_LINK && (
<CircleDropdownLink
href={conf().GITHUB_LINK}
icon={Icons.GITHUB}
/>
)}
<CircleDropdownLink
href={conf().DISCORD_LINK}
icon={Icons.DISCORD}

View file

@ -75,6 +75,11 @@ export function Footer() {
<p className="mt-3">{t("footer.legal.disclaimerText")}</p>
</div>
<div className="flex flex-wrap gap-[0.5rem] -ml-3">
{conf().GITHUB_LINK && (
<FooterLink icon={Icons.GITHUB} href={conf().GITHUB_LINK}>
{t("footer.links.github")}
</FooterLink>
)}
<FooterLink icon={Icons.DISCORD} href={conf().DISCORD_LINK}>
{t("footer.links.discord")}
</FooterLink>

View file

@ -2,7 +2,7 @@ import {
APP_VERSION,
BACKEND_URL,
DISCORD_LINK,
GITHUB_LINK,
// GITHUB_LINK,
TWITTER_LINK,
} from "./constants";
@ -112,7 +112,7 @@ function getKey(key: keyof Config, defaultString?: string): string | null {
export function conf(): RuntimeConfig {
return {
APP_VERSION,
GITHUB_LINK,
GITHUB_LINK: getKey("GITHUB_LINK", ""),
DISCORD_LINK,
TWITTER_LINK,
DMCA_EMAIL: getKey("DMCA_EMAIL"),

View file

@ -1,6 +1,6 @@
export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
export const DISCORD_LINK = "https://discord.gg/7z6znYgrTG";
export const GITHUB_LINK = "https://github.com/p-stream/p-strean";
// export const GITHUB_LINK = "https://github.com/p-stream/p-stream";
export const TWITTER_LINK = "https://twitter.com/SudoFlix";
export const GA_ID = import.meta.env.VITE_GA_ID;
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;

View file

@ -1,5 +1,5 @@
export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
export const DISCORD_LINK = "https://discord.gg/7z6znYgrTG";
export const GITHUB_LINK = "https://github.com/p-stream/p-strean";
export const GITHUB_LINK = "https://github.com/p-stream/p-stream";
export const GA_ID = import.meta.env.VITE_GA_ID;
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;