Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
feat: update links to use app (#516)
Browse files Browse the repository at this point in the history
* update links to use app

* npm run format
  • Loading branch information
bdougie authored Apr 1, 2024
1 parent aaaf54e commit cb9eea0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const Hero = () => {
</span>

<br />

to contribute today
</h1>
</div>
Expand All @@ -80,9 +79,7 @@ const Hero = () => {
src={searchNormal}
/>

<Combobox.Button
ref={comboButtonRef}
>
<Combobox.Button ref={comboButtonRef}>
<Combobox.Input
ref={searchBoxRef}
className="w-full outline-none text-base text-lightSlate"
Expand Down Expand Up @@ -125,11 +122,9 @@ const Hero = () => {
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}`}
>
<SearchedRepoCard
data={data}
/>
<SearchedRepoCard data={data} />
</Combobox.Option>
))}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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` || ""}`;
Expand Down

0 comments on commit cb9eea0

Please sign in to comment.