Skip to content

Commit 1c2b58b

Browse files
committed
Enhance homepage with navigation links for Graph View and Integrations
1 parent a2ce982 commit 1c2b58b

1 file changed

Lines changed: 54 additions & 1 deletion

File tree

apps/web/app/page.tsx

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
import Link from "next/link";
2+
import { ArrowRight, Network, Puzzle } from "lucide-react";
3+
14
export default function Home() {
2-
return <div>{/* Dashboard coming soon... */}</div>;
5+
return (
6+
<div className="flex min-h-screen flex-col items-center justify-center p-8 bg-background text-foreground">
7+
<div className="max-w-2xl w-full space-y-8 text-center">
8+
<div className="space-y-4">
9+
<h1 className="text-4xl font-bold tracking-tight sm:text-6xl">
10+
Welcome to Secrin
11+
</h1>
12+
<p className="text-lg text-muted-foreground">
13+
Your security dashboard is currently under construction. In the
14+
meantime, explore our graph visualization and integration settings.
15+
</p>
16+
</div>
17+
18+
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 mt-8">
19+
<Link
20+
href="/graph"
21+
className="group relative flex flex-col items-center justify-center rounded-xl border border-border bg-card p-6 text-card-foreground shadow-sm transition-all hover:shadow-md hover:border-primary/50"
22+
>
23+
<div className="mb-4 rounded-full bg-primary/10 p-3 text-primary group-hover:bg-primary/20">
24+
<Network className="h-6 w-6" />
25+
</div>
26+
<h3 className="mb-2 text-xl font-semibold">Graph View</h3>
27+
<p className="text-sm text-muted-foreground text-center mb-4">
28+
Visualize relationships and dependencies in your security graph.
29+
</p>
30+
<span className="flex items-center text-sm font-medium text-primary">
31+
Go to Graph{" "}
32+
<ArrowRight className="ml-2 h-4 w-4 transition-transform group-hover:translate-x-1" />
33+
</span>
34+
</Link>
35+
36+
<Link
37+
href="/integrations"
38+
className="group relative flex flex-col items-center justify-center rounded-xl border border-border bg-card p-6 text-card-foreground shadow-sm transition-all hover:shadow-md hover:border-primary/50"
39+
>
40+
<div className="mb-4 rounded-full bg-primary/10 p-3 text-primary group-hover:bg-primary/20">
41+
<Puzzle className="h-6 w-6" />
42+
</div>
43+
<h3 className="mb-2 text-xl font-semibold">Integrations</h3>
44+
<p className="text-sm text-muted-foreground text-center mb-4">
45+
Manage your connected tools and data sources.
46+
</p>
47+
<span className="flex items-center text-sm font-medium text-primary">
48+
Manage Integrations{" "}
49+
<ArrowRight className="ml-2 h-4 w-4 transition-transform group-hover:translate-x-1" />
50+
</span>
51+
</Link>
52+
</div>
53+
</div>
54+
</div>
55+
);
356
}

0 commit comments

Comments
 (0)