Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docker/web/frontend/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 5 additions & 20 deletions docker/web/frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
import { Aperture } from "lucide-react";
import { useTranslation } from "react-i18next";

import { LangToggle } from "./LangToggle";
import { ThemeToggle } from "./ThemeToggle";

export function Header() {
const { t } = useTranslation();
return (
<header className="sticky top-0 z-20 border-b bg-card/80 backdrop-blur supports-[backdrop-filter]:bg-card/60">
<div className="container flex h-16 items-center justify-between gap-4">
<div className="flex min-w-0 items-center gap-3">
<div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-md bg-primary text-primary-foreground shadow-sm">
<Aperture className="h-5 w-5" />
</div>
<div className="min-w-0">
<h1 className="flex items-center gap-2 truncate text-base font-semibold leading-tight">
{t("appTitle")}
<span className="shrink-0 rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-muted-foreground">
SBOM Generator
</span>
</h1>
<p className="truncate text-xs text-muted-foreground">
{t("subtitle")}
</p>
</div>
</div>
<img
src="/logo.svg"
alt="BomLens — an SBOM generator"
className="h-9 w-auto shrink-0"
/>
<div className="flex shrink-0 items-center gap-2">
<LangToggle />
<ThemeToggle />
Expand Down
3 changes: 2 additions & 1 deletion docs/index.en.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: BomLens
hide:
- toc
---

# BomLens
![BomLens — an SBOM generator](images/logo.svg){ width="300" }

A local-first SBOM generator and open-source risk assessor for a single project — no SaaS, no account. From source code, a container image, a binary, or an SBOM you received, it produces an SBOM (CycloneDX 1.6), an open-source notice, and a security risk report in one run.

Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: BomLens
hide:
- toc
---

# BomLens
![BomLens — an SBOM generator](images/logo.svg){ width="300" }

SaaS 없이 로컬에서 단일 프로젝트의 SBOM(CycloneDX 1.6)을 생성하고 오픈소스 리스크를 평가하는 도구입니다. 소스 코드나 컨테이너 이미지, 바이너리, 받은 SBOM에서 SBOM과 오픈소스 고지문, 보안 위험 보고서를 한 번에 만듭니다.

Expand Down
20 changes: 20 additions & 0 deletions electron/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions electron/assets/status.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>SBOM Generator</title>
<title>BomLens</title>
<style>
:root {
color-scheme: dark;
Expand Down Expand Up @@ -53,7 +53,7 @@
</head>
<body>
<header>
<h1>SBOM Generator</h1>
<img src="logo.svg" alt="BomLens — SBOM Generator" style="height: 40px; width: auto; display: block" />
<p id="subtitle"></p>
</header>
<div id="log" aria-live="polite"></div>
Expand Down
Loading