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

fix(search): navigation URL path change #506

Closed
Closed
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
13 changes: 5 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,11 @@ 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://insights.opensauced.pizza/${data.name!}/dashboard/filter/${
data.full_name
}`}
>
<SearchedRepoCard
data={data}
/>
<SearchedRepoCard data={data} />
</Combobox.Option>
))}
</div>
Expand Down
Loading