From cb9eea0668ab0548fc6de11907302abc3694904f Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Mon, 1 Apr 2024 14:01:52 -0700 Subject: [PATCH] feat: update links to use app (#516) * update links to use app * npm run format --- src/components/Hero.tsx | 11 +++-------- src/lib/github.ts | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index a55dd130..ae818d33 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -63,7 +63,6 @@ const Hero = () => {
- to contribute today @@ -80,9 +79,7 @@ const Hero = () => { src={searchNormal} /> - + { key={data.full_name} as="a" className={({ active }) => (active ? "bg-gray-50" : "")} - value={`https://insights.opensauced.pizza/hot/repositories/filter/${data.full_name}`} + value={`https://app.opensauced.pizza/s/${data.full_name}`} > - + ))} diff --git a/src/lib/github.ts b/src/lib/github.ts index 1bd8977a..c735d0b4 100644 --- a/src/lib/github.ts +++ b/src/lib/github.ts @@ -5,7 +5,7 @@ const getProfileLink = (username: string | null) => `https://github.com/${username ?? ""}`; const getRepoLink = (repoName: string | null) => - `https://insights.opensauced.pizza/hot/repositories/filter/${repoName ?? ""}`; + `https://app.opensauced.pizza/${repoName ?? ""}`; const getRepoIssuesLink = (repoName: string | null) => `https://github.com/${repoName && `${repoName}/issues` || ""}`;