Skip to content

Commit

Permalink
Community and Team (#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitbbhayani authored Dec 13, 2024
1 parent 1fb6e44 commit f2ab394
Show file tree
Hide file tree
Showing 64 changed files with 1,645 additions and 295 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ export default defineConfig({
// useStarlightDarkModeSwitch: false,
favicon: "/favicon.png",
editLink: {
baseUrl: 'https://github.com/DiceDB/dice/edit/master/docs/',
baseUrl: "https://github.com/DiceDB/dice/edit/master/docs/",
},
lastUpdated: true,
expressiveCode: {
textMarkers: true,
themes: ['ayu-dark','light-plus'],
themes: ["ayu-dark", "light-plus"],
defaultProps: {
wrap: true,
},
styleOverrides: {
borderRadius: '0.2rem'
styleOverrides: {
borderRadius: "0.2rem",
},
},
sidebar: [
Expand All @@ -42,8 +42,8 @@ export default defineConfig({
autogenerate: { directory: "protocols" },
},
{
label: 'Tutorials',
autogenerate: { directory: 'tutorials' }
label: "Tutorials",
autogenerate: { directory: "tutorials" },
},
{
label: "Commands",
Expand Down
198 changes: 91 additions & 107 deletions docs/public/funding.json
Original file line number Diff line number Diff line change
@@ -1,117 +1,101 @@
{
"version": "v1.0.0",
"entity": {
"type": "organisation",
"role": "owner",
"type": "organisation",
"role": "owner",
"name": "DiceDB",
"email": "[email protected]",
"phone": "",
"description": "DiceDB is a redis-compliant, reactive, scalable, highly available, unified cache optimized for modern hardware.",
"webpageUrl": {
"url": "https://dicedb.io"
}
},
"projects": [
{
"guid": "dicedb",
"name": "DiceDB",
"email": "[email protected]",
"phone": "",
"description": "DiceDB is a redis-compliant, reactive, scalable, highly available, unified cache optimized for modern hardware.",
"webpageUrl": {
"url": "https://dicedb.io"
"url": "https://dicedb.io"
},
"repositoryUrl": {
"url": "https://github.com/dicedb/dice"
},
"licenses": ["BSL"],
"tags": ["database", "high-performance", "key-value-store"]
}
],
"funding": {
"channels": [
{
"guid": "other",
"type": "other",
"address": "",
"description": "Yet to setup"
}
},
"projects": [
],
"plans": [
{
"guid": "perf-test",
"status": "active",
"name": "Load and performance testing",
"description": "This will cover the monthly server hosting costs to run load tests, performance tests, and CI for core database engine.",
"amount": 5000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "dicedb",
"name": "DiceDB",
"description": "DiceDB is a redis-compliant, reactive, scalable, highly available, unified cache optimized for modern hardware.",
"webpageUrl": {
"url": "https://dicedb.io"
},
"repositoryUrl": {
"url": "https://github.com/dicedb/dice"
},
"licenses": [
"BSL"
],
"tags": [
"database",
"high-performance",
"key-value-store"
]
"guid": "developer-time",
"status": "active",
"name": "Developer compensation",
"description": "This will cover the cost of seven senior engineers working part-time on building DiceDB.",
"amount": 70000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "commuunity-contributors-and-events",
"status": "active",
"name": "Community swags, events and hackathons",
"description": "This will cover the cost of 160+ OSS contributors by giving them DiceDB swags and keeping their morale high. Some fraction of the funds will also be used to run hackathons and some community events like Database Paper Reading Sessions. We aim to build a thriving community around DiceDB and databases in India.",
"amount": 20000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "hosting-playground",
"status": "active",
"name": "Hosting Playground",
"description": "This will cover the monthly server hosting costs to run DiceDB and host Playground making it easier for people to try out DiceDB.",
"amount": 4000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "angel-plan",
"status": "active",
"name": "Goodwill plan",
"description": "Pay anything you wish to show your goodwill for the project.",
"amount": 1000,
"currency": "USD",
"frequency": "one-time",
"channels": ["other"]
}
],
"funding": {
"channels": [
{
"guid": "other",
"type": "other",
"address": "",
"description": "Yet to setup"
}
],
"plans": [
{
"guid": "perf-test",
"status": "active",
"name": "Load and performance testing",
"description": "This will cover the monthly server hosting costs to run load tests, performance tests, and CI for core database engine.",
"amount": 5000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "developer-time",
"status": "active",
"name": "Developer compensation",
"description": "This will cover the cost of seven senior engineers working part-time on building DiceDB.",
"amount": 70000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "commuunity-contributors-and-events",
"status": "active",
"name": "Community swags, events and hackathons",
"description": "This will cover the cost of 160+ OSS contributors by giving them DiceDB swags and keeping their morale high. Some fraction of the funds will also be used to run hackathons and some community events like Database Paper Reading Sessions. We aim to build a thriving community around DiceDB and databases in India.",
"amount": 20000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "hosting-playground",
"status": "active",
"name": "Hosting Playground",
"description": "This will cover the monthly server hosting costs to run DiceDB and host Playground making it easier for people to try out DiceDB.",
"amount": 4000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "angel-plan",
"status": "active",
"name": "Goodwill plan",
"description": "Pay anything you wish to show your goodwill for the project.",
"amount": 1000,
"currency": "USD",
"frequency": "one-time",
"channels": [
"other"
]
}
],
"history": [
{
"year": 2024,
"income": 0,
"expenses": 100,
"taxes": 0,
"currency": "USD",
"description": "Infrastrucuture cost"
}
]
],
"history": [
{
"year": 2024,
"income": 0,
"expenses": 100,
"taxes": 0,
"currency": "USD",
"description": "Infrastrucuture cost"
}
]
}
}
}
4 changes: 1 addition & 3 deletions docs/src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
import { Github, MoveRight } from "lucide-astro";
import Dice from "./Dice.astro";
import site from "../data/site.json";
import { Github } from "lucide-astro";
---

<div>
Expand Down
13 changes: 13 additions & 0 deletions docs/src/components/Nav.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
const pathname = new URL(Astro.request.url).pathname;
const currentPage = pathname.split("/")[1];
const currentSubPage = pathname.split("/")[2]; // To identify subpages under "community"
import SocialHandlesIcons from "./SocialHandlesIcons.astro";
---

Expand Down Expand Up @@ -50,6 +51,18 @@ import SocialHandlesIcons from "./SocialHandlesIcons.astro";
>
<span class="has-text-weight-bold"> Blog</span>
</a>
<a
class={`navbar-item ${currentPage === "community" && "is-active"}`}
href="/community"
>
<span class="has-text-weight-bold"> Community</span>
</a>
<a
class={`navbar-item ${currentPage === "team" && "is-active"}`}
href="/team"
>
<span class="has-text-weight-bold"> Team</span>
</a>
<div class="navbar-item">
<SocialHandlesIcons />
</div>
Expand Down
63 changes: 63 additions & 0 deletions docs/src/components/UserSocialHandles.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
import { Twitter, Github, Linkedin, Globe } from "lucide-astro";
const { x, github, linkedin, website } = Astro.props;
---

<ul class="buttons" style="margin-left: 0 !important;">
{
x && (
<a
class="button is-small"
target="_blank"
href={x}
title="Follow on Twitter (X)"
>
<span class="icon">
<Twitter />
</span>
</a>
)
}
{
github && (
<a
class="button is-small"
target="_blank"
href={github}
title="Follow on GitHub"
>
<span class="icon">
<Github />
</span>
</a>
)
}
{
linkedin && (
<a
class="button is-small"
target="_blank"
href={linkedin}
title="Follow on LinkedIn"
>
<span class="icon">
<Linkedin />
</span>
</a>
)
}
{
website && (
<a
class="button is-small"
target="_blank"
href={website}
title="Visit website"
>
<span class="icon">
<Globe />
</span>
</a>
)
}
</ul>
20 changes: 20 additions & 0 deletions docs/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,29 @@ const releases = defineCollection({
}),
});

const updates = defineCollection({
type: "content",
schema: z.object({}),
});

const team = defineCollection({
type: "data",
schema: z.object({
name: z.string(),
avatar_url: z.string(),
roles: z.array(z.string()),
x: z.string(),
linkedin: z.string(),
github: z.string(),
website: z.string(),
}),
});

export const collections = {
blog,
authors,
releases,
team,
updates,
docs: defineCollection({ schema: docsSchema() }),
};
2 changes: 1 addition & 1 deletion docs/src/content/docs/commands/DECR.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ OK

## Alternatives

You can also use the [`DECRBY`](/commands/decrby) command to decrement the value of a key by a specified amount.
You can also use the [`DECRBY`](/commands/decrby) command to decrement the value of a key by a specified amount.
2 changes: 1 addition & 1 deletion docs/src/content/docs/commands/EXPIRE.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ This example shows what happens when trying to set an expiration on a non-existe

## Alternatives

- Use [`EXPIREAT`](/commands/expireat) command for more precise expiration control based on Unix timestamps
- Use [`EXPIREAT`](/commands/expireat) command for more precise expiration control based on Unix timestamps
2 changes: 1 addition & 1 deletion docs/src/content/docs/commands/EXPIREAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ OK

## Alternatives

- Use [`EXPIRE`](/commands/expire) command for simpler expiration control based on relative time
- Use [`EXPIRE`](/commands/expire) command for simpler expiration control based on relative time
Loading

0 comments on commit f2ab394

Please sign in to comment.