Skip to content

Commit

Permalink
fix: error 500 from icons
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSM committed Jan 29, 2024
1 parent 51fb6a8 commit c764e4e
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 2 deletions.
27 changes: 25 additions & 2 deletions apps/app/components/atoms/AppIconButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,36 @@ const apps: { [key: string]: { url: string; text: string } } = {
text: "NuxtJS",
url: "https://nuxt.com/?utm_source=menthor.io",
},
nextjs: {
text: "NextJS",
url: "https://nextjs.org/?utm_source=menthor.io",
},
prisma: {
text: "Prisma",
url: "https://www.prisma.io/?utm_source=menthor.io",
},
javascript: {
text: "JavaScript",
url: "https://en.wikipedia.org/wiki/JavaScript?utm_source=menthor.io",
},
trpc: {
text: "tRPC",
url: "https://trpc.io/?utm_source=menthor.io",
},
react: {
text: "React",
url: "https://react.dev/?utm_source=menthor.io",
},
};
</script>

<template>
<UTooltip :text="apps[app].text" :popper="{ placement: 'top' }">
<UTooltip
v-if="apps[app]"
:text="apps[app].text"
:popper="{ placement: 'top' }"
>
<nuxt-link
v-if="apps[app]"
:to="apps[app].url"
target="_blank"
external
Expand Down
4 changes: 4 additions & 0 deletions apps/app/public/app/logos/javascript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions apps/app/public/app/logos/next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/app/public/app/logos/prisma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/app/public/app/logos/react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/app/public/app/logos/trpc.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 c764e4e

Please sign in to comment.