koel/docs/.vitepress/components/Sponsors.vue

88 lines
2 KiB
Vue
Raw Normal View History

2024-03-17 18:28:39 +00:00
<template>
<div class="sponsors">
<h3>Proudly sponsored by</h3>
<ul>
<li>
<SponsorLogo
2024-06-26 14:04:29 +00:00
:logo="keycdnLogo"
name="KeyCDN"
slogan="Content Delivery Made Easy"
url="https://www.keycdn.com/?a=11519"
2024-03-17 18:28:39 +00:00
/>
</li>
<li>
<SponsorLogo
:logo="doLogo"
name="DigitalOcean"
slogan="Cloud Infrastructure for Developers"
url="https://www.digitalocean.com/?refcode=5860de5f25fe&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"
/>
</li>
<li>
<SponsorLogo
:logo="whatTheDiffLogo"
name="What The Diff"
slogan="AI powered changelog generation"
url="https://whatthediff.ai"
/>
</li>
2024-06-26 14:04:29 +00:00
<li>
<SponsorLogo
:logo="rayLogo"
name="Ray"
slogan="Understand and fix bugs faster with Ray"
url="https://myray.app"
/>
</li>
2024-03-17 18:28:39 +00:00
<li>
<a class="your-logo" href="mailto:me@phanan.net?subject=Sponsoring Koel">Your logo here</a>
</li>
</ul>
</div>
</template>
<script lang="ts" setup>
import SponsorLogo from './SponsorLogo.vue'
import doLogo from '../../assets/img/sponsors/do.svg'
2024-06-26 14:04:29 +00:00
import keycdnLogo from '../../assets/img/sponsors/keycdn.svg'
import rayLogo from '../../assets/img/sponsors/ray.svg'
2024-03-17 18:28:39 +00:00
import whatTheDiffLogo from '../../assets/img/sponsors/what-the-diff.svg'
</script>
2024-04-04 20:13:35 +00:00
<style lang="postcss">
2024-03-17 18:28:39 +00:00
div.sponsors {
border-left: 1px solid var(--vp-c-divider);
padding-left: 16px;
font-size: 13px;
h3 {
font-size: 14px;
font-weight: bold;
2024-07-08 12:51:49 +00:00
margin-bottom: .75rem;
2024-03-17 18:28:39 +00:00
}
ul {
width: 75%;
}
ul li + li {
2024-07-08 12:51:49 +00:00
margin-top: .5rem;
2024-03-17 18:28:39 +00:00
}
.your-logo {
2024-07-08 12:51:49 +00:00
margin-top: 1rem;
2024-03-17 18:28:39 +00:00
display: block;
text-align: center;
border-radius: 5px;
border: 1px solid var(--vp-c-border);
line-height: 2.75;
transition: .2s all;
&:hover {
border-color: var(--vp-c-brand-1);
}
}
}
</style>