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..19a397b 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: "#08090b" }, ], 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 8b07d83..790cfa6 100644 --- a/app/[lang]/page.tsx +++ b/app/[lang]/page.tsx @@ -1,4 +1,5 @@ import Link from "next/link"; +import { Check, ChevronDown } from "lucide-react"; import type { Metadata } from "next"; import { notFound } from "next/navigation"; @@ -11,9 +12,12 @@ import { FeatureGrid, REPO_URL, SectionHeading, - StatsBand, - WorksWith, } from "@/components/home/HomeSections"; +import { + ChannelMarquee, + HowItWorks, + PrivacySection, +} from "@/components/home/HomeVisuals"; import { ProductPreview } from "@/components/ProductPreview"; import { HomeSeo } from "@/components/HomeSeo"; import { JsonLd } from "@/components/seo/json-ld"; @@ -96,7 +100,7 @@ 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 dash is set lighter. const [headlineBrand, headlineRest] = dict.home.headline.includes(" — ") ? dict.home.headline.split(" — ", 2) : [null, null]; @@ -106,48 +110,70 @@ export default async function Home({ params }: { params: Promise }) {
- {/* Hero — the case file under an ultraviolet lamp. */} -
+ {/* Hero — spotlight from the top, hairline grid, then the tool + itself framed as the product window. */} +
{/* The tool is the hero's centrepiece: the drop zone is the main @@ -155,25 +181,38 @@ export default async function Home({ params }: { params: Promise }) {
} + emptyStateAside={ +
+ + {dict.home.collectToggle} + +
+ +
+
+ } />
{/* Everything below the tool reads as an editorial column: narrower than the (wide) workspace so line lengths and cards stay calm. */}
- + {/* "evtx" is a mostly-informational query and this page is the one Google ranks for it, so answer "what is it" high on the page. */}

{dict.home.whatIsHeading} @@ -192,13 +231,15 @@ export default async function Home({ params }: { params: Promise }) { +
} /> - + + + diff --git a/app/apple-icon.tsx b/app/apple-icon.tsx index 7bc3518..33f5633 100644 --- a/app/apple-icon.tsx +++ b/app/apple-icon.tsx @@ -6,22 +6,21 @@ 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() { diff --git a/app/globals.css b/app/globals.css index 2be0564..04aabbc 100644 --- a/app/globals.css +++ b/app/globals.css @@ -5,55 +5,68 @@ @custom-variant dark (&:is(.dark *)); +/* One page width everywhere (header, footer, home and inner pages) so every + edge lines up: 72rem, widening to 1400px / 1600px on large screens. */ +@utility container { + max-width: 72rem; + @media (width >= 80rem) { + max-width: 1400px; + } + @media (width >= 96rem) { + max-width: 1600px; + } +} + @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-geist-sans); + --font-mono: var(--font-geist-mono); + --font-heading: var(--font-geist-sans); /* - * "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. + * "Luminol" palette. Investigators spray luminol and hidden traces glow + * blue; this tool does the same to event logs. + * ink — cool graphite neutrals + * uv — cobalt brand: interactive, selected, focus (name kept from v1) + * glow — luminol cyan: what gets revealed (search hits, matches) + * Warnings/errors keep Tailwind orange/red so severity never reads as brand. */ - --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: #f7f8fa; + --color-ink-100: #eff1f4; + --color-ink-200: #e3e6eb; + --color-ink-300: #c8cdd5; + --color-ink-400: #979eaa; + --color-ink-500: #6b727f; + --color-ink-600: #4e5562; + --color-ink-700: #373c46; + --color-ink-800: #24282f; + --color-ink-900: #16181d; + --color-ink-950: #0b0c0f; - --color-uv-50: #f3f0ff; - --color-uv-100: #e9e3ff; - --color-uv-200: #d4c9ff; - --color-uv-300: #b6a1ff; - --color-uv-400: #9772ff; - --color-uv-500: #7b4cff; - --color-uv-600: #6a33f5; - --color-uv-700: #5925d8; - --color-uv-800: #4a20b0; - --color-uv-900: #3d1d8c; - --color-uv-950: #231059; + --color-uv-50: #eef4ff; + --color-uv-100: #dae6ff; + --color-uv-200: #bdd3ff; + --color-uv-300: #90b6ff; + --color-uv-400: #5c8eff; + --color-uv-500: #3a6bff; + --color-uv-600: #2450f5; + --color-uv-700: #1c3ee0; + --color-uv-800: #1d34b5; + --color-uv-900: #1e318e; + --color-uv-950: #162056; - --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: #ecfeff; + --color-glow-100: #cdfbff; + --color-glow-200: #a2f5fd; + --color-glow-300: #63eafb; + --color-glow-400: #22d6f0; + --color-glow-500: #08b8d6; + --color-glow-600: #0a92b3; + --color-glow-700: #107491; + --color-glow-800: #165f76; + --color-glow-900: #174f64; + --color-glow-950: #093345; --color-brand: var(--brand); --color-brand-foreground: var(--brand-foreground); --color-sidebar-ring: var(--sidebar-ring); @@ -95,86 +108,83 @@ } /* - * "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. + * "Luminol" identity. Graphite neutrals, one cobalt accent (--brand / --ring) + * and luminol cyan reserved for what the search reveals. shadcn token names + * are kept so the primitives keep working; red stays strictly destructive. */ :root { - --background: #fcfcfe; - --foreground: #0b0c16; + --background: #ffffff; + --foreground: #0b0c0f; --card: #ffffff; - --card-foreground: #0b0c16; + --card-foreground: #0b0c0f; --popover: #ffffff; - --popover-foreground: #0b0c16; - --primary: #171a29; + --popover-foreground: #0b0c0f; + --primary: #0b0c0f; --primary-foreground: #ffffff; - --secondary: #f1f2f7; - --secondary-foreground: #0b0c16; - --muted: #f1f2f7; - --muted-foreground: #5a6079; - --accent: #efeaff; - --accent-foreground: #3d1d8c; + --secondary: #f3f4f6; + --secondary-foreground: #0b0c0f; + --muted: #f3f4f6; + --muted-foreground: #5d6471; + --accent: #eef4ff; + --accent-foreground: #1d34b5; --destructive: #dc2626; - --border: #e3e5ee; - --input: #dcdfea; - --ring: #7b4cff; - /* UV -600 keeps legible contrast on light surfaces. */ - --brand: #6a33f5; + --border: #e6e8ec; + --input: #dfe2e7; + --ring: #3a6bff; + /* Cobalt -600 keeps AA contrast on white. */ + --brand: #2450f5; --brand-foreground: #ffffff; - --chart-1: #7b4cff; - --chart-2: #a3d80c; - --chart-3: #666c88; - --chart-4: #b7bbcf; - --chart-5: #252a3d; + --chart-1: #3a6bff; + --chart-2: #08b8d6; + --chart-3: #6b727f; + --chart-4: #c8cdd5; + --chart-5: #24282f; --radius: 0.5rem; - --sidebar: #f8f8fc; - --sidebar-foreground: #0b0c16; - --sidebar-primary: #6a33f5; + --sidebar: #fafafb; + --sidebar-foreground: #0b0c0f; + --sidebar-primary: #2450f5; --sidebar-primary-foreground: #ffffff; - --sidebar-accent: #efeaff; - --sidebar-accent-foreground: #3d1d8c; - --sidebar-border: #e3e5ee; - --sidebar-ring: #7b4cff; + --sidebar-accent: #eef4ff; + --sidebar-accent-foreground: #1d34b5; + --sidebar-border: #e6e8ec; + --sidebar-ring: #3a6bff; } .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; - --accent-foreground: #d4c9ff; + --background: #08090b; + --foreground: #ededf0; + --card: #0f1013; + --card-foreground: #ededf0; + --popover: #121317; + --popover-foreground: #ededf0; + --primary: #ededf0; + --primary-foreground: #0f1013; + --secondary: #17191d; + --secondary-foreground: #ededf0; + --muted: #17191d; + --muted-foreground: #9198a4; + --accent: #141c33; + --accent-foreground: #bdd3ff; --destructive: #f05252; - --border: rgb(214 208 255 / 9%); - --input: rgb(214 208 255 / 13%); - --ring: #9772ff; - /* Under the lamp the violet glows brighter (-400). */ - --brand: #9772ff; - --brand-foreground: #0a0b14; - --chart-1: #9772ff; - --chart-2: #bdf01e; - --chart-3: #8b90aa; - --chart-4: #4c526c; - --chart-5: #d8dbe7; - --sidebar: #111322; - --sidebar-foreground: #e8e9f2; - --sidebar-primary: #9772ff; - --sidebar-primary-foreground: #0a0b14; - --sidebar-accent: #231b45; - --sidebar-accent-foreground: #d4c9ff; - --sidebar-border: rgb(214 208 255 / 9%); - --sidebar-ring: #9772ff; + --border: rgb(255 255 255 / 8%); + --input: rgb(255 255 255 / 12%); + --ring: #5c8eff; + /* In the dark the cobalt lifts a step (-400) to stay luminous. */ + --brand: #5c8eff; + --brand-foreground: #08090b; + --chart-1: #5c8eff; + --chart-2: #22d6f0; + --chart-3: #979eaa; + --chart-4: #4e5562; + --chart-5: #e3e6eb; + --sidebar: #0f1013; + --sidebar-foreground: #ededf0; + --sidebar-primary: #5c8eff; + --sidebar-primary-foreground: #08090b; + --sidebar-accent: #141c33; + --sidebar-accent-foreground: #bdd3ff; + --sidebar-border: rgb(255 255 255 / 8%); + --sidebar-ring: #5c8eff; } @layer base { @@ -183,27 +193,25 @@ } body { @apply bg-background text-foreground; - font-family: var(--font-plex-sans), ui-sans-serif, system-ui, sans-serif; + font-family: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif; + text-rendering: optimizeLegibility; /* 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(58 107 255 / 0.22); } html { @apply font-sans; /* Stable scrollbar gutter to avoid CLS when content overflows */ 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: Geist set tight, the way product sites set headlines. */ h1, h2, h3, h4, .font-heading { - font-family: var(--font-plex-condensed), var(--font-plex-sans), sans-serif; + font-family: var(--font-geist-sans), ui-sans-serif, sans-serif; font-weight: 600; - letter-spacing: -0.01em; + letter-spacing: -0.025em; } } @@ -249,7 +257,7 @@ } /* - * "Scanning" loading affordance for the parser. An indeterminate ultraviolet + * "Scanning" loading affordance for the parser. An indeterminate cobalt * segment sweeps the track while a file is read/parsed, and the brand bars * pulse — so a large Security.evtx never reads as a frozen UI. */ @@ -272,10 +280,32 @@ .animate-scanline, .animate-scanbar { animation: none; } } +/* Home: channel marquee (list is rendered twice, so -50% loops seamlessly) + and the blinking caret in the query illustration. */ +@keyframes evtx-marquee { + to { transform: translateX(-50%); } +} +.animate-marquee { + animation: evtx-marquee 45s linear infinite; +} +.animate-marquee:hover { + animation-play-state: paused; +} +@keyframes evtx-caret { + 0%, 49% { opacity: 1; } + 50%, 100% { opacity: 0; } +} +.animate-caret { + animation: evtx-caret 1.1s steps(1) infinite; +} +@media (prefers-reduced-motion: reduce) { + .animate-marquee, .animate-caret { animation: none; } +} + /* * 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. + * cobalt accent only appears on interaction and on the luminous edge. */ @layer components { .surface { @@ -284,11 +314,11 @@ 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); + 0 1px 2px rgb(11 12 15 / 0.04), + 0 12px 32px -18px rgb(11 12 15 / 0.18); } .dark .surface { - background-color: rgb(17 19 34 / 0.72); + background-color: rgb(15 16 19 / 0.8); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 1px 2px rgb(0 0 0 / 0.4), @@ -302,77 +332,61 @@ } .surface-interactive:hover { transform: translateY(-2px); - border-color: rgb(123 76 255 / 0.35); + border-color: rgb(58 107 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); + 0 18px 40px -18px rgb(58 107 255 / 0.35); } .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); + 0 22px 48px -20px rgb(58 107 255 / 0.45); } - /* 1px luminous gradient edge: ultraviolet → transparent → fluorescent. */ + /* 1px luminous gradient edge: cobalt → transparent → luminol cyan. */ .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; + linear-gradient(135deg, rgb(58 107 255 / 0.65), rgb(58 107 255 / 0.08) 40%, rgb(34 214 240 / 0.45)) border-box; } .dark .edge-glow { 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(#0f1013, #0f1013) padding-box, + linear-gradient(135deg, rgb(92 142 255 / 0.8), rgb(92 142 255 / 0.1) 40%, rgb(34 214 240 / 0.5)) border-box; } /* Headline ink: a quiet vertical gradient reads richer than flat black. */ .text-gradient { - background: linear-gradient(180deg, #0b0c16 30%, #4c526c); + background: linear-gradient(180deg, #0b0c0f 35%, #4e5562); -webkit-background-clip: text; background-clip: text; color: transparent; } .dark .text-gradient { - background: linear-gradient(180deg, #ffffff 30%, #9ca1ba); + background: linear-gradient(180deg, #ffffff 35%, #8a919d); -webkit-background-clip: text; background-clip: text; } .text-gradient-uv { - background: linear-gradient(100deg, #6a33f5, #9772ff 60%, #7b4cff); + background: linear-gradient(100deg, #1c3ee0, #3a6bff 55%, #08b8d6); -webkit-background-clip: text; background-clip: text; color: transparent; } .dark .text-gradient-uv { - background: linear-gradient(100deg, #b6a1ff, #9772ff 55%, #d4c9ff); + background: linear-gradient(100deg, #90b6ff, #5c8eff 50%, #63eafb); -webkit-background-clip: text; background-clip: text; } /* Small uppercase section label. */ .eyebrow { - font-family: var(--font-plex-mono), ui-monospace, monospace; - font-size: 0.6875rem; - letter-spacing: 0.14em; + font-family: var(--font-geist-mono), ui-monospace, monospace; + font-size: 0.75rem; + font-weight: 500; + letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); } } - -/* 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"); -} -.dark body::before { - opacity: 0.045; -} -@media print { - body::before { display: none; } -} diff --git a/app/icon.svg b/app/icon.svg index 3343ddf..69554f5 100644 --- a/app/icon.svg +++ b/app/icon.svg @@ -1,22 +1,21 @@ - - - + + + + + + + - - - - - - - - - - - - - + + + + + + + + diff --git a/app/manifest.ts b/app/manifest.ts index 33f1745..f02bce4 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: "#08090b", + theme_color: "#08090b", icons: [ { src: "/icon.svg", sizes: "any", type: "image/svg+xml" }, { src: "/apple-icon", sizes: "180x180", type: "image/png" }, diff --git a/assets/fonts/Geist-Regular.ttf b/assets/fonts/Geist-Regular.ttf new file mode 100644 index 0000000..07f9e4f Binary files /dev/null and b/assets/fonts/Geist-Regular.ttf differ diff --git a/assets/fonts/Geist-SemiBold.ttf b/assets/fonts/Geist-SemiBold.ttf new file mode 100644 index 0000000..c72c4b5 Binary files /dev/null and b/assets/fonts/Geist-SemiBold.ttf differ diff --git a/assets/fonts/GeistMono-Medium.ttf b/assets/fonts/GeistMono-Medium.ttf new file mode 100644 index 0000000..e35a96e Binary files /dev/null and b/assets/fonts/GeistMono-Medium.ttf differ diff --git a/assets/fonts/GeistMono-Regular.ttf b/assets/fonts/GeistMono-Regular.ttf new file mode 100644 index 0000000..18f4acb Binary files /dev/null and b/assets/fonts/GeistMono-Regular.ttf differ 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/OFL-IBM-Plex.txt b/assets/fonts/OFL-Geist.txt old mode 100755 new mode 100644 similarity index 95% rename from assets/fonts/OFL-IBM-Plex.txt rename to assets/fonts/OFL-Geist.txt index c35c4c6..8d003fe --- a/assets/fonts/OFL-IBM-Plex.txt +++ b/assets/fonts/OFL-Geist.txt @@ -1,93 +1,92 @@ -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 (c) 2023 Vercel, in collaboration with basement.studio + +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/components/EvtxLocations.tsx b/components/EvtxLocations.tsx index 9a4660f..fbc5b21 100644 --- a/components/EvtxLocations.tsx +++ b/components/EvtxLocations.tsx @@ -1,5 +1,6 @@ import Link from "next/link"; import type { ReactNode } from "react"; +import { FileText, FolderOpen } from "lucide-react"; import { CopyPathButton } from "@/components/CopyPathButton"; import type { Dict } from "@/src/dict/types"; @@ -86,71 +87,92 @@ export function EvtxLocations({ return (
-
+
+ C:\Windows\…\Logs

{t.heading}

-

{t.intro}

+

{t.intro}

+
+

+ {t.howToHeading} +

+
    + {t.howTo.map((item, i) => ( +
  • +
  • + ))} +
+ + {t.readMore} → + +
-
    - {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) => ( -
  • {withCode(item)}
  • - ))} + {/* File-explorer panel */} +
    +
    +
    +
      + {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 ( +
    • +
    • + ); + })}
    - - {t.readMore} → -
); diff --git a/components/EvtxUploader.tsx b/components/EvtxUploader.tsx index 4cb1cef..6f0a4fe 100644 --- a/components/EvtxUploader.tsx +++ b/components/EvtxUploader.tsx @@ -10,7 +10,7 @@ import { useSyncExternalStore, type ReactNode, } from "react"; -import { Play } from "lucide-react"; +import { FileUp, Lock, Play } from "lucide-react"; import { track } from "@vercel/analytics"; import { @@ -21,7 +21,6 @@ import { 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 { FilterBuilder, type FilterFacets } from "@/components/FilterBuilder"; import { type Group, @@ -2608,53 +2607,94 @@ export function EvtxUploader({ // Clicking anywhere on the zone opens the picker (mouse convenience); // keyboard and screen-reader users get the two real buttons inside, // so there is no nested-interactive role="button" wrapper. -
{ - if (!(e.target as Element).closest("button")) openFilePicker(); - }} - className="edge-glow group relative flex scroll-mt-24 cursor-pointer flex-col items-center justify-center gap-3 overflow-hidden rounded-3xl px-4 py-12 text-center text-sm shadow-[0_40px_100px_-40px_rgb(123_76_255/0.6)] transition-[box-shadow,transform] hover:-translate-y-0.5 hover:shadow-[0_48px_120px_-40px_rgb(123_76_255/0.75)] sm:px-6 sm:py-14" - > - + +

)} {!ready && ( diff --git a/components/HomeSeo.tsx b/components/HomeSeo.tsx index 9045b92..1468e20 100644 --- a/components/HomeSeo.tsx +++ b/components/HomeSeo.tsx @@ -33,7 +33,7 @@ export function HomeSeo({ locale }: { locale: Locale }) {
  • {l.label} diff --git a/components/Logo.tsx b/components/Logo.tsx index a48fa4f..0fc1db3 100644 --- a/components/Logo.tsx +++ b/components/Logo.tsx @@ -1,7 +1,10 @@ -// Inline brand mark — an event histogram seen through an investigator's lens. -// The lens is ultraviolet (--brand), the peak bar glows fluorescent lime: the -// trace the light reveals. Bars and wordmark use currentColor so the mark is -// theme-aware. The canonical externally-served mark is app/icon.svg. +import { useId } from "react"; + +// Brand mark: a tile of log lines where one line lights up (cobalt → luminol +// cyan), the event you were looking for. The tile takes currentColor and the +// lines take the page background, so the mark inverts with the theme: black +// tile on light pages, white tile on dark ones. The canonical +// externally-served mark is app/icon.svg (always the dark tile). export function Logo({ className = "h-6 w-auto", @@ -10,49 +13,41 @@ export function Logo({ className?: string; withWordmark?: boolean; }) { + const id = useId(); + const lit = `${id}-lit`; return ( - - - + + + + - {/* bars inside the lens */} - - - - - + + + + + - {/* lens + handle */} - - + {withWordmark && ( evtx - - parser + + {" "}parser )} diff --git a/components/PageHero.tsx b/components/PageHero.tsx index a9b5d2b..1451969 100644 --- a/components/PageHero.tsx +++ b/components/PageHero.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from "react"; // Shared page header for every inner page — the same "under the lamp" look as -// the home hero: ultraviolet haze, faint grid, eyebrow label, gradient title. +// the home hero: cobalt haze, faint grid, eyebrow label, gradient title. // Breadcrumbs (if any) go in `top`, CTAs / meta in `children`. export function PageHero({ @@ -30,11 +30,11 @@ export function PageHero({ >