⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
feat(site): add a community projects page
Andrej961c309cbf38
diff --git a/apps/site/app/community/page.tsx b/apps/site/app/community/page.tsxnew file mode 100644index 000000000..6b792d6c0--- /dev/null+++ b/apps/site/app/community/page.tsx@@ -0,0 +1,80 @@+import type { Metadata } from "next";+import { CommunityProjectCard } from "@/components/landing/community-project-card";+import { Footer } from "@/components/landing/footer";+import { breadcrumbJsonLd, JsonLd } from "@/components/landing/json-ld";+import { Navbar } from "@/components/landing/navbar";+import { PageIntro } from "@/components/landing/page-intro";+import { SectionSeparator } from "@/components/landing/section-separator";+import { Button } from "@/components/ui/button";+import { communityProjects } from "@/lib/community";+import { withSocialMetadata } from "@/lib/metadata";++export const metadata: Metadata = withSocialMetadata({+ title: "Community projects",+ description:+ "Open-source tools the Kaneo community builds and maintains, from an email-to-task service to a one-command installer for Proxmox VE.",+ alternates: { canonical: "/community" },+});++export default function Page() {+ return (+ <>+ <JsonLd+ data={breadcrumbJsonLd([+ { name: "Kaneo", path: "/" },+ { name: "Community projects", path: "/community" },+ ])}+ />+ <Navbar />+ <main className="min-h-screen bg-[var(--background)] text-[var(--foreground)]">+ <section className="px-6 pt-14 pb-16 md:pt-20 md:pb-20 lg:pt-24">+ <div className="mx-auto w-full max-w-6xl">+ <PageIntro+ eyebrow="Community"+ title={<>Built by the community</>}+ description="Tools that people build around Kaneo and share in the open. Each one is made and maintained by its authors, not the Kaneo team."+ />++ <div className="mt-12 grid gap-6 md:grid-cols-2">+ {communityProjects.map((project) => (+ <CommunityProjectCard key={project.href} project={project} />+ ))}+ </div>+ </div>+ </section>++ <SectionSeparator>+ <section className="px-6 py-12 md:py-16">+ <div className="mx-auto w-full max-w-6xl">+ <h2 className="font-medium text-2xl md:text-3xl">+ Built something with Kaneo?+ </h2>+ <p className="mt-4 max-w-2xl text-muted-foreground leading-relaxed">+ Open an issue on GitHub with a link and a sentence about what it+ does, and we will add it here. Review any project before you+ give it an API key or point it at a production instance.+ </p>+ <div className="mt-8">+ <Button+ variant="outline"+ size="lg"+ className="h-12 px-5 text-sm sm:h-12"+ render={+ <a+ href="https://github.com/usekaneo/kaneo/issues/new"+ target="_blank"+ rel="noreferrer"+ />+ }+ >+ Share your project+ </Button>+ </div>+ </div>+ </section>+ </SectionSeparator>+ </main>+ <Footer />+ </>+ );+}diff --git a/apps/site/app/sitemap-pages.xml/route.ts b/apps/site/app/sitemap-pages.xml/route.tsindex f1cbf2ea0..c6189475e 100644--- a/apps/site/app/sitemap-pages.xml/route.ts+++ b/apps/site/app/sitemap-pages.xml/route.ts@@ -20,6 +20,7 @@ const staticEntries: Entry[] = [{ path: "/alternatives" },{ path: "/guides" },{ path: "/blog" },+ { path: "/community" },{ path: "/privacy" },{ path: "/terms" },];diff --git a/apps/site/components/landing/community-project-card.tsx b/apps/site/components/landing/community-project-card.tsxnew file mode 100644index 000000000..24579fb77--- /dev/null+++ b/apps/site/components/landing/community-project-card.tsx@@ -0,0 +1,47 @@+import { ArrowUpRight, Mail, Server } from "lucide-react";+import { GithubIcon } from "@/components/icons/github-icon";+import type { CommunityProject } from "@/lib/community";++const ICONS = { email: Mail, installer: Server } as const;++export function CommunityProjectCard({+ project,+}: {+ project: CommunityProject;+}) {+ const Icon = ICONS[project.kind];++ return (+ <a+ className="group flex h-full flex-col rounded-xl border bg-sidebar p-6 transition-colors focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-4 hover:border-foreground/30 md:p-8"+ href={project.href}+ rel="noreferrer"+ target="_blank"+ >+ <div className="flex items-start justify-between gap-4">+ <span className="flex size-10 items-center justify-center rounded-lg border bg-background">+ <Icon aria-hidden="true" className="size-5" />+ </span>+ <ArrowUpRight+ aria-hidden="true"+ className="size-4 text-muted-foreground transition-colors group-hover:text-foreground"+ />+ </div>++ <p className="mt-6 text-muted-foreground text-xs">{project.category}</p>+ <h3 className="mt-1.5 text-balance font-medium text-xl leading-snug transition-colors group-hover:text-primary">+ {project.name}+ </h3>+ <p className="mt-3 flex-1 text-muted-foreground leading-relaxed">+ {project.description}+ </p>++ <div className="mt-6 flex flex-wrap items-center gap-x-2.5 gap-y-1 border-t pt-5 text-muted-foreground text-xs">+ <GithubIcon className="size-3.5" />+ <span className="font-mono">{project.repo}</span>+ <span aria-hidden="true">·</span>+ <span>{project.license}</span>+ </div>+ </a>+ );+}diff --git a/apps/site/components/landing/footer.tsx b/apps/site/components/landing/footer.tsxindex 83ea9189e..a7826a6d7 100644--- a/apps/site/components/landing/footer.tsx+++ b/apps/site/components/landing/footer.tsx@@ -110,6 +110,12 @@ export function Footer() {<div className="space-y-3 text-sm"><p className="font-medium">Community</p>+ <a+ className="block text-muted-foreground transition-colors hover:text-foreground"+ href="/community"+ >+ Community projects+ </a><aclassName="block text-muted-foreground transition-colors hover:text-foreground"href="https://discord.com/invite/rU4tSyhXXU"diff --git a/apps/site/lib/community.ts b/apps/site/lib/community.tsnew file mode 100644index 000000000..c5d9324a5--- /dev/null+++ b/apps/site/lib/community.ts@@ -0,0 +1,32 @@+export type CommunityProject = {+ name: string;+ kind: "email" | "installer";+ category: string;+ repo: string;+ href: string;+ description: string;+ license: string;+};++export const communityProjects: CommunityProject[] = [+ {+ name: "kaneo-mailer",+ kind: "email",+ category: "Email to tasks",+ repo: "GEWIS/kaneo-mailer",+ href: "https://github.com/GEWIS/kaneo-mailer",+ description:+ "Turns email into Kaneo tasks. It polls an IMAP folder, creates a task for each message, and reads the project and column from custom headers, so forms and scripts can file work straight onto a board.",+ license: "GPL-3.0",+ },+ {+ name: "Proxmox VE Helper-Scripts",+ kind: "installer",+ category: "Installer",+ repo: "community-scripts/ProxmoxVE",+ href: "https://github.com/community-scripts/ProxmoxVE/blob/main/ct/kaneo.sh",+ description:+ "Sets up Kaneo in its own Proxmox VE container with one command, using the community-maintained Proxmox VE Helper-Scripts. The same script updates it later.",+ license: "MIT",+ },+];