Просмотр исходного кода

New social icons (#4305)

* New social icons

* Update GitHub links
Chris Estreich 7 месяцев назад
Родитель
Сommit
857f80494e

+ 2 - 2
apps/web-roo-code/src/app/privacy/page.tsx

@@ -22,7 +22,7 @@ export default function Privacy() {
 						marketing website. For details on how your data is handled within the Roo Code extension itself,
 						marketing website. For details on how your data is handled within the Roo Code extension itself,
 						please refer to our separate{" "}
 						please refer to our separate{" "}
 						<a
 						<a
-							href="https://github.com/RooVetGit/Roo-Code/blob/main/PRIVACY.md"
+							href="https://github.com/RooCodeInc/Roo-Code/blob/main/PRIVACY.md"
 							target="_blank"
 							target="_blank"
 							rel="noopener noreferrer"
 							rel="noopener noreferrer"
 							className="text-primary hover:underline">
 							className="text-primary hover:underline">
@@ -161,7 +161,7 @@ export default function Privacy() {
 							By using the Roo Code marketing landing page, you agree to this Privacy Policy. If you use
 							By using the Roo Code marketing landing page, you agree to this Privacy Policy. If you use
 							the Roo Code extension, please see our separate{" "}
 							the Roo Code extension, please see our separate{" "}
 							<a
 							<a
-								href="https://github.com/RooVetGit/Roo-Code/blob/main/PRIVACY.md"
+								href="https://github.com/RooCodeInc/Roo-Code/blob/main/PRIVACY.md"
 								target="_blank"
 								target="_blank"
 								rel="noopener noreferrer"
 								rel="noopener noreferrer"
 								className="text-primary hover:underline">
 								className="text-primary hover:underline">

+ 36 - 5
apps/web-roo-code/src/components/chromes/footer.tsx

@@ -4,8 +4,7 @@ import { useState, useRef, useEffect } from "react"
 import Link from "next/link"
 import Link from "next/link"
 import Image from "next/image"
 import Image from "next/image"
 import { ChevronDown } from "lucide-react"
 import { ChevronDown } from "lucide-react"
-import { RxGithubLogo, RxDiscordLogo } from "react-icons/rx"
-import { FaReddit } from "react-icons/fa6"
+import { FaBluesky, FaDiscord, FaGithub, FaLinkedin, FaReddit, FaTiktok, FaXTwitter } from "react-icons/fa6"
 
 
 import { EXTERNAL_LINKS, INTERNAL_LINKS } from "@/lib/constants"
 import { EXTERNAL_LINKS, INTERNAL_LINKS } from "@/lib/constants"
 import { useLogoSrc } from "@/lib/hooks/use-logo-src"
 import { useLogoSrc } from "@/lib/hooks/use-logo-src"
@@ -40,13 +39,13 @@ export function Footer() {
 						<p className="max-w-md text-sm leading-6 text-muted-foreground md:pr-16 lg:pr-32">
 						<p className="max-w-md text-sm leading-6 text-muted-foreground md:pr-16 lg:pr-32">
 							Empowering developers to build better software faster with AI-powered tools and insights.
 							Empowering developers to build better software faster with AI-powered tools and insights.
 						</p>
 						</p>
-						<div className="flex space-x-5">
+						<div className="flex space-x-4">
 							<a
 							<a
 								href={EXTERNAL_LINKS.GITHUB}
 								href={EXTERNAL_LINKS.GITHUB}
 								target="_blank"
 								target="_blank"
 								rel="noopener noreferrer"
 								rel="noopener noreferrer"
 								className="text-muted-foreground transition-colors hover:text-foreground">
 								className="text-muted-foreground transition-colors hover:text-foreground">
-								<RxGithubLogo className="h-6 w-6" />
+								<FaGithub className="h-6 w-6" />
 								<span className="sr-only">GitHub</span>
 								<span className="sr-only">GitHub</span>
 							</a>
 							</a>
 							<a
 							<a
@@ -54,7 +53,7 @@ export function Footer() {
 								target="_blank"
 								target="_blank"
 								rel="noopener noreferrer"
 								rel="noopener noreferrer"
 								className="text-muted-foreground transition-colors hover:text-foreground">
 								className="text-muted-foreground transition-colors hover:text-foreground">
-								<RxDiscordLogo className="h-6 w-6" />
+								<FaDiscord className="h-6 w-6" />
 								<span className="sr-only">Discord</span>
 								<span className="sr-only">Discord</span>
 							</a>
 							</a>
 							<a
 							<a
@@ -65,6 +64,38 @@ export function Footer() {
 								<FaReddit className="h-6 w-6" />
 								<FaReddit className="h-6 w-6" />
 								<span className="sr-only">Reddit</span>
 								<span className="sr-only">Reddit</span>
 							</a>
 							</a>
+							<a
+								href={EXTERNAL_LINKS.X}
+								target="_blank"
+								rel="noopener noreferrer"
+								className="text-muted-foreground transition-colors hover:text-foreground">
+								<FaXTwitter className="h-6 w-6" />
+								<span className="sr-only">X</span>
+							</a>
+							<a
+								href={EXTERNAL_LINKS.LINKEDIN}
+								target="_blank"
+								rel="noopener noreferrer"
+								className="text-muted-foreground transition-colors hover:text-foreground">
+								<FaLinkedin className="h-6 w-6" />
+								<span className="sr-only">LinkedIn</span>
+							</a>
+							<a
+								href={EXTERNAL_LINKS.TIKTOK}
+								target="_blank"
+								rel="noopener noreferrer"
+								className="text-muted-foreground transition-colors hover:text-foreground">
+								<FaTiktok className="h-6 w-6" />
+								<span className="sr-only">TikTok</span>
+							</a>
+							<a
+								href={EXTERNAL_LINKS.BLUESKY}
+								target="_blank"
+								rel="noopener noreferrer"
+								className="text-muted-foreground transition-colors hover:text-foreground">
+								<FaBluesky className="h-6 w-6" />
+								<span className="sr-only">Bluesky</span>
+							</a>
 						</div>
 						</div>
 					</div>
 					</div>
 
 

+ 1 - 1
apps/web-roo-code/src/components/chromes/stats-display.tsx

@@ -10,7 +10,7 @@ export default async function StatsDisplay() {
 	return (
 	return (
 		<>
 		<>
 			<Link
 			<Link
-				href="https://github.com/RooVetGit/Roo-Code"
+				href="https://github.com/RooCodeInc/Roo-Code"
 				target="_blank"
 				target="_blank"
 				className="hidden md:flex items-center gap-1.5 text-sm font-medium text-gray-400 hover:text-gray-200">
 				className="hidden md:flex items-center gap-1.5 text-sm font-medium text-gray-400 hover:text-gray-200">
 				<RxGithubLogo className="h-4 w-4" />
 				<RxGithubLogo className="h-4 w-4" />

+ 10 - 6
apps/web-roo-code/src/lib/constants.ts

@@ -1,14 +1,18 @@
 export const EXTERNAL_LINKS = {
 export const EXTERNAL_LINKS = {
-	GITHUB: "https://github.com/RooVetGit/Roo-Code",
+	GITHUB: "https://github.com/RooCodeInc/Roo-Code",
 	DISCORD: "https://discord.gg/roocode",
 	DISCORD: "https://discord.gg/roocode",
 	REDDIT: "https://reddit.com/r/RooCode",
 	REDDIT: "https://reddit.com/r/RooCode",
+	X: "https://x.com/roo_code",
+	LINKEDIN: "https://www.linkedin.com/company/roo-code",
+	TIKTOK: "https://www.tiktok.com/@roo.code",
+	BLUESKY: "https://bsky.app/profile/roocode.bsky.social",
 	DOCUMENTATION: "https://docs.roocode.com",
 	DOCUMENTATION: "https://docs.roocode.com",
 	CAREERS: "https://careers.roocode.com",
 	CAREERS: "https://careers.roocode.com",
-	ISSUES: "https://github.com/RooVetGit/Roo-Code/issues",
-	FEATURE_REQUESTS: "https://github.com/RooVetGit/Roo-Code/discussions/categories/feature-requests",
-	COMMUNITY: "https://github.com/RooVetGit/Roo-Code/discussions",
-	CHANGELOG: "https://github.com/RooVetGit/Roo-Code/blob/main/CHANGELOG.md",
-	PRIVACY_POLICY_EXTENSION: "https://github.com/RooVetGit/Roo-Code/blob/main/PRIVACY.md",
+	ISSUES: "https://github.com/RooCodeInc/Roo-Code/issues",
+	FEATURE_REQUESTS: "https://github.com/RooCodeInc/Roo-Code/discussions/categories/feature-requests",
+	COMMUNITY: "https://github.com/RooCodeInc/Roo-Code/discussions",
+	CHANGELOG: "https://github.com/RooCodeInc/Roo-Code/blob/main/CHANGELOG.md",
+	PRIVACY_POLICY_EXTENSION: "https://github.com/RooCodeInc/Roo-Code/blob/main/PRIVACY.md",
 	INTEGRATIONS: "https://docs.roocode.com/community",
 	INTEGRATIONS: "https://docs.roocode.com/community",
 	TUTORIALS: "https://docs.roocode.com/tutorial-videos",
 	TUTORIALS: "https://docs.roocode.com/tutorial-videos",
 	MARKETPLACE: "https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline",
 	MARKETPLACE: "https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline",

+ 1 - 1
apps/web-roo-code/src/lib/stats.ts

@@ -1,6 +1,6 @@
 export async function getGitHubStars() {
 export async function getGitHubStars() {
 	try {
 	try {
-		const res = await fetch("https://api.github.com/repos/RooVetGit/Roo-Code")
+		const res = await fetch("https://api.github.com/repos/RooCodeInc/Roo-Code")
 		const data = await res.json()
 		const data = await res.json()
 
 
 		if (typeof data.stargazers_count !== "number") {
 		if (typeof data.stargazers_count !== "number") {