Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 5 additions & 106 deletions app/(home)/docs/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import Link from "next/link";
import {
Database,
LayoutDashboard,
Terminal,
Code2,
Waypoints,
Hammer,
Compass,
Zap,
ArrowRight,
Book,
} from "lucide-react";
import { Card, Cards } from "fumadocs-ui/components/card";
import { createMetadata } from "@/lib/metadata";
Expand All @@ -18,7 +11,7 @@ export function generateMetadata() {
return createMetadata({
title: "Konnektr Docs - Documentation Portal",
description:
"Everything you need to build, manage, and scale digital twin solutions with the Konnektr Platform.",
"Everything you need to build, manage, and scale with Konnektr platform tools.",
});
}

Expand All @@ -30,65 +23,11 @@ export default function DocsPage() {
Konnektr <span className="text-primary">Docs</span>
</h1>
<p className="text-lg md:text-xl text-fd-muted-foreground max-w-[800px] leading-relaxed">
Everything you need to build, manage, and scale digital twin solutions
with the Konnektr Platform.
Documentation for Konnektr platform tools — control planes, Kubernetes operators, and expression languages.
</p>
</div>

<div className="mb-20">
<div className="flex items-center justify-between mb-8 px-4">
<div>
<h2 className="text-2xl font-semibold mb-2 flex items-center gap-2">
Konnektr Graph
</h2>
<p className="text-fd-muted-foreground">
The heart of your digital twin ecosystem.
</p>
</div>
<Link
href="/docs/graph/getting-started"
className="text-primary hover:underline flex items-center gap-1 font-medium hidden sm:flex"
>
Go to Graph Docs <ArrowRight className="h-4 w-4" />
</Link>
</div>

<Cards>
<Card
href="/docs/graph/getting-started/quickstart"
title="Quick Start"
description="Deploy your first Graph instance and run your first query in under 5 minutes."
icon={<Zap className="text-primary" />}
/>
<Card
href="/docs/graph/concepts/dtdl"
title="DTDL & Models"
description="Understand the Digital Twins Definition Language and how to model your world."
icon={<Book className="text-primary" />}
/>
<Card
href="/docs/graph/how-to-guides/using-azure-digital-twins-sdks"
title="Azure SDK Support"
description="Use standard Azure Digital Twins SDKs with zero code changes."
icon={<Code2 className="text-primary" />}
/>
<Card
href="/docs/graph/deployment-installation/self-host"
title="Self-Hosting"
description="Learn how to deploy Konnektr Graph in your own Kubernetes or Docker environment."
icon={<Terminal className="text-primary" />}
/>
</Cards>
</div>

<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 px-4">
<div className="col-span-full mb-2">
<h2 className="text-2xl font-semibold">Other Platform Tools</h2>
<p className="text-fd-muted-foreground mt-1">
Specialized tools to extend your digital twin capabilities.
</p>
</div>

<div className="grid grid-cols-1 md:grid-cols-3 gap-6 px-4">
<Link
href="/docs/ktrlplane"
className="group p-6 rounded-2xl border bg-fd-card hover:bg-fd-accent transition-colors flex flex-col gap-4"
Expand All @@ -97,8 +36,7 @@ export default function DocsPage() {
<div>
<h3 className="font-semibold mb-1">KtrlPlane</h3>
<p className="text-sm text-fd-muted-foreground leading-relaxed">
Cloud control plane for users, organizations, and resource
management.
Cloud control plane for users, organizations, and resource management.
</p>
</div>
</Link>
Expand All @@ -111,8 +49,7 @@ export default function DocsPage() {
<div>
<h3 className="font-semibold mb-1">DB Query Operator</h3>
<p className="text-sm text-fd-muted-foreground leading-relaxed">
Bridge database state with Kubernetes infrastructure
automatically.
Bridge database state with Kubernetes infrastructure automatically.
</p>
</div>
</Link>
Expand All @@ -129,44 +66,6 @@ export default function DocsPage() {
</p>
</div>
</Link>

<div className="p-6 rounded-2xl border bg-fd-card opacity-60 flex flex-col gap-4 relative overflow-hidden">
<span className="absolute top-4 right-4 text-[10px] font-bold bg-fd-muted px-2 py-0.5 rounded text-fd-muted-foreground tracking-wider uppercase">
Soon
</span>
<Waypoints className="h-8 w-8 text-fd-muted-foreground" />
<div>
<h3 className="font-semibold mb-1">Konnektr Flow</h3>
<p className="text-sm text-fd-muted-foreground leading-relaxed">
Real-time data orchestration and event processing engine.
</p>
</div>
</div>
</div>

<div className="mt-24 p-12 rounded-[2rem] bg-fd-primary text-fd-primary-foreground text-center relative overflow-hidden shadow-2xl shadow-fd-primary/20">
<div className="absolute inset-0 bg-[radial-gradient(circle_at_top_right,rgba(255,255,255,0.1),transparent)] pointer-events-none" />
<h2 className="text-3xl font-bold mb-4 relative z-10">
Ready to build?
</h2>
<p className="mb-8 opacity-90 max-w-[600px] mx-auto relative z-10">
Deploy a managed Konnektr Graph instance in seconds and start modeling
your physical assets digitally.
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center relative z-10">
<Link
href="https://ktrlplane.konnektr.io/resources/create?resource_type=Konnektr.Graph&utm_source=docs&utm_medium=referral&utm_campaign=docs-portal"
className="px-8 py-3 bg-fd-background text-fd-foreground rounded-full font-semibold hover:opacity-90 transition-opacity"
>
Deploy Graph Now
</Link>
<Link
href="/docs/graph/getting-started/quickstart"
className="px-8 py-3 dark bg-white/10 backdrop-blur-sm text-white border border-white/20 rounded-full font-semibold hover:bg-white/20 transition-colors"
>
Read the Guide
</Link>
</div>
</div>
</main>
);
Expand Down
109 changes: 7 additions & 102 deletions app/(home)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { HomeLayout } from 'fumadocs-ui/layouts/home';
import {
NavbarMenu,
NavbarMenuContent,
NavbarMenuLink,
NavbarMenuTrigger,
} from "fumadocs-ui/layouts/home/navbar";
import { baseOptions, linkItems } from "@/lib/layout.shared";
import { Book, ComponentIcon, Pencil, PlusIcon, Server, Database, LayoutDashboard, Terminal, Code2, Waypoints, Compass, Zap, Hammer } from "lucide-react";
import { LayoutDashboard, Terminal, Code2 } from "lucide-react";
import Link from "next/link";

export default function Layout({ children }: LayoutProps<"/">) {
Expand All @@ -19,11 +13,6 @@ export default function Layout({ children }: LayoutProps<"/">) {
on: "menu",
text: "Documentation",
items: [
{
text: "Konnektr Graph",
url: "/docs/graph",
icon: <Database />,
},
{
text: "KtrlPlane",
url: "/docs/ktrlplane",
Expand All @@ -45,96 +34,12 @@ export default function Layout({ children }: LayoutProps<"/">) {
type: "custom",
on: "nav",
children: (
<NavbarMenu>
<NavbarMenuTrigger>
<Link href="/docs">Documentation</Link>
</NavbarMenuTrigger>
<NavbarMenuContent>
<NavbarMenuLink
href="/docs/graph"
className="md:row-span-2 group"
>
<div className="-mx-3 -mt-3 flex items-center justify-center h-32 bg-gradient-to-br from-primary/20 via-primary/10 to-transparent rounded-t-lg transition-colors group-hover:from-primary/30 relative overflow-hidden">
<div className="absolute inset-0 bg-grid-white/[0.02] dark:bg-grid-white/[0.05]" />
<img
src="/graph-icon.png"
alt="Konnektr Graph"
className="h-16 w-16 relative z-10 drop-shadow-2xl transition-transform group-hover:scale-110"
/>
</div>
<p className="font-medium mt-2">Konnektr Graph</p>
<p className="text-fd-muted-foreground text-sm leading-relaxed">
High-performance, Azure Digital Twins compatible graph
database.
</p>
</NavbarMenuLink>

<NavbarMenuLink
href="/docs/graph/getting-started/quickstart"
className="lg:col-start-2"
>
<Zap className="bg-fd-primary text-fd-primary-foreground p-1 mb-2 rounded-md" />
<p className="font-medium">Quick Start</p>
<p className="text-fd-muted-foreground text-sm">
Get your digital twin runtime running in minutes.
</p>
</NavbarMenuLink>

<NavbarMenuLink
href="/docs/graph/concepts/dtdl"
className="lg:col-start-2"
>
<Book className="bg-fd-primary text-fd-primary-foreground p-1 mb-2 rounded-md" />
<p className="font-medium">DTDL & Models</p>
<p className="text-fd-muted-foreground text-sm">
Learn about Digital Twins Definition Language.
</p>
</NavbarMenuLink>

<div className="lg:col-start-3 lg:row-start-1 lg:row-span-2 flex flex-col p-2 pt-6">
<p className="text-[10px] font-bold text-fd-muted-foreground uppercase tracking-widest px-2 mb-3">
Other Products
</p>
<div className="flex flex-col gap-1">
<Link
href="/docs/ktrlplane"
className="flex items-center gap-3 p-2 rounded-lg hover:bg-fd-accent transition-colors text-sm group"
>
<LayoutDashboard className="h-4 w-4 text-fd-muted-foreground group-hover:text-primary transition-colors" />
<span className="font-medium">KtrlPlane</span>
</Link>
<Link
href="/docs/db-query-operator"
className="flex items-center gap-3 p-2 rounded-lg hover:bg-fd-accent transition-colors text-sm group"
>
<Terminal className="h-4 w-4 text-fd-muted-foreground group-hover:text-primary transition-colors" />
<span className="font-medium">DB Query Operator</span>
</Link>
<Link
href="/docs/jexl"
className="flex items-center gap-3 p-2 rounded-lg hover:bg-fd-accent transition-colors text-sm group"
>
<Code2 className="h-4 w-4 text-fd-muted-foreground group-hover:text-primary transition-colors" />
<span className="font-medium">Jexl Extended</span>
</Link>
</div>

<div className="mt-6 pt-4 border-t border-fd-border/50 flex flex-col gap-1">
<p className="text-[10px] font-bold text-fd-muted-foreground/50 uppercase tracking-widest px-2 mb-2">
COMING SOON
</p>
<div className="flex items-center gap-3 p-2 opacity-40 text-sm grayscale">
<Hammer className="h-4 w-4" />
<span className="font-medium">Assembler</span>
</div>
<div className="flex items-center gap-3 p-2 opacity-40 text-sm grayscale">
<Waypoints className="h-4 w-4" />
<span className="font-medium">Flow</span>
</div>
</div>
</div>
</NavbarMenuContent>
</NavbarMenu>
<Link
href="/docs"
className="text-sm font-medium text-fd-muted-foreground hover:text-fd-foreground transition-colors"
>
Documentation
</Link>
),
},
...linkItems,
Expand Down
5 changes: 0 additions & 5 deletions app/api/proxy/route.ts

This file was deleted.

1 change: 0 additions & 1 deletion app/global.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import 'tailwindcss';
@import 'fumadocs-ui/css/shadcn.css';
@import 'fumadocs-ui/css/preset.css';
@import 'fumadocs-openapi/css/preset.css';

@custom-variant dark (&:is(.dark *));

Expand Down
6 changes: 0 additions & 6 deletions components/api-page.client.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions components/api-page.tsx

This file was deleted.

Loading
Loading