Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(web): drop gradient washes from landing cards, restore body-copy contrast (#150)

Prince Sinhaa41796734c9a
diff --git a/apps/web/src/components/landing/sections/DeployOptions.tsx b/apps/web/src/components/landing/sections/DeployOptions.tsx
index b5de10149..b75b91e53 100644
--- a/apps/web/src/components/landing/sections/DeployOptions.tsx
+++ b/apps/web/src/components/landing/sections/DeployOptions.tsx
@@ -8,7 +8,8 @@
*
* 1. Managed (waitlist) — host on app.aisoc.dev.
* 2. Self-host (recommended) — Render / Docker / Fly.io / Helm /
- * AWS Terraform. The middle card is highlighted via `ShineBorder`.
+ * AWS Terraform. The middle card is highlighted via a thicker
+ * emerald border + the existing emerald shadow-glow.
* 3. Sovereign / air-gap — `AISOC_AIRGAPPED=true`, Ollama sidecar.
*
* Each card exposes the same four-line stat strip (Time to live / LLM /
@@ -20,7 +21,6 @@ import Link from 'next/link';
import { motion, useReducedMotion } from 'framer-motion';
import { ArrowRight, Cloud, Lock, Server } from 'lucide-react';
import type { ComponentType, SVGProps } from 'react';
-import { ShineBorder } from '@/components/magicui/ShineBorder';
import { cn } from '@/lib/utils';
interface DeployOption {
@@ -95,10 +95,9 @@ function OptionCard({
className={cn(
'relative flex flex-col gap-4 rounded-2xl border border-velvet-border bg-velvet-surface-raised/70 p-6 backdrop-blur-sm',
option.recommended &&
- 'motion-safe:shadow-glow-emerald-lg',
+ 'border-2 border-velvet-emerald/60 motion-safe:shadow-glow-emerald-lg',
)}
>
- {option.recommended && <ShineBorder duration={14} borderWidth={1} />}
<div className="relative flex items-center justify-between gap-3">
<span
aria-hidden="true"
diff --git a/apps/web/src/components/landing/sections/PricingTeaser.tsx b/apps/web/src/components/landing/sections/PricingTeaser.tsx
index b2febbfe5..51f7ebcaf 100644
--- a/apps/web/src/components/landing/sections/PricingTeaser.tsx
+++ b/apps/web/src/components/landing/sections/PricingTeaser.tsx
@@ -5,16 +5,15 @@
* section from §6.13 of the brief.
*
* Three-column tier teaser (mobile: stacked). "Team" is the middle
- * card and carries the recommended treatment — `ShineBorder` plus the
- * brighter "Contact us — waitlist" CTA. The page links out to the full
- * pricing page for the bottom of the funnel; this section is the
- * scan-and-skim teaser.
+ * card and carries the recommended treatment — a thicker emerald
+ * border plus the brighter "Contact us — waitlist" CTA. The page
+ * links out to the full pricing page for the bottom of the funnel;
+ * this section is the scan-and-skim teaser.
*/
import Link from 'next/link';
import { motion, useReducedMotion } from 'framer-motion';
import { ArrowRight, Check } from 'lucide-react';
-import { ShineBorder } from '@/components/magicui/ShineBorder';
import { cn } from '@/lib/utils';
interface Tier {
@@ -95,10 +94,9 @@ function TierCard({
className={cn(
'relative flex flex-col gap-6 rounded-md border border-velvet-border bg-velvet-surface-raised p-6 backdrop-blur-sm sm:p-8',
tier.recommended &&
- 'border-velvet-emerald/60 sm:p-8 motion-safe:shadow-glow-emerald-md',
+ 'border-2 border-velvet-emerald/60 sm:p-8 motion-safe:shadow-glow-emerald-md',
)}
>
- {tier.recommended && <ShineBorder duration={14} borderWidth={1} />}
<div className="relative">
<div className="flex items-center justify-between gap-2">
<h3 className="font-velvet-display font-normal text-lg text-velvet-content-primary">{tier.name}</h3>