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

feat: update links to use app #516

Merged
merged 2 commits into from
Apr 1, 2024
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
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
Loading