Skip to content

Commit

Permalink
docs: add prisma as a premium sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Oct 1, 2024
1 parent 09f9532 commit 0161078
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 32 deletions.
56 changes: 24 additions & 32 deletions docs/.vitepress/theme/components/AsideSponsors.vue
Original file line number Diff line number Diff line change
@@ -1,52 +1,44 @@
<template>
<div>
<h4 class="text-base font-semibold mb-2">Premium sponsors</h4>
<h4 class="text-base font-semibold">Premium sponsors</h4>
</div>
<a
href="https://www.prisma.io"
target="_blank"
rel="noopener"
>
<div class="my-4 py-6 px-6 bg-white/5">
<img
src="/logos/prisma-full.svg"
alt="Prisma"
class="object-cover"
>
</div>
</a>
<a
href="https://github.com/sponsors/privatenumber/sponsorships?pay_prorated=false&tier_id=388346"
target="_blank"
class="sponsor-placeholder"
rel="noopener"
class="sponsor-button"
>
Your logo + link here

<button type="button" class="sponsor-button mt-4">
Become a sponsor
</button>
Become a premium sponsor
</a>
</template>

<style scoped>
.sponsor-placeholder {
@apply
block
border-2
border-dashed
rounded
py-6
text-center
text-sm
transition-colors
text-zinc-500
border-zinc-400
hover:text-zinc-800
hover:border-zinc-700;
}
html.dark .sponsor-placeholder {
@apply
border-zinc-500
text-zinc-500
hover:border-zinc-200
hover:text-zinc-200;
}
.sponsor-button {
@apply
block
w-fit
mx-auto
text-xs
rounded-full
transition-colors
bg-pink-500
hover:bg-pink-600
text-white
py-1
mt-5
py-1.5
px-4;
}
</style>
5 changes: 5 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ _tsx_ is recognized by both [Node.js](https://nodejs.org/en/learn/getting-starte
href="https://github.com/arktypeio/arktype/blob/1820e86e93e1ccaabda7f8de28fb7f04320d6fc8/package.json#L59"
img-src="/logos/arktype.svg"
/>
<ImageLink
alt="Prisma"
href="https://github.com/prisma/prisma/blob/f19a3e28a37327eb0a5e45941c0e4abf3dbab136/package.json#L94"
img-src="/logos/prisma.svg"
/>
</div>

To find more examples of where & how _tsx_ is used, [search on GitHub](https://github.com/search?q=path%3Apackage.json+%22%5C%22tsx%5C%22%3A+%5C%22%22&type=code).
Expand Down
9 changes: 9 additions & 0 deletions docs/public/logos/prisma-full.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 docs/public/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.

0 comments on commit 0161078

Please sign in to comment.