Skip to content

Commit

Permalink
Add GitHub link
Browse files Browse the repository at this point in the history
And update other links to point to the new repo.
  • Loading branch information
eltoder committed Dec 3, 2024
1 parent 7c21bb3 commit f4d751c
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "scripts",
"version": "1.0.0",
"repository": "https://github.com/ekzhang/setwithfriends",
"repository": "https://github.com/eltoder/setwithfriends",
"license": "MIT",
"description": "Internal scripts for Set with Friends.",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/components/DonateDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function DonateDialog({ active }) {
<Link
target="_blank"
rel="noopener"
href="https://github.com/ekzhang/setwithfriends"
href="https://github.com/eltoder/setwithfriends"
>
starring the project on GitHub
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function Navbar({
<Link
target="_blank"
rel="noopener"
href={`https://github.com/ekzhang/setwithfriends/releases/tag/v${version}`}
href={`https://github.com/eltoder/setwithfriends/releases/tag/v${version}`}
>
Release Notes
</Link>
Expand Down
18 changes: 6 additions & 12 deletions src/pages/AboutPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,27 @@ function AboutPage() {
</Typography>
<Typography variant="body1" gutterBottom>
The code powering this site is completely open source and available on{" "}
<Link href="https://github.com/ekzhang/setwithfriends">GitHub</Link>.
<Link href="https://github.com/eltoder/setwithfriends">GitHub</Link>.
We are happy to provide mentorship for contributors from all
backgrounds, whether you're a seasoned programmer or just want to
learn more about web development.
</Typography>
<Typography variant="body1" gutterBottom>
This site would not be possible without many people's help: the{" "}
<Link href="https://github.com/ekzhang/setwithfriends/graphs/contributors">
<Link href="https://github.com/eltoder/setwithfriends/graphs/contributors">
volunteer developers
</Link>{" "}
who contribute code to add features and fix bugs, the{" "}
<Link href="https://www.patreon.com/setwithfriends">patrons</Link> who
help keep the site running, and many others who reported bugs and
provided feedback.
who contributed code to add features and fix bugs and many others who
reported bugs and provided feedback.
</Typography>
<Typography variant="body1" gutterBottom>
<strong>
If you have suggestions, the best way to reach us is by{" "}
<Link href="https://github.com/ekzhang/setwithfriends/issues">
<Link href="https://github.com/eltoder/setwithfriends/issues">
filing an issue
</Link>
.
</strong>{" "}
For questions about payment, please email us at{" "}
<Link href="mailto:ekzhang1@gmail.com">ekzhang1@gmail.com</Link> and{" "}
<Link href="mailto:cynthiakedu@gmail.com">cynthiakedu@gmail.com</Link>
.
</strong>
</Typography>
</Paper>
<Paper style={{ padding: "1rem", maxWidth: 720, margin: "12px auto" }}>
Expand Down
9 changes: 8 additions & 1 deletion src/pages/LobbyPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,14 @@ function LobbyPage() {
<Typography variant="body1" align="center" style={{ padding: "16px 0" }}>
<InternalLink to="/help">Help</InternalLink>{" "}
<InternalLink to="/about">About</InternalLink>{" "}
<InternalLink to="/conduct">Conduct</InternalLink>{" "}
<Link
target="_blank"
rel="noopener"
href="https://github.com/eltoder/setwithfriends"
>
GitHub
</Link>{" "}
<InternalLink to="/conduct">Conduct</InternalLink>{" "}
<InternalLink to="/legal">Legal</InternalLink>{" "}
<Link target="_blank" rel="noopener" href="https://discord.gg/XbjJyc9">
Discord
Expand Down
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const fixedDataset = englishDataset
.addWhitelistedTerm("dickens")
)
.addPhrase((phrase) =>
phrase.setMetadata({ originalWord: "fuck" }).addWhitelistedTerm("fickle")
phrase.setMetadata({ originalWord: "fuck" }).addWhitelistedTerm("fick")
);
export const badWords = new RegExpMatcher({
...fixedDataset.build(),
Expand Down
1 change: 1 addition & 0 deletions src/util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ describe("bad words filter", () => {
expect(badWords.hasMatch("retard")).toBe(true);
expect(badWords.hasMatch("ducks")).toBe(false);
expect(badWords.hasMatch("deck")).toBe(false);
expect(badWords.hasMatch("fick")).toBe(false);
expect(badWords.hasMatch("fickle")).toBe(false);
});
});

0 comments on commit f4d751c

Please sign in to comment.