Skip to content

Commit

Permalink
Merge pull request #36 from selemondev/feat/unjs-logo
Browse files Browse the repository at this point in the history
feat: add UnJs packages' logo
  • Loading branch information
selemondev authored Feb 11, 2024
2 parents 9fe822a + 31dbcaa commit becbf32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/utils/getPackages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export const getNuxtModules = async () => {
export const getUnjsPackages = async () => {
try {
const response = await ofetch('https://unjs.io/api/content/packages.json');
return response.map((r: { title: string; url: string; description: string }) => {
return response.map((r: { title: string; url: string; description: string, logoUrl: string }) => {
return {
label: r.title,
description: r.description,
docUrl: r.url,
logo: 'https://unjs.io/favicon.svg'
logo: r.logoUrl,
};
});
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion ui/build/assets/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit becbf32

Please sign in to comment.