2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

docs: update sponsors, remove ads

This commit is contained in:
Jeff Sagal
2021-07-20 09:20:23 -07:00
parent 2f18243d0a
commit 2e8dd919ca
3 changed files with 22 additions and 18 deletions
+3 -3
View File
@@ -16,11 +16,11 @@ import { format } from "date-fns";
export default {
data: () => ({
sponsors: SPONSORS.map(({ createdAt, sponsor }) => ({
sponsors: SPONSORS.map(({ createdAt, sponsorEntity }) => ({
createdAt: format(new Date(createdAt), "LLL yyyy"),
...sponsor
...sponsorEntity
}))
})
}),
};
</script>
+18 -10
View File
@@ -28,20 +28,28 @@ async function getContributors() {
*/
async function getSponsors() {
const query = `
{
user(login: "sagalbot") {
sponsorshipsAsMaintainer(first: 100) {
nodes {
createdAt
sponsor {
login
avatarUrl
}
{
user(login: "sagalbot") {
sponsorshipsAsMaintainer(first: 100) {
nodes {
sponsorEntity {
... on User {
id
avatarUrl
login
}
... on Organization {
id
avatarUrl
login
}
}
createdAt
}
}
`;
}
}
`;
try {
const { user } = await graphql(query, {
+1 -5
View File
@@ -1,17 +1,13 @@
<template>
<ParentLayout>
<EthicalAds slot="sidebar-top" />
</ParentLayout>
<ParentLayout></ParentLayout>
</template>
<script>
import ParentLayout from "@parent-theme/layouts/Layout.vue";
import EthicalAds from "../components/EthicalAds.vue";
export default {
components: {
ParentLayout,
EthicalAds
}
};
</script>