Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Community activity happens on a separate Discourse instance. Its display name is
- og:url, og:image, and all absolute URLs must use https://offon.dev.
- The og:image file is public/og.png and its full URL is https://offon.dev/og.png.
- PR preview deployments are served from the gh-pages branch under /pr-preview/pr-{number}/.
- The open source challenges content lives in a separate organisation at https://github.com/dynatrace-oss/open-ecosystem-challenges. This is an intentional external link and must never be changed or flagged as a violation.
- The open source challenges content lives in a separate organisation at https://github.com/off-on-dev/open-source-challenges. This is an intentional external link and must never be changed or flagged as a violation.
- The community Discourse instance is at https://community.offon.dev. Use the `COMMUNITY_URL` constant from `src/data/constants.ts`, never hardcode this URL.
- `COMMUNITY_DISPLAY_NAME` is defined in `src/data/constants.ts` as the user-facing display name for the community URL. Use it for visible text, use `COMMUNITY_URL` for href attributes.

Expand Down
2 changes: 1 addition & 1 deletion src/components/BottomCTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const BottomCTA = (): JSX.Element => {
Join the Community <ExternalLink size={14} aria-hidden="true" /><span className="sr-only"> (opens in new tab)</span>
</a>
<a
href="https://github.com/dynatrace-oss/open-ecosystem-challenges"
href="https://github.com/off-on-dev/open-source-challenges"
target="_blank"
rel="noopener noreferrer"
className="btn-ghost-inverse"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Footer = (): JSX.Element => {
<Link to="/handbook" className={linkCls}>Handbook</Link>
<Link to="/about" className={linkCls}>About</Link>
<Link to="/sponsors" className={linkCls}>Sponsors</Link>
<a href="https://github.com/dynatrace-oss/open-ecosystem-challenges/blob/main/docs/contributing/adventure-ideas.md" target="_blank" rel="noopener noreferrer" className={linkCls}>Propose an Adventure Idea <ExternalLink size={12} aria-hidden="true" /><span className="sr-only"> (opens in new tab)</span></a>
<a href="https://github.com/off-on-dev/open-source-challenges/blob/main/docs/contributing/adventure-ideas.md" target="_blank" rel="noopener noreferrer" className={linkCls}>Propose an Adventure Idea <ExternalLink size={12} aria-hidden="true" /><span className="sr-only"> (opens in new tab)</span></a>
</div>
</nav>
{/* Community */}
Expand Down
2 changes: 1 addition & 1 deletion src/data/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const BRAND_NAME = "OffOn";
export const COMMUNITY_URL = "https://community.offon.dev";
export const COMMUNITY_DISPLAY_NAME = "community.offon.dev";

export const CODESPACES_BASE = "https://codespaces.new/dynatrace-oss/open-ecosystem-challenges";
export const CODESPACES_BASE = "https://codespaces.new/off-on-dev/open-source-challenges";

export const SITE_URL = "https://offon.dev";
export const SITE_NAME = "offon.dev";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/CommunityGuide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const CommunityGuide = (): JSX.Element => {
<p className="text-sm text-[hsl(var(--text-secondary))] leading-relaxed flex-1">
Bring your expertise and experience. Help build adventures for others to learn from open source tech with a broken scenario, a real-world failure, or a skill gap. Shape the next adventure.
</p>
<a href="https://github.com/dynatrace-oss/open-ecosystem-challenges/blob/main/docs/contributing/adventure-ideas.md" target="_blank" rel="noopener noreferrer" className={extLink}>
<a href="https://github.com/off-on-dev/open-source-challenges/blob/main/docs/contributing/adventure-ideas.md" target="_blank" rel="noopener noreferrer" className={extLink}>
Submit an idea <ExternalLink size={12} aria-hidden="true" /><span className="sr-only"> (opens in new tab)</span>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Index = (): JSX.Element => {
</p>
<div className="flex gap-3 flex-wrap mt-2">
<a
href="https://github.com/dynatrace-oss/open-ecosystem-challenges/blob/main/docs/contributing/adventure-ideas.md"
href="https://github.com/off-on-dev/open-source-challenges/blob/main/docs/contributing/adventure-ideas.md"
target="_blank"
rel="noopener noreferrer"
className="btn-inverse"
Expand Down
4 changes: 2 additions & 2 deletions src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const gtagBootstrap = `window.dataLayer=window.dataLayer||[];function gtag(){dat
const webSiteJsonLd = `{"@context":"https://schema.org","@type":"WebSite","name":"OffOn","url":"https://offon.dev","description":"A vendor-neutral community for open source enthusiasts. Learn through hands-on challenges, share what you know, and connect with people who love open source."}`;

// sameAs links populate Google's Knowledge Panel. Mirror LINKEDIN_URL,
// the Discourse community URL, and the open-ecosystem-challenges GitHub org
// the Discourse community URL, and the open-source-challenges GitHub org
// from src/data/constants.ts.
const orgJsonLd = `{"@context":"https://schema.org","@type":"Organization","name":"OffOn","url":"https://offon.dev","logo":"https://offon.dev/favicon.png","sameAs":["https://www.linkedin.com/company/open-ecosystem/","https://community.offon.dev","https://github.com/dynatrace-oss/open-ecosystem-challenges"]}`;
const orgJsonLd = `{"@context":"https://schema.org","@type":"Organization","name":"OffOn","url":"https://offon.dev","logo":"https://offon.dev/favicon.png","sameAs":["https://www.linkedin.com/company/open-ecosystem/","https://community.offon.dev","https://github.com/off-on-dev/open-source-challenges"]}`;

export default function Root(): JSX.Element {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/test/adventures.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, it, expect } from "vitest";
import { ADVENTURES } from "@/data/adventures";

const CODESPACES_BASE = "https://codespaces.new/dynatrace-oss/open-ecosystem-challenges";
const CODESPACES_BASE = "https://codespaces.new/off-on-dev/open-source-challenges";

const allLevels = ADVENTURES.flatMap((adventure) =>
adventure.levels.map((level) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/test/communityGuide.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe("CommunityGuide - take on a challenge section", () => {
renderCommunityGuide();
const link = screen.getByRole("link", { name: /submit an idea/i });
expect(link.getAttribute("href")).toBe(
"https://github.com/dynatrace-oss/open-ecosystem-challenges/blob/main/docs/contributing/adventure-ideas.md"
"https://github.com/off-on-dev/open-source-challenges/blob/main/docs/contributing/adventure-ideas.md"
);
expect(link.getAttribute("target")).toBe("_blank");
expect(link.getAttribute("rel")).toBe("noopener noreferrer");
Expand Down
2 changes: 1 addition & 1 deletion src/test/footer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("Footer - Explore nav", () => {
renderFooter();
const nav = screen.getByRole("navigation", { name: "Explore" });
const link = within(nav).getByRole("link", { name: /Propose an Adventure Idea/ });
expect(link.getAttribute("href")).toBe("https://github.com/dynatrace-oss/open-ecosystem-challenges/blob/main/docs/contributing/adventure-ideas.md");
expect(link.getAttribute("href")).toBe("https://github.com/off-on-dev/open-source-challenges/blob/main/docs/contributing/adventure-ideas.md");
expect(link.getAttribute("target")).toBe("_blank");
expect(link.getAttribute("rel")).toBe("noopener noreferrer");
});
Expand Down
Loading