Skip to content

Commit 4894cfb

Browse files
Manavarya09claude
andcommitted
feat: redesign landing page — dark amber aesthetic with revolving 3D globe
Cipher-inspired dark cybersecurity aesthetic: - Three.js wireframe globe with latitude/longitude lines and dot particles - Dark black + amber/gold color scheme - Monospace uppercase typography throughout - Grid overlay background pattern - Mission/Vision section - Terminal demo with syntax-colored output - Full 22-rule table - Integration grid (GitHub Action, Claude Code MCP, npm, config) - Trust bar footer - Framer Motion scroll animations Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e23fdf7 commit 4894cfb

File tree

6 files changed

+606
-551
lines changed

6 files changed

+606
-551
lines changed

website/package-lock.json

Lines changed: 66 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11+
"@types/three": "^0.183.1",
1112
"framer-motion": "^12.38.0",
1213
"next": "^16.2.1",
1314
"react": "^19.2.4",
14-
"react-dom": "^19.2.4"
15+
"react-dom": "^19.2.4",
16+
"three": "^0.183.2"
1517
},
1618
"devDependencies": {
1719
"@tailwindcss/postcss": "^4.2.2",

website/src/app/globals.css

Lines changed: 36 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,48 @@
11
@import "tailwindcss";
22

3-
@custom-variant dark (&:is(.dark *));
4-
5-
@theme inline {
6-
--radius-sm: calc(var(--radius) - 4px);
7-
--radius-md: calc(var(--radius) - 2px);
8-
--radius-lg: var(--radius);
9-
--radius-xl: calc(var(--radius) + 4px);
10-
--color-background: var(--background);
11-
--color-foreground: var(--foreground);
12-
--color-card: var(--card);
13-
--color-card-foreground: var(--card-foreground);
14-
--color-primary: var(--primary);
15-
--color-primary-foreground: var(--primary-foreground);
16-
--color-secondary: var(--secondary);
17-
--color-secondary-foreground: var(--secondary-foreground);
18-
--color-muted: var(--muted);
19-
--color-muted-foreground: var(--muted-foreground);
20-
--color-accent: var(--accent);
21-
--color-accent-foreground: var(--accent-foreground);
22-
--color-border: var(--border);
23-
--color-input: var(--input);
24-
--color-ring: var(--ring);
25-
}
26-
27-
.dark {
28-
--radius: 0.625rem;
29-
--background: oklch(0.07 0 0);
30-
--foreground: oklch(0.985 0 0);
31-
--card: oklch(0.12 0 0);
32-
--card-foreground: oklch(0.985 0 0);
33-
--primary: oklch(0.922 0 0);
34-
--primary-foreground: oklch(0.145 0 0);
35-
--secondary: oklch(0.2 0 0);
36-
--secondary-foreground: oklch(0.985 0 0);
37-
--muted: oklch(0.2 0 0);
38-
--muted-foreground: oklch(0.6 0 0);
39-
--accent: oklch(0.2 0 0);
40-
--accent-foreground: oklch(0.985 0 0);
41-
--border: oklch(1 0 0 / 10%);
42-
--input: oklch(1 0 0 / 15%);
43-
--ring: oklch(0.556 0 0);
44-
}
45-
46-
@layer base {
47-
* {
48-
@apply border-border;
49-
}
50-
body {
51-
@apply bg-background text-foreground;
52-
}
3+
:root {
4+
--bg: #0a0a0a;
5+
--fg: #d4a012;
6+
--fg-dim: #8a6b0a;
7+
--fg-muted: #5a4a0a;
8+
--white: #fafafa;
9+
--border: #d4a01230;
10+
--card-bg: #0f0f0f;
11+
}
12+
13+
* {
14+
box-sizing: border-box;
15+
margin: 0;
16+
padding: 0;
5317
}
5418

5519
html {
5620
scroll-behavior: smooth;
5721
}
5822

5923
body {
24+
background: var(--bg);
25+
color: var(--fg);
26+
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
6027
-webkit-font-smoothing: antialiased;
6128
-moz-osx-font-smoothing: grayscale;
29+
overflow-x: hidden;
30+
}
31+
32+
::selection {
33+
background: var(--fg);
34+
color: var(--bg);
35+
}
36+
37+
::-webkit-scrollbar {
38+
width: 6px;
39+
}
40+
41+
::-webkit-scrollbar-track {
42+
background: var(--bg);
43+
}
44+
45+
::-webkit-scrollbar-thumb {
46+
background: var(--fg-dim);
47+
border-radius: 3px;
6248
}

website/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "./globals.css";
44
export const metadata: Metadata = {
55
title: "Guardrail — The safety layer for AI-generated code",
66
description:
7-
"Scan and fix security issues, performance problems, and AI-specific anti-patterns before they ship. 19 built-in rules. AST-based auto-fix. Zero config.",
7+
"Scan and fix security issues, performance problems, and AI-specific anti-patterns before they ship. 22 built-in rules. AST-based auto-fix. Zero config.",
88
};
99

1010
export default function RootLayout({

0 commit comments

Comments
 (0)