diff --git a/app/[lang]/blog/[slug]/page.tsx b/app/[lang]/blog/[slug]/page.tsx index a6b3919..4ccd84c 100644 --- a/app/[lang]/blog/[slug]/page.tsx +++ b/app/[lang]/blog/[slug]/page.tsx @@ -270,7 +270,7 @@ export default async function BlogPostPage({ )} - {post.readingTime} {dict.blog.readingTime} + {dict.blog.readingTime.replace("{n}", String(post.readingTime))} {tags.length > 0 && ( diff --git a/app/[lang]/layout.tsx b/app/[lang]/layout.tsx index e21a581..720ff36 100644 --- a/app/[lang]/layout.tsx +++ b/app/[lang]/layout.tsx @@ -90,8 +90,8 @@ export async function generateMetadata({ export const viewport: Viewport = { themeColor: [ - { media: "(prefers-color-scheme: light)", color: "#fcfcfe" }, - { media: "(prefers-color-scheme: dark)", color: "#0a0b14" }, + { media: "(prefers-color-scheme: light)", color: "#ffffff" }, + { media: "(prefers-color-scheme: dark)", color: "#0a0a0a" }, ], colorScheme: "light dark", width: "device-width", @@ -125,7 +125,11 @@ export default async function LangLayout({ Skip to content - + {/* Clip the hero's decorative glows/grids (wider than a phone) here, not only on : body overflow propagates to the viewport, where it no longer shrinks the scrollable width. */} diff --git a/app/[lang]/page.tsx b/app/[lang]/page.tsx index 20aa649..344c69e 100644 --- a/app/[lang]/page.tsx +++ b/app/[lang]/page.tsx @@ -2,19 +2,25 @@ import Link from "next/link"; import type { Metadata } from "next"; import { notFound } from "next/navigation"; +import { ArrowRight, ArrowUpRight } from "lucide-react"; + import { CollectGuide } from "@/components/CollectGuide"; import { EvtxLocations } from "@/components/EvtxLocations"; import { EvtxUploader } from "@/components/EvtxUploader"; import { Faq } from "@/components/Faq"; import { + COL, CtaBand, FeatureGrid, + FlareLine, REPO_URL, + SIGMA_COUNT, SectionHeading, StatsBand, WorksWith, } from "@/components/home/HomeSections"; -import { ProductPreview } from "@/components/ProductPreview"; +import { ProductShot } from "@/components/home/ProductShot"; +import { HUNTS } from "@/lib/hunts"; import { HomeSeo } from "@/components/HomeSeo"; import { JsonLd } from "@/components/seo/json-ld"; import { blog, site } from "@/next-md-blog.config"; @@ -96,73 +102,104 @@ export default async function Home({ params }: { params: Promise }) { offers: { "@type": "Offer", price: "0", priceCurrency: "USD" }, }; - // "EVTX parser — Windows Event Log viewer…": brand part in ultraviolet. + // "EVTX parser — Windows Event Log viewer…": the brand set in the serif + // voice on its own line, the description in the sans below it. const [headlineBrand, headlineRest] = dict.home.headline.includes(" — ") ? dict.home.headline.split(" — ", 2) : [null, null]; + const specs = [ + `0 ${dict.home.statUploaded}`, + `${HUNTS.length} hunts`, + `${SIGMA_COUNT.toLocaleString("en-US")} Sigma rules`, + "Rust → WebAssembly", + ]; + return ( <>
- {/* Hero — the case file under an ultraviolet lamp. */} -
-
+ {/* Hero: a report-white (or black) page with a single flare on the + event baseline. */} +
+
+ - {/* The tool is the hero's centrepiece: the drop zone is the main - call to action, directly under the headline. */} -
- } - /> -
+ {/* The tool itself, framed like evidence. */} +
+ + {dict.collect.heading} +
+
@@ -170,66 +207,72 @@ export default async function Home({ params }: { params: Promise }) { Google ranks for it, so answer "what is it" high on the page. */}
-

+

{dict.home.whatIsHeading}

-

+

{dict.home.whatIsBody}{" "} {dict.home.whatIsMore} →

- - -
- } - /> + } /> - +
+ +
- +
+ +
+ +
+
{featured.length > 0 && (
-
    - {featured.map((p) => ( +
      + {featured.map((p, i) => (
    • - + + {String(i + 1).padStart(2, "0")} + + {(p.frontmatter.title as string) ?? p.slug} - {p.frontmatter.description ? ( {p.frontmatter.description as string} - ) : null} + ) : ( + + )} +
    • ))} @@ -237,12 +280,17 @@ export default async function Home({ params }: { params: Promise }) {
)} - - +
+ +
- +
+ +
- +
+ +
); diff --git a/app/apple-icon.tsx b/app/apple-icon.tsx index 7bc3518..ad9cfef 100644 --- a/app/apple-icon.tsx +++ b/app/apple-icon.tsx @@ -5,31 +5,14 @@ export const contentType = "image/png"; // Same mark as app/icon.svg, full-bleed (iOS applies its own rounded mask). const MARK = ` - - - - - - - - - - - - - - - - - + + `; export default function AppleIcon() { const src = `data:image/svg+xml;base64,${Buffer.from(MARK).toString("base64")}`; return new ImageResponse( - ( - - ), + , size, ); } diff --git a/app/globals.css b/app/globals.css index 2be0564..1fedce8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -8,28 +8,30 @@ @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); - --font-sans: var(--font-plex-sans); - --font-mono: var(--font-plex-mono); - --font-heading: var(--font-plex-condensed); + --font-sans: var(--font-inter); + --font-mono: var(--font-jetbrains); + --font-heading: var(--font-inter); + --font-serif: var(--font-instrument); /* - * "Alternate Light Source" palette. - * ink — blue-black case-file neutrals (replaces zinc) - * uv — ultraviolet brand: interactive, selected, focus - * glow — fluorescent lime: what the light reveals (search hits, matches) - * Warnings/errors keep Tailwind orange/red so severity never changes hue. + * "Flare" palette. + * ink — true neutral greys, no tint: the black-and-white of a report + * uv — ultraviolet: the one brand accent (actions, focus, marks) + * glow — highlighter amber: what a search or hunt reveals + * Scale names are kept so every page re-skins from these tokens. + * Severity keeps red/amber/neutral so it never borrows the brand hue. */ - --color-ink-50: #f5f6fa; - --color-ink-100: #ebedf4; - --color-ink-200: #d8dbe7; - --color-ink-300: #b7bbcf; - --color-ink-400: #8b90aa; - --color-ink-500: #666c88; - --color-ink-600: #4c526c; - --color-ink-700: #383d54; - --color-ink-800: #252a3d; - --color-ink-900: #171a29; - --color-ink-950: #0b0c16; + --color-ink-50: #fafafa; + --color-ink-100: #f4f4f4; + --color-ink-200: #e8e8e8; + --color-ink-300: #d1d1d1; + --color-ink-400: #a1a1a1; + --color-ink-500: #737373; + --color-ink-600: #555555; + --color-ink-700: #3d3d3d; + --color-ink-800: #262626; + --color-ink-900: #171717; + --color-ink-950: #0a0a0a; --color-uv-50: #f3f0ff; --color-uv-100: #e9e3ff; @@ -43,17 +45,17 @@ --color-uv-900: #3d1d8c; --color-uv-950: #231059; - --color-glow-50: #f9ffe5; - --color-glow-100: #f0ffc2; - --color-glow-200: #e2ff8a; - --color-glow-300: #d0fb4d; - --color-glow-400: #bdf01e; - --color-glow-500: #a3d80c; - --color-glow-600: #7fad05; - --color-glow-700: #608309; - --color-glow-800: #4c670e; - --color-glow-900: #405711; - --color-glow-950: #213103; + --color-glow-50: #fffbeb; + --color-glow-100: #fef3c7; + --color-glow-200: #fde68a; + --color-glow-300: #fcd34d; + --color-glow-400: #fbbf24; + --color-glow-500: #f59e0b; + --color-glow-600: #d97706; + --color-glow-700: #b45309; + --color-glow-800: #92400e; + --color-glow-900: #78350f; + --color-glow-950: #451a03; --color-brand: var(--brand); --color-brand-foreground: var(--brand-foreground); --color-sidebar-ring: var(--sidebar-ring); @@ -95,86 +97,86 @@ } /* - * "Alternate Light Source" identity. Forensic investigators sweep a scene - * with ultraviolet light and traces start to glow — this tool does the same - * to event logs. Blue-black case-file neutrals, an ultraviolet brand accent - * (--brand / --ring) and fluorescent lime reserved for what gets revealed. - * shadcn token names are kept so the primitives keep working; red stays - * strictly for destructive. + * "Flare" identity. An investigation is a long, quiet read of records until + * one of them lights up. The site is black and white like a report; a single + * one ultraviolet accent marks the thing that matters (the primary action, the + * focused element, the event that fired). shadcn token names are kept so the + * primitives keep working; red stays strictly for destructive. */ :root { - --background: #fcfcfe; - --foreground: #0b0c16; + --background: #ffffff; + --foreground: #0a0a0a; --card: #ffffff; - --card-foreground: #0b0c16; + --card-foreground: #0a0a0a; --popover: #ffffff; - --popover-foreground: #0b0c16; - --primary: #171a29; + --popover-foreground: #0a0a0a; + --primary: #0a0a0a; --primary-foreground: #ffffff; - --secondary: #f1f2f7; - --secondary-foreground: #0b0c16; - --muted: #f1f2f7; - --muted-foreground: #5a6079; - --accent: #efeaff; - --accent-foreground: #3d1d8c; + --secondary: #f4f4f4; + --secondary-foreground: #0a0a0a; + --muted: #f4f4f4; + --muted-foreground: #5c5c5c; + --accent: #f3f0ff; + --accent-foreground: #4a20b0; --destructive: #dc2626; - --border: #e3e5ee; - --input: #dcdfea; + --border: #e8e8e8; + --input: #dedede; --ring: #7b4cff; - /* UV -600 keeps legible contrast on light surfaces. */ + /* Darker flare on white keeps text links at AA contrast. */ --brand: #6a33f5; --brand-foreground: #ffffff; --chart-1: #7b4cff; - --chart-2: #a3d80c; - --chart-3: #666c88; - --chart-4: #b7bbcf; - --chart-5: #252a3d; - --radius: 0.5rem; - --sidebar: #f8f8fc; - --sidebar-foreground: #0b0c16; + --chart-2: #f59e0b; + --chart-3: #737373; + --chart-4: #d1d1d1; + --chart-5: #262626; + --radius: 0.625rem; + --sidebar: #fafafa; + --sidebar-foreground: #0a0a0a; --sidebar-primary: #6a33f5; --sidebar-primary-foreground: #ffffff; - --sidebar-accent: #efeaff; - --sidebar-accent-foreground: #3d1d8c; - --sidebar-border: #e3e5ee; + --sidebar-accent: #f3f0ff; + --sidebar-accent-foreground: #4a20b0; + --sidebar-border: #e8e8e8; --sidebar-ring: #7b4cff; + --mark: rgb(10 10 10 / 0.28); } .dark { - --background: #0a0b14; - --foreground: #e8e9f2; - --card: #111322; - --card-foreground: #e8e9f2; - --popover: #141627; - --popover-foreground: #e8e9f2; - --primary: #e8e9f2; - --primary-foreground: #111322; - --secondary: #1a1d2f; - --secondary-foreground: #e8e9f2; - --muted: #1a1d2f; - --muted-foreground: #9ca1ba; - --accent: #231b45; + --background: #0a0a0a; + --foreground: #ededed; + --card: #111111; + --card-foreground: #ededed; + --popover: #141414; + --popover-foreground: #ededed; + --primary: #ededed; + --primary-foreground: #0a0a0a; + --secondary: #1a1a1a; + --secondary-foreground: #ededed; + --muted: #1a1a1a; + --muted-foreground: #a1a1a1; + --accent: #1a1233; --accent-foreground: #d4c9ff; --destructive: #f05252; - --border: rgb(214 208 255 / 9%); - --input: rgb(214 208 255 / 13%); + --border: rgb(255 255 255 / 9%); + --input: rgb(255 255 255 / 13%); --ring: #9772ff; - /* Under the lamp the violet glows brighter (-400). */ --brand: #9772ff; - --brand-foreground: #0a0b14; + --brand-foreground: #0a0a0a; --chart-1: #9772ff; - --chart-2: #bdf01e; - --chart-3: #8b90aa; - --chart-4: #4c526c; - --chart-5: #d8dbe7; - --sidebar: #111322; - --sidebar-foreground: #e8e9f2; + --chart-2: #fbbf24; + --chart-3: #a1a1a1; + --chart-4: #3d3d3d; + --chart-5: #e8e8e8; + --sidebar: #111111; + --sidebar-foreground: #ededed; --sidebar-primary: #9772ff; - --sidebar-primary-foreground: #0a0b14; - --sidebar-accent: #231b45; + --sidebar-primary-foreground: #0a0a0a; + --sidebar-accent: #1a1233; --sidebar-accent-foreground: #d4c9ff; - --sidebar-border: rgb(214 208 255 / 9%); + --sidebar-border: rgb(255 255 255 / 9%); --sidebar-ring: #9772ff; + --mark: rgb(255 255 255 / 0.32); } @layer base { @@ -183,13 +185,14 @@ } body { @apply bg-background text-foreground; - font-family: var(--font-plex-sans), ui-sans-serif, system-ui, sans-serif; + font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif; + font-feature-settings: "cv11", "ss01", "ss03"; /* Decorative hero glows are wider than small screens; clip (not hidden) keeps position: sticky working. */ overflow-x: clip; } ::selection { - background: rgb(123 76 255 / 0.28); + background: rgb(123 76 255 / 0.25); } html { @apply font-sans; @@ -197,13 +200,13 @@ scrollbar-gutter: stable; } /* - * Display layer — IBM Plex Sans Condensed on headings: the terse, labelled - * voice of a lab report. Plex Sans carries the UI, Plex Mono the data. + * Display layer: Inter, set tight. The brand voice adds Instrument Serif + * italic (.font-serif) for one phrase per hero, never for UI. */ h1, h2, h3, h4, .font-heading { - font-family: var(--font-plex-condensed), var(--font-plex-sans), sans-serif; + font-family: var(--font-inter), sans-serif; font-weight: 600; - letter-spacing: -0.01em; + letter-spacing: -0.022em; } } @@ -273,106 +276,128 @@ } /* - * Premium finish — shared surfaces. Hairline borders, a soft inner top - * highlight and layered shadows give depth without adding colour; the - * ultraviolet accent only appears on interaction and on the luminous edge. + * Flare components. Flat surfaces, hairline borders, almost no shadow: + * depth comes from contrast and type, colour only where something matters. */ @layer components { .surface { background-color: var(--card); border: 1px solid var(--border); - border-radius: 1rem; - box-shadow: - inset 0 1px 0 rgb(255 255 255 / 0.7), - 0 1px 2px rgb(11 12 22 / 0.04), - 0 12px 32px -18px rgb(11 12 22 / 0.18); + border-radius: 0.875rem; + box-shadow: 0 1px 2px rgb(10 10 10 / 0.04); } .dark .surface { - background-color: rgb(17 19 34 / 0.72); - box-shadow: - inset 0 1px 0 rgb(255 255 255 / 0.05), - 0 1px 2px rgb(0 0 0 / 0.4), - 0 18px 40px -20px rgb(0 0 0 / 0.7); + background-color: #0f0f0f; + box-shadow: none; } .surface-interactive { transition: - transform 160ms ease, - border-color 160ms ease, - box-shadow 160ms ease; + border-color 150ms ease, + background-color 150ms ease; } .surface-interactive:hover { - transform: translateY(-2px); - border-color: rgb(123 76 255 / 0.35); - box-shadow: - inset 0 1px 0 rgb(255 255 255 / 0.7), - 0 18px 40px -18px rgb(123 76 255 / 0.35); + border-color: rgb(10 10 10 / 0.22); + background-color: #fcfcfc; } .dark .surface-interactive:hover { - box-shadow: - inset 0 1px 0 rgb(255 255 255 / 0.06), - 0 22px 48px -20px rgb(123 76 255 / 0.45); + border-color: rgb(255 255 255 / 0.2); + background-color: #141414; } - /* 1px luminous gradient edge: ultraviolet → transparent → fluorescent. */ + /* A flare-lit top edge: the panel that holds the action. */ .edge-glow { - border: 1px solid transparent; - background: - linear-gradient(var(--card), var(--card)) padding-box, - linear-gradient(135deg, rgb(123 76 255 / 0.65), rgb(123 76 255 / 0.08) 40%, rgb(189 240 30 / 0.45)) border-box; - } - .dark .edge-glow { + border: 1px solid var(--border); background: - linear-gradient(#111322, #111322) padding-box, - linear-gradient(135deg, rgb(151 114 255 / 0.8), rgb(151 114 255 / 0.1) 40%, rgb(189 240 30 / 0.5)) border-box; + linear-gradient(90deg, transparent, rgb(123 76 255 / 0.9) 50%, transparent) top / 100% 1px no-repeat, + var(--card); } - /* Headline ink: a quiet vertical gradient reads richer than flat black. */ + /* Headlines stay solid ink in light; a silver fall-off in dark. */ .text-gradient { - background: linear-gradient(180deg, #0b0c16 30%, #4c526c); - -webkit-background-clip: text; - background-clip: text; - color: transparent; + color: #0a0a0a; } .dark .text-gradient { - background: linear-gradient(180deg, #ffffff 30%, #9ca1ba); + background: linear-gradient(180deg, #ffffff 35%, #a1a1a1); -webkit-background-clip: text; background-clip: text; + color: transparent; } .text-gradient-uv { - background: linear-gradient(100deg, #6a33f5, #9772ff 60%, #7b4cff); + background: linear-gradient(100deg, #6a33f5, #9772ff 55%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; } - .dark .text-gradient-uv { - background: linear-gradient(100deg, #b6a1ff, #9772ff 55%, #d4c9ff); - -webkit-background-clip: text; - background-clip: text; + + .font-serif { + font-family: var(--font-instrument), ui-serif, Georgia, serif; + font-style: italic; + font-weight: 400; + letter-spacing: -0.01em; } - /* Small uppercase section label. */ + /* Section label: mono, uppercase, led by a small flare square. */ .eyebrow { - font-family: var(--font-plex-mono), ui-monospace, monospace; + display: inline-flex; + align-items: center; + gap: 0.5rem; + font-family: var(--font-jetbrains), ui-monospace, monospace; font-size: 0.6875rem; - letter-spacing: 0.14em; + font-weight: 500; + letter-spacing: 0.12em; text-transform: uppercase; - color: var(--brand); + color: var(--muted-foreground); + } + .eyebrow::before { + content: ""; + width: 0.375rem; + height: 0.375rem; + flex: none; + background: #7b4cff; + } + + /* + * Registration marks: small crosshair corners, the way evidence is framed + * in a forensic photo. Drawn on ::after so the element keeps its own + * background and border. + */ + .marks { + position: relative; + } + .marks::after { + content: ""; + position: absolute; + inset: -5px; + pointer-events: none; + --l: 11px; + background: + linear-gradient(var(--mark), var(--mark)) top left / var(--l) 1px no-repeat, + linear-gradient(var(--mark), var(--mark)) top left / 1px var(--l) no-repeat, + linear-gradient(var(--mark), var(--mark)) top right / var(--l) 1px no-repeat, + linear-gradient(var(--mark), var(--mark)) top right / 1px var(--l) no-repeat, + linear-gradient(var(--mark), var(--mark)) bottom left / var(--l) 1px no-repeat, + linear-gradient(var(--mark), var(--mark)) bottom left / 1px var(--l) no-repeat, + linear-gradient(var(--mark), var(--mark)) bottom right / var(--l) 1px no-repeat, + linear-gradient(var(--mark), var(--mark)) bottom right / 1px var(--l) no-repeat; + } + + /* Timeline ruler: minor ticks every 8px, a major tick every 64px. */ + .ruler { + height: 12px; + background: + linear-gradient(90deg, var(--mark) 1px, transparent 1px) bottom left / 64px 12px repeat-x, + linear-gradient(90deg, var(--border) 1px, transparent 1px) bottom left / 8px 5px repeat-x; } } -/* Film grain over the whole page — barely there, removes the flat-screen feel. */ -body::before { - content: ""; - position: fixed; - inset: 0; - z-index: 60; - pointer-events: none; - opacity: 0.025; - background-image: url("/grain.svg"); +/* Flare pulse on the brand spike (respects reduced motion). */ +@keyframes flare-pulse { + 0%, 100% { opacity: 1; } + 50% { opacity: 0.35; } } -.dark body::before { - opacity: 0.045; +.animate-flare { + animation: flare-pulse 2.4s ease-in-out infinite; } -@media print { - body::before { display: none; } +@media (prefers-reduced-motion: reduce) { + .animate-flare { animation: none; } } diff --git a/app/icon.svg b/app/icon.svg index 3343ddf..64d5486 100644 --- a/app/icon.svg +++ b/app/icon.svg @@ -1,22 +1,6 @@ - - - - - - - - - - - - - - - - - - - + + + diff --git a/app/manifest.ts b/app/manifest.ts index 33f1745..ebbdbeb 100644 --- a/app/manifest.ts +++ b/app/manifest.ts @@ -8,8 +8,8 @@ export default function manifest(): MetadataRoute.Manifest { description: siteConfig.description, start_url: "/", display: "standalone", - background_color: "#0a0b14", - theme_color: "#0a0b14", + background_color: "#0a0a0a", + theme_color: "#0a0a0a", icons: [ { src: "/icon.svg", sizes: "any", type: "image/svg+xml" }, { src: "/apple-icon", sizes: "180x180", type: "image/png" }, diff --git a/assets/fonts/IBMPlexMono-Regular.woff b/assets/fonts/IBMPlexMono-Regular.woff deleted file mode 100644 index 15d4c18..0000000 Binary files a/assets/fonts/IBMPlexMono-Regular.woff and /dev/null differ diff --git a/assets/fonts/IBMPlexMono-SemiBold.woff b/assets/fonts/IBMPlexMono-SemiBold.woff deleted file mode 100644 index 5975bea..0000000 Binary files a/assets/fonts/IBMPlexMono-SemiBold.woff and /dev/null differ diff --git a/assets/fonts/IBMPlexSans-Regular.woff b/assets/fonts/IBMPlexSans-Regular.woff deleted file mode 100644 index 93ea3b5..0000000 Binary files a/assets/fonts/IBMPlexSans-Regular.woff and /dev/null differ diff --git a/assets/fonts/IBMPlexSans-SemiBold.woff b/assets/fonts/IBMPlexSans-SemiBold.woff deleted file mode 100644 index 74eb84a..0000000 Binary files a/assets/fonts/IBMPlexSans-SemiBold.woff and /dev/null differ diff --git a/assets/fonts/IBMPlexSansCondensed-Bold.woff b/assets/fonts/IBMPlexSansCondensed-Bold.woff deleted file mode 100644 index dbf8825..0000000 Binary files a/assets/fonts/IBMPlexSansCondensed-Bold.woff and /dev/null differ diff --git a/assets/fonts/InstrumentSerif-Italic.woff b/assets/fonts/InstrumentSerif-Italic.woff new file mode 100644 index 0000000..a8b0c75 Binary files /dev/null and b/assets/fonts/InstrumentSerif-Italic.woff differ diff --git a/assets/fonts/Inter-Bold.woff b/assets/fonts/Inter-Bold.woff new file mode 100644 index 0000000..94f7344 Binary files /dev/null and b/assets/fonts/Inter-Bold.woff differ diff --git a/assets/fonts/Inter-Regular.woff b/assets/fonts/Inter-Regular.woff new file mode 100644 index 0000000..2468d6f Binary files /dev/null and b/assets/fonts/Inter-Regular.woff differ diff --git a/assets/fonts/Inter-SemiBold.woff b/assets/fonts/Inter-SemiBold.woff new file mode 100644 index 0000000..71a902b Binary files /dev/null and b/assets/fonts/Inter-SemiBold.woff differ diff --git a/assets/fonts/JetBrainsMono-Medium.woff b/assets/fonts/JetBrainsMono-Medium.woff new file mode 100644 index 0000000..ee49440 Binary files /dev/null and b/assets/fonts/JetBrainsMono-Medium.woff differ diff --git a/assets/fonts/JetBrainsMono-Regular.woff b/assets/fonts/JetBrainsMono-Regular.woff new file mode 100644 index 0000000..c56a9bf Binary files /dev/null and b/assets/fonts/JetBrainsMono-Regular.woff differ diff --git a/assets/fonts/OFL-IBM-Plex.txt b/assets/fonts/OFL-InstrumentSerif.txt old mode 100755 new mode 100644 similarity index 95% rename from assets/fonts/OFL-IBM-Plex.txt rename to assets/fonts/OFL-InstrumentSerif.txt index c35c4c6..669ce79 --- a/assets/fonts/OFL-IBM-Plex.txt +++ b/assets/fonts/OFL-InstrumentSerif.txt @@ -1,93 +1,93 @@ -Copyright © 2017 IBM Corp. with Reserved Font Name "Plex" - -This Font Software is licensed under the SIL Open Font License, Version 1.1. - -This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. +Copyright 2022 The Instrument Serif Project Authors (https://github.com/Instrument/instrument-serif) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-Inter.txt b/assets/fonts/OFL-Inter.txt new file mode 100644 index 0000000..9b2ca37 --- /dev/null +++ b/assets/fonts/OFL-Inter.txt @@ -0,0 +1,92 @@ +Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION AND CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-JetBrainsMono.txt b/assets/fonts/OFL-JetBrainsMono.txt new file mode 100644 index 0000000..5ceee00 --- /dev/null +++ b/assets/fonts/OFL-JetBrainsMono.txt @@ -0,0 +1,93 @@ +Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/components/CollectGuide.tsx b/components/CollectGuide.tsx index 6a45707..88d4509 100644 --- a/components/CollectGuide.tsx +++ b/components/CollectGuide.tsx @@ -73,8 +73,8 @@ function CommandBlock({ return (

{label}

-
-
+
+
{shell} @@ -85,7 +85,7 @@ function CommandBlock({ text={t.copy} />
-
+        
           {command}
         
@@ -263,7 +263,7 @@ export function CollectGuide({ {!compact && ( {t.allPaths} ↓ @@ -279,34 +279,37 @@ export function CollectGuide({ className={ compact ? "flex min-w-0 flex-col gap-4" - : "surface flex min-w-0 scroll-mt-24 flex-col gap-4 p-4 sm:p-6" + : "flex min-w-0 scroll-mt-28 flex-col gap-8 rounded-[1.75rem] border border-ink-200 p-5 sm:p-10 dark:border-white/[0.08]" } > {/* In the dialog the DialogTitle already names the guide. */} {!compact && ( -
-

- {t.heading} -

-

{t.intro}

+
+
+ wevtutil · KAPE · Velociraptor +

+ {t.heading} +

+
+

{t.intro}

)} {!compact && ( -
    +
      {t.steps.map((step, i) => (
    1. {step}
    2. @@ -318,7 +321,7 @@ export function CollectGuide({
      {TABS.map((id) => { const selected = active === id; @@ -336,10 +339,10 @@ export function CollectGuide({ tabIndex={selected ? 0 : -1} onClick={() => setActive(id)} onKeyDown={onTabKey} - className={`inline-flex shrink-0 items-center gap-1.5 rounded-md px-2.5 py-1.5 whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-uv-500 motion-reduce:transition-none ${ + className={`inline-flex shrink-0 items-center gap-1.5 rounded-full px-3.5 py-1.5 whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-uv-500 motion-reduce:transition-none ${ selected - ? "bg-ink-900 text-ink-50 dark:bg-ink-100 dark:text-ink-900" - : "text-ink-600 hover:bg-ink-100 dark:text-ink-300 dark:hover:bg-ink-900" + ? "bg-ink-950 text-white dark:bg-white dark:text-ink-950" + : "text-ink-600 hover:bg-ink-100 dark:text-ink-300 dark:hover:bg-white/[0.06]" }`} > {labels[id]} @@ -347,8 +350,8 @@ export function CollectGuide({ {t.recommended} diff --git a/components/EvtxLocations.tsx b/components/EvtxLocations.tsx index 9a4660f..e350cbf 100644 --- a/components/EvtxLocations.tsx +++ b/components/EvtxLocations.tsx @@ -84,70 +84,87 @@ export function EvtxLocations({ const t = dict.fileLocation; return ( -
      -
      -

      - {t.heading} -

      -

      {t.intro}

      +
      +
      +
      + {LOGS} +

      + {t.heading} +

      +
      +

      + {t.intro} +

      -
        - {PATHS.map((row) => { - const label = - typeof row.label === "string" ? row.label : t[row.label.key]; - const os = - row.os === "vistaPlus" - ? t.vistaPlus - : row.os === "xp" - ? "Windows XP / Server 2003" - : null; - return ( -
      • -
        - +
        +
        + Channel + Path + {t.copy} +
        +
          + {PATHS.map((row) => { + const label = + typeof row.label === "string" ? row.label : t[row.label.key]; + const os = + row.os === "vistaPlus" + ? t.vistaPlus + : row.os === "xp" + ? "Windows XP / Server 2003" + : null; + return ( +
        • + {label} {os && ( - + {os} )} - + {row.path} -
        - -
      • - ); - })} -
      + + + + + ); + })} + +
      -
      -

      +
      +

      {t.howToHeading}

      -
        +
          {t.howTo.map((item, i) => ( -
        1. {withCode(item)}
        2. +
        3. + + {String(i + 1).padStart(2, "0")} + + {withCode(item)} +
        4. ))} -
      +

    {t.readMore} → diff --git a/components/EvtxUploader.tsx b/components/EvtxUploader.tsx index ad9997f..d5e4bf3 100644 --- a/components/EvtxUploader.tsx +++ b/components/EvtxUploader.tsx @@ -21,6 +21,7 @@ import { eventName, summaryFieldsFor } from "@/lib/event-info"; import { runDetections, type Finding, type Severity } from "@/lib/detections"; import { Timeline } from "@/components/Timeline"; import { Logo } from "@/components/Logo"; +import { FileUp, Lock, Play } from "lucide-react"; import { FilterBuilder, type FilterFacets } from "@/components/FilterBuilder"; import { type Group, @@ -192,7 +193,7 @@ function levelClass(level: number | null): string { case 2: return "text-red-600 dark:text-red-300"; case 3: - return "text-orange-600 dark:text-orange-300"; + return "text-amber-600 dark:text-amber-300"; case 4: return "text-ink-700 dark:text-ink-300"; case 5: @@ -429,7 +430,7 @@ const CHIP_IDLE = // Severity dot colours for the triage Findings panel. const SEV_DOT: Record = { high: "bg-red-500", - medium: "bg-orange-500 dark:bg-orange-400", + medium: "bg-amber-500 dark:bg-amber-400", low: "bg-ink-400", }; @@ -2582,18 +2583,10 @@ export function EvtxUploader({ } > {windowDrag && ( -
    -
    -