Skip to content

Commit 0b70a0b

Browse files
committed
Added sponsors
1 parent aeadff3 commit 0b70a0b

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

docs/app/components/Sponsors.vue

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<div class="mx-auto py-8 md:py-16 flex flex-col w-full">
3+
<h4 class="mb-2 font-medium text-white font-sans">Platinum Sponsors</h4>
4+
5+
<div class="grid grid-cols-1 md:grid-cols-3 gap-y-4 md:gap-y-0 gap-x-2">
6+
<NuxtLink to="https://sevalla.com/" target="_blank" class="p-[10px] rounded bg-[#13161B] hover:bg-[#22262F] h-32 flex items-center justify-center transition-all duration-200">
7+
<img src="/assets/icons/hosts/sevalla.svg" alt="Sponsor" class="w-64 md:w-full object-contain" />
8+
</NuxtLink>
9+
10+
<NuxtLink target="_blank" to="https://github.com/sponsors/serversideup" class="p-[10px] rounded bg-[#13161B] h-32 flex items-center justify-center text-[#94979C] font-medium font-sans hover:bg-[#22262F] transition-all duration-200">
11+
Become a Sponsor
12+
</NuxtLink>
13+
14+
<div class="hidden md:flex p-[10px] rounded bg-[#13161B] h-32 items-center justify-center text-[#94979C] font-medium font-sans">
15+
16+
</div>
17+
</div>
18+
</div>
19+
</template>

docs/app/pages/[...slug].vue

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@
5353
:title="toc.bottom.title"
5454
:links="links"
5555
/>
56+
57+
<UPageLinks
58+
title="Sponsors"
59+
:links="[{
60+
label: 'Become a Sponsor',
61+
icon: 'i-lucide-external-link',
62+
to: 'https://github.com/sponsors/serversideup',
63+
target: '_blank'
64+
}]"
65+
/>
66+
67+
<NuxtLink
68+
to="https://sevalla.com/"
69+
target="_blank">
70+
<img src="/assets/icons/hosts/sevalla.svg" alt="Sevalla" class="w-full"/>
71+
</NuxtLink>
5672
</div>
5773
</template>
5874
</UContentToc>
@@ -69,7 +85,7 @@ definePageMeta({
6985
})
7086
7187
const route = useRoute()
72-
const { toc } = useAppConfig()
88+
const { toc, sponsors } = useAppConfig()
7389
const navigation = inject<Ref<ContentNavigationItem[]>>('navigation')
7490
7591
const { data: page } = await useAsyncData(route.path, () => queryCollection('docs').path(route.path).first())

docs/content/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ Get the full benefits of containerization. Stop using containers in dev only. Wo
185185

186186
:testimonials
187187

188+
:sponsors
189+
188190
:landing-signup
189191

190192
:follow-along

0 commit comments

Comments
 (0)