chore: migrate repository links to reactive-resume/reactive-resume

This commit is contained in:
Amruth Pillai
2026-09-12 11:18:32 +02:00
parent 08e61ded7b
commit f89acb4368
88 changed files with 943 additions and 936 deletions
@@ -42,7 +42,7 @@ describe("GithubStarsButton", () => {
it("renders an anchor pointing at the project repo with rel=noopener noreferrer and target=_blank", () => {
renderButton();
const link = screen.getByRole("button") as HTMLAnchorElement;
expect(link.href).toBe("https://github.com/reactive-resume/app");
expect(link.href).toBe("https://github.com/reactive-resume/reactive-resume");
expect(link.target).toBe("_blank");
expect(link.rel).toBe("noopener noreferrer");
});
@@ -20,7 +20,7 @@ export function GithubStarsButton() {
render={
<a
target="_blank"
href="https://github.com/reactive-resume/app"
href="https://github.com/reactive-resume/reactive-resume"
aria-label={ariaLabel}
rel="noopener noreferrer"
>
@@ -24,7 +24,7 @@ describe("Copyright", () => {
it("renders the MIT license link", () => {
renderCopyright();
const link = screen.getByRole("link", { name: "MIT" });
expect(link.getAttribute("href")).toBe("https://github.com/reactive-resume/app/blob/main/LICENSE");
expect(link.getAttribute("href")).toBe("https://github.com/reactive-resume/reactive-resume/blob/main/LICENSE");
expect(link.getAttribute("rel")).toBe("noopener noreferrer");
});
+1 -1
View File
@@ -10,7 +10,7 @@ export function Copyright({ className, ...props }: Props) {
<Trans>
Licensed under{" "}
<a
href="https://github.com/reactive-resume/app/blob/main/LICENSE"
href="https://github.com/reactive-resume/reactive-resume/blob/main/LICENSE"
target="_blank"
rel="noopener noreferrer"
className="font-medium underline underline-offset-2"
@@ -189,7 +189,7 @@ describe("ImportResumeDialog — detected files without MIME metadata", () => {
});
describe("ImportResumeDialog — Set up a provider", () => {
// https://github.com/amruthpillai/reactive-resume/issues/3307
// https://github.com/reactive-resume/reactive-resume/issues/3307
it("confirms before leaving instead of navigating behind the dialog", async () => {
renderDialog();
const link = await selectWordFile();
+1 -1
View File
@@ -21,7 +21,7 @@ import "./styles.css";
const ExportPlayground = lazy(() => import("./export-playground"));
const AtsPlayground = lazy(() => import("./ats-playground"));
const githubUrl = "https://github.com/reactive-resume/app";
const githubUrl = "https://github.com/reactive-resume/reactive-resume";
const buttonClass =
"inline-flex min-h-[52px] items-center justify-center gap-3 rounded-[4px] border border-[#f1f0eb] bg-[#f1f0eb] px-[19px] py-[14px] text-[14px] font-[550] text-[#151516] [transition:background-color_150ms_ease,transform_150ms_cubic-bezier(0.23,1,0.32,1)] hover:bg-[#d9d8d2] active:transform-[scale(0.97)] max-[540px]:min-h-[49px] max-[540px]:gap-[18px] max-[540px]:px-[15px] max-[540px]:py-3 max-[540px]:text-[13px]";
const brandClass = "inline-flex shrink-0 items-center gap-[11px] font-[550] tracking-[-0.04em] max-[540px]:gap-2";
@@ -14,7 +14,7 @@ import { m } from "motion/react";
import { cn } from "@reactive-resume/utils/style";
import { wrap } from "./classes";
const githubUrl = "https://github.com/reactive-resume/app";
const githubUrl = "https://github.com/reactive-resume/reactive-resume";
const licenseUrl = `${githubUrl}/blob/main/LICENSE`;
type FooterLink = { label: string } & (
+1 -1
View File
@@ -1,6 +1,6 @@
const productionRootUrl = "https://rxresu.me/";
const appName = "Reactive Resume";
const repositoryUrl = "https://github.com/reactive-resume/app";
const repositoryUrl = "https://github.com/reactive-resume/reactive-resume";
type JsonLd = Record<string, unknown>;
@@ -47,7 +47,7 @@ describe("Footer", () => {
it("renders social media icon links to GitHub, LinkedIn, and X", () => {
const { container } = renderFooter();
const hrefs = Array.from(container.querySelectorAll<HTMLAnchorElement>("a")).map((a) => a.href);
expect(hrefs.some((h) => h.includes("github.com/reactive-resume/app"))).toBe(true);
expect(hrefs.some((h) => h.includes("github.com/reactive-resume/reactive-resume"))).toBe(true);
expect(hrefs.some((h) => h.includes("linkedin.com/in/amruthpillai"))).toBe(true);
expect(hrefs.some((h) => h.includes("x.com/KingOKings"))).toBe(true);
});
@@ -27,19 +27,19 @@ type SocialLink = {
const getResourceLinks = (): FooterLinkItem[] => [
{ url: "https://docs.rxresu.me", label: t`Documentation` },
{ url: "https://opencollective.com/reactive-resume/donate", label: t`Sponsorships` },
{ url: "https://github.com/reactive-resume/app", label: t`Source Code` },
{ url: "https://github.com/reactive-resume/reactive-resume", label: t`Source Code` },
{ url: "https://docs.rxresu.me/changelog", label: t`Changelog` },
];
const getCommunityLinks = (): FooterLinkItem[] => [
{ url: "https://github.com/reactive-resume/app/issues", label: t`Report an issue` },
{ url: "https://github.com/reactive-resume/reactive-resume/issues", label: t`Report an issue` },
{ url: "https://crowdin.com/project/reactive-resume", label: t`Translations` },
{ url: "https://reddit.com/r/reactiveresume", label: t`Subreddit` },
{ url: "https://discord.gg/aSyA5ZSxpb", label: t`Discord` },
];
const socialLinks: SocialLink[] = [
{ url: "https://github.com/reactive-resume/app", label: t`GitHub`, icon: GithubLogoIcon },
{ url: "https://github.com/reactive-resume/reactive-resume", label: t`GitHub`, icon: GithubLogoIcon },
{ url: "https://linkedin.com/in/amruthpillai", label: t`LinkedIn`, icon: LinkedinLogoIcon },
{ url: "https://x.com/KingOKings", label: t`X (Twitter)`, icon: XLogoIcon },
];
@@ -41,7 +41,7 @@ describe("blurFocusedElementOnPan", () => {
// The issue: closing a dialog restores focus to its trigger, and because react-zoom-pan-pinch
// preventDefault()s the canvas mousedown the browser never moves focus away. Space then
// activates the still-focused trigger on keyup and reopens the dialog.
// https://github.com/amruthpillai/reactive-resume/issues/3300
// https://github.com/reactive-resume/reactive-resume/issues/3300
it("stops a Space keypress after panning from re-activating the last dialog trigger", () => {
const trigger = document.createElement("button");
const openDialog = vi.fn();
@@ -8,7 +8,7 @@
* that opened the last dialog, since closing a dialog restores focus to its trigger. A Space
* keypress then activates that still-focused button on keyup and the dialog reopens.
*
* @see https://github.com/amruthpillai/reactive-resume/issues/3300
* @see https://github.com/reactive-resume/reactive-resume/issues/3300
*/
export function blurFocusedElementOnPan(): void {
if (typeof document === "undefined") return;
@@ -59,7 +59,7 @@ export function InformationSectionBuilder() {
className="text-xs"
nativeButton={false}
render={
<a href="https://github.com/reactive-resume/app" target="_blank" rel="noopener noreferrer">
<a href="https://github.com/reactive-resume/reactive-resume" target="_blank" rel="noopener noreferrer">
<Trans>Source Code</Trans>
</a>
}
@@ -71,7 +71,11 @@ export function InformationSectionBuilder() {
className="text-xs"
nativeButton={false}
render={
<a href="https://github.com/reactive-resume/app/issues" target="_blank" rel="noopener noreferrer">
<a
href="https://github.com/reactive-resume/reactive-resume/issues"
target="_blank"
rel="noopener noreferrer"
>
<Trans>Report a Bug</Trans>
</a>
}