diff --git a/website/app/globals.css b/website/app/globals.css new file mode 100644 index 0000000..bf8028e --- /dev/null +++ b/website/app/globals.css @@ -0,0 +1,36 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + --background: 0 0% 100%; + --foreground: 240 10% 3.9%; + --primary: 240 5.9% 10%; + --primary-foreground: 0 0% 98%; + --secondary: 240 4.8% 95.9%; + --secondary-foreground: 240 5.9% 10%; + --muted: 240 4.8% 95.9%; + --muted-foreground: 240 3.8% 46.1%; + --border: 240 5.9% 90%; +} + +.dark { + --background: 240 10% 3.9%; + --foreground: 0 0% 98%; + --primary: 0 0% 98%; + --primary-foreground: 240 5.9% 10%; + --secondary: 240 3.7% 15.9%; + --secondary-foreground: 0 0% 98%; + --muted: 240 3.7% 15.9%; + --muted-foreground: 240 5% 64.9%; + --border: 240 3.7% 15.9%; +} + +* { + border-color: hsl(var(--border)); +} + +body { + background-color: hsl(var(--background)); + color: hsl(var(--foreground)); +} diff --git a/website/app/layout.tsx b/website/app/layout.tsx new file mode 100644 index 0000000..399f6d3 --- /dev/null +++ b/website/app/layout.tsx @@ -0,0 +1,21 @@ +import type { Metadata } from "next"; +import "./globals.css"; + +export const metadata: Metadata = { + title: "Erayaha", + description: "Erayaha — open source tools for developers.", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + +
+ {children} + + + ); +} diff --git a/website/app/oss/page.tsx b/website/app/oss/page.tsx new file mode 100644 index 0000000..856bc64 --- /dev/null +++ b/website/app/oss/page.tsx @@ -0,0 +1,283 @@ +import type { Metadata } from "next"; +import Link from "next/link"; + +export const metadata: Metadata = { + title: "Open Source | Erayaha", + description: + "Explore Erayaha's open source projects. We build tools for the developer community to detect UX anti-patterns and improve software quality.", +}; + +const ossProjects = [ + { + category: "Developer Tools", + name: "Anti Dark Pattern Linter", + subtitle: "Catch UX anti-patterns before they ship", + description: + "A GitHub Actions linter that automatically detects UX dark patterns in your codebase. Prevent misleading UI, hidden costs, roach motels, and other deceptive patterns from reaching your users — directly in your CI/CD pipeline.", + tags: ["GitHub Actions", "UX", "Linting", "CI/CD", "Dark Patterns"], + links: [ + { + label: "GitHub", + href: "https://github.com/erayaha/anti-dark-pattern", + primary: false, + }, + { + label: "Actions Marketplace", + href: "https://github.com/marketplace/actions/erayaha-anti-dark-pattern-linter", + primary: true, + }, + ], + }, + { + category: "Security", + name: "Slop Scan", + subtitle: "Detect hallucinated npm packages before they ship", + description: + "A security CLI and GitHub Action that parses your source code and Markdown documentation for npm package references, then verifies every package against the live npm registry. Protect your supply chain from slopsquatting — AI-hallucinated package names that attackers register as malware.", + tags: ["Security", "npm", "CLI", "GitHub Actions", "Supply Chain"], + links: [ + { + label: "GitHub", + href: "https://github.com/erayaha/slop-scan", + primary: false, + }, + { + label: "Actions Marketplace", + href: "https://github.com/marketplace/actions/slop-scan", + primary: true, + }, + ], + }, +]; + +const ICON_SIZE_SM = 14; +const ICON_SIZE_MD = 18; +const ICON_SIZE_LG = 24; + +function GitHubIcon({ size = ICON_SIZE_MD }: { size?: number }) { + return ( + + ); +} + +function CodeIcon() { + return ( + + ); +} + +function ExternalLinkIcon() { + return ( + + ); +} + +export default function OSSPage() { + return ( ++ We believe in giving back. Erayaha open sources tools that help + developers build better, more ethical software — starting with + detection of UX anti-patterns. +
++ Free, open source tools built by the Erayaha team and maintained + for the community. +
++ {project.subtitle} +
++ {project.description} +
+ ++ We default to open source for tools that benefit the broader + developer ecosystem. +
++ Our tools integrate directly into your workflow as GitHub + Actions — no extra setup required. +
++ Contributions, issues, and ideas are always welcome. We build + these tools together. +
++ Star our repos, report issues, submit pull requests, or just spread + the word. Every contribution counts. +
+ ++ Erayaha builds open source tools that help developers build better, + more ethical software. +
+ + View Open Source Projects → + +