Skip to content

Commit

Permalink
chore(www): update github urls to use main branch (t3-oss#1727)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToastedToast committed Jan 22, 2024
1 parent aa1928c commit 0e5204e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion upgrade/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function RootLayout({
{children}
<footer className="flex justify-center pb-4">
<a
href="https://github.com/t3-oss/create-t3-app/tree/next/upgrade"
href="https://github.com/t3-oss/create-t3-app/tree/main/upgrade"
className="flex items-center gap-2 text-sm text-muted-foreground"
>
<Github className="h-8 w-8" /> Open Source by Andrei Filip on
Expand Down
2 changes: 1 addition & 1 deletion www/src/components/docs/avatarList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface Props {
const { path } = Astro.props;
const resolvedPath = `www/${path}`;
const url = `https://api.github.com/repos/t3-oss/create-t3-app/commits?path=${resolvedPath}`;
const commitsURL = `https://github.com/t3-oss/create-t3-app/commits/next/${resolvedPath}`;
const commitsURL = `https://github.com/t3-oss/create-t3-app/commits/main/${resolvedPath}`;
async function getCommits(url: string) {
try {
Expand Down
2 changes: 1 addition & 1 deletion www/src/components/navigation/moreMenu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const isLangEN = getLanguageFromURL(pathname) === "en";
>
<a
class="flex items-center gap-2"
href={"https://github.com/t3-oss/create-t3-app/blob/next/www/TRANSLATIONS.md"}
href={"https://github.com/t3-oss/create-t3-app/blob/main/www/TRANSLATIONS.md"}
target="_blank"
rel="noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion www/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const KNOWN_LANGUAGES = {
} as const;
export type KnownLanguageCode = keyof typeof KNOWN_LANGUAGES;

export const GITHUB_EDIT_URL = `https://github.com/t3-oss/create-t3-app/tree/next/www`;
export const GITHUB_EDIT_URL = `https://github.com/t3-oss/create-t3-app/tree/main/www`;

export const COMMUNITY_INVITE_URL = `https://t3.gg/discord`;

Expand Down

0 comments on commit 0e5204e

Please sign in to comment.