Skip to content

Commit

Permalink
fix: add "powered by orama" messages (#33)
Browse files Browse the repository at this point in the history
<img width="1275" alt="Screenshot 2024-02-28 at 17 50 47"
src="https://github.com/jsr-io/jsr/assets/13135287/138adbab-3906-4425-b44c-f6b8dfece726">
<img width="961" alt="Screenshot 2024-02-28 at 17 51 02"
src="https://github.com/jsr-io/jsr/assets/13135287/ef5fc394-3d5f-472f-97b4-edfdece62714">
  • Loading branch information
crowlKats authored Feb 28, 2024
1 parent 329de22 commit 4c51348
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 3 deletions.
4 changes: 4 additions & 0 deletions frontend/islands/PackageSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ function SuggestionList(
})}
</ul>
)}
<div class="bg-gray-100 flex items-center justify-end py-1 px-2 gap-1">
<span class="text-sm text-gray-500">powered by</span>
<img class="h-4" src="/logos/orama-dark.svg" />
</div>
</div>
);
}
13 changes: 10 additions & 3 deletions frontend/routes/packages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,16 @@ export default function PackageListPage({ data, url }: PageProps<Data>) {
>
{data.packages.map((entry) => ModuleHit(entry))}
</ListDisplay>
<span class="text-sm text-gray-400 block mt-2">
Changes made in the last 15 minutes may not be visible yet.
</span>

<div className="mt-2 flex items-start justify-between px-2">
<span className="text-sm text-gray-400 block">
Changes made in the last 15 minutes may not be visible yet.
</span>
<div class="flex items-center gap-1">
<span className="text-sm text-gray-500">powered by</span>
<img className="h-4" src="/logos/orama-dark.svg" />
</div>
</div>
</div>
</div>
);
Expand Down
88 changes: 88 additions & 0 deletions frontend/static/logos/orama-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4c51348

Please sign in to comment.