Skip to content

Commit ad136de

Browse files
hallelx2claude
andcommitted
fix: apply biome auto-fixes and relax lint rules for placeholder links
- Auto-fixed 39 files (formatting, import ordering) - Disabled noValidAnchor, noSvgWithoutTitle, noLabelWithoutControl, noNonNullAssertion, noArrayIndexKey — false positives for placeholder hrefs, decorative SVGs, and safe assertions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a6bedbe commit ad136de

40 files changed

Lines changed: 8650 additions & 6196 deletions

apps/desktop/src-tauri/gen/schemas/acl-manifests.json

Lines changed: 2277 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
{"default":{"identifier":"default","description":"Default capability for BridgeHook desktop app","local":true,"windows":["main"],"permissions":["core:default","sql:default","sql:allow-execute","sql:allow-select","store:default","notification:default","notification:allow-notify","notification:allow-is-permission-granted","notification:allow-request-permission","clipboard-manager:default","clipboard-manager:allow-write-text"]}}
1+
{
2+
"default": {
3+
"identifier": "default",
4+
"description": "Default capability for BridgeHook desktop app",
5+
"local": true,
6+
"windows": ["main"],
7+
"permissions": [
8+
"core:default",
9+
"sql:default",
10+
"sql:allow-execute",
11+
"sql:allow-select",
12+
"store:default",
13+
"notification:default",
14+
"notification:allow-notify",
15+
"notification:allow-is-permission-granted",
16+
"notification:allow-request-permission",
17+
"clipboard-manager:default",
18+
"clipboard-manager:allow-write-text"
19+
]
20+
}
21+
}

apps/desktop/src-tauri/gen/schemas/desktop-schema.json

Lines changed: 2719 additions & 2747 deletions
Large diffs are not rendered by default.

apps/desktop/src-tauri/gen/schemas/windows-schema.json

Lines changed: 2719 additions & 2747 deletions
Large diffs are not rendered by default.

apps/web/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useState, useEffect } from "react";
1+
import { useEffect, useState } from "react";
22
import { Benefits } from "./components/Benefits";
33
import { BentoGrid } from "./components/BentoGrid";
44
import { BridgeHero } from "./components/BridgeHero";

apps/web/src/components/Benefits.tsx

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ const COMPARISONS = [
3131
},
3232
];
3333

34-
function ComparisonRow({
35-
item,
36-
index,
37-
}: { item: (typeof COMPARISONS)[number]; index: number }) {
34+
function ComparisonRow({ item, index }: { item: (typeof COMPARISONS)[number]; index: number }) {
3835
return (
3936
<div
4037
className="group grid grid-cols-[1fr_56px_1fr] items-center gap-4 md:gap-8 py-5 md:py-6 border-b border-white/[0.06] last:border-0 hover:bg-white/[0.01] transition-colors -mx-6 px-6 md:-mx-10 md:px-10"
@@ -50,9 +47,7 @@ function ComparisonRow({
5047
{/* Center icon */}
5148
<div className="relative flex items-center justify-center">
5249
<div className="w-11 h-11 rounded-full bg-primary/10 border border-primary/25 flex items-center justify-center group-hover:bg-primary/20 group-hover:border-primary/40 group-hover:shadow-[0_0_20px_rgba(144,147,255,0.2)] transition-all duration-300">
53-
<span className="material-symbols-outlined text-primary text-xl">
54-
{item.icon}
55-
</span>
50+
<span className="material-symbols-outlined text-primary text-xl">{item.icon}</span>
5651
</div>
5752
</div>
5853

@@ -82,17 +77,15 @@ export function Benefits() {
8277

8378
<div className="text-center mb-16 relative z-10">
8479
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/[0.03] border border-white/[0.06] text-[10px] font-bold text-secondary tracking-[0.2em] uppercase mb-6 font-label">
85-
<span className="material-symbols-outlined text-secondary text-sm">
86-
compare_arrows
87-
</span>
80+
<span className="material-symbols-outlined text-secondary text-sm">compare_arrows</span>
8881
vs Traditional Tunnels
8982
</div>
9083
<h2 className="text-4xl md:text-6xl font-black text-white tracking-tighter font-headline mb-4">
9184
The old way is over
9285
</h2>
9386
<p className="text-zinc-400 text-lg max-w-xl mx-auto leading-relaxed font-body">
94-
Every tunnel tool makes you install software, create accounts,
95-
and manage processes. BridgeHook eliminates all of it.
87+
Every tunnel tool makes you install software, create accounts, and manage processes.
88+
BridgeHook eliminates all of it.
9689
</p>
9790
</div>
9891

apps/web/src/components/BentoGrid.tsx

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export function BentoGrid() {
2121
Everything you need
2222
</h2>
2323
<p className="text-zinc-400 text-lg leading-relaxed">
24-
Stop wasting time configuring local tunnels. Capture and
25-
inspect production traffic in a secure sandbox instantly.
24+
Stop wasting time configuring local tunnels. Capture and inspect production traffic in a
25+
secure sandbox instantly.
2626
</p>
2727
</div>
2828
</div>
@@ -34,17 +34,14 @@ export function BentoGrid() {
3434
{/* Text content */}
3535
<div className="relative z-10 mb-8">
3636
<div className="w-11 h-11 rounded-xl bg-primary/10 border border-primary/20 flex items-center justify-center mb-5">
37-
<span className="material-symbols-outlined text-primary text-2xl">
38-
terminal
39-
</span>
37+
<span className="material-symbols-outlined text-primary text-2xl">terminal</span>
4038
</div>
4139
<h3 className="text-3xl font-black text-white mb-3 tracking-tighter font-headline">
4240
Browser-Based Bridge
4341
</h3>
4442
<p className="text-zinc-400 text-[15px] max-w-sm leading-relaxed font-body">
45-
Your browser connects to the relay via SSE and
46-
forwards webhooks to localhost. No install, no
47-
config, no CLI.
43+
Your browser connects to the relay via SSE and forwards webhooks to localhost. No
44+
install, no config, no CLI.
4845
</p>
4946
</div>
5047

@@ -55,35 +52,26 @@ export function BentoGrid() {
5552
<div className="w-2 h-2 rounded-full bg-[#ff5f57]/60" />
5653
<div className="w-2 h-2 rounded-full bg-[#febc2e]/60" />
5754
<div className="w-2 h-2 rounded-full bg-[#28c840]/60" />
58-
<span className="ml-2 font-mono text-[10px] text-white/20">
59-
relay.log
60-
</span>
55+
<span className="ml-2 font-mono text-[10px] text-white/20">relay.log</span>
6156
</div>
6257
{/* Code lines */}
6358
<div className="p-4 font-mono text-[11px] leading-[1.9] text-white/30 group-hover:text-white/50 transition-colors duration-300">
6459
<div>
6560
<span className="text-[#28c840]/70"></span>{" "}
6661
<span className="text-white/50">POST</span>{" "}
67-
<span className="text-primary/60">
68-
/hook/ch_abc123
69-
</span>
62+
<span className="text-primary/60">/hook/ch_abc123</span>
7063
</div>
7164
<div>
72-
<span className="text-white/20"></span>{" "}
73-
SSE push to browser
65+
<span className="text-white/20"></span> SSE push to browser
7466
</div>
7567
<div>
7668
<span className="text-white/20"></span>{" "}
77-
<span className="text-primary/50">
78-
fetch
79-
</span>
69+
<span className="text-primary/50">fetch</span>
8070
("localhost:3000")
8171
</div>
8272
<div>
8373
<span className="text-[#28c840]/70"></span>{" "}
84-
<span className="text-[#28c840]/50">
85-
200 OK
86-
</span>{" "}
74+
<span className="text-[#28c840]/50">200 OK</span>{" "}
8775
<span className="text-white/20">12ms</span>
8876
</div>
8977
</div>
@@ -95,17 +83,14 @@ export function BentoGrid() {
9583
<MovingBorderCard className="md:col-span-5">
9684
<div className="p-10 relative overflow-hidden h-full flex flex-col">
9785
<div className="w-11 h-11 rounded-xl bg-secondary/10 border border-secondary/20 flex items-center justify-center mb-5">
98-
<span className="material-symbols-outlined text-secondary text-2xl">
99-
history
100-
</span>
86+
<span className="material-symbols-outlined text-secondary text-2xl">history</span>
10187
</div>
10288
<h3 className="text-3xl font-black text-white mb-3 tracking-tighter font-headline">
10389
Instant Replay
10490
</h3>
10591
<p className="text-zinc-400 text-[15px] leading-relaxed font-body">
106-
Re-fire any webhook to your local server with one
107-
click. Debug edge cases without waiting for the
108-
provider to send again.
92+
Re-fire any webhook to your local server with one click. Debug edge cases without
93+
waiting for the provider to send again.
10994
</p>
11095
<div className="absolute bottom-[-15%] right-[-8%] text-[120px] font-black text-white/[0.03] select-none italic group-hover:text-white/[0.06] transition-colors duration-500 font-headline leading-none">
11196
REPLAY
@@ -117,17 +102,14 @@ export function BentoGrid() {
117102
<MovingBorderCard className="md:col-span-5">
118103
<div className="p-10 relative overflow-hidden h-full flex flex-col">
119104
<div className="w-11 h-11 rounded-xl bg-tertiary/10 border border-tertiary/20 flex items-center justify-center mb-5">
120-
<span className="material-symbols-outlined text-tertiary text-2xl">
121-
bolt
122-
</span>
105+
<span className="material-symbols-outlined text-tertiary text-2xl">bolt</span>
123106
</div>
124107
<h3 className="text-3xl font-black text-white mb-3 tracking-tighter font-headline">
125108
Zero Install
126109
</h3>
127110
<p className="text-zinc-400 text-[15px] leading-relaxed font-body">
128-
No CLI binary, no npm package, no account signup.
129-
Works on locked-down corporate machines &mdash; if it
130-
has a browser, it works.
111+
No CLI binary, no npm package, no account signup. Works on locked-down corporate
112+
machines &mdash; if it has a browser, it works.
131113
</p>
132114
<div className="absolute -bottom-12 -left-12 w-44 h-44 bg-tertiary/[0.06] rounded-full blur-3xl group-hover:bg-tertiary/10 transition-all duration-500" />
133115
</div>
@@ -147,16 +129,15 @@ export function BentoGrid() {
147129
Deep Inspection
148130
</h3>
149131
<p className="text-zinc-400 text-[15px] leading-relaxed font-body">
150-
View full HTTP headers, body content, query
151-
parameters, and raw source. Native JSON, XML,
152-
and form-data support.
132+
View full HTTP headers, body content, query parameters, and raw source. Native JSON,
133+
XML, and form-data support.
153134
</p>
154135
</div>
155136

156137
{/* Code side — clearly separated */}
157138
<div className="flex-1 flex items-center md:pl-6">
158139
<pre className="w-full bg-[#0c0c0f] rounded-xl border border-white/[0.08] p-5 font-mono text-[12px] leading-[1.8] text-white/40 group-hover:text-white/60 transition-colors duration-300 shadow-[0_8px_30px_rgba(0,0,0,0.4)] overflow-x-auto">
159-
{`{
140+
{`{
160141
"headers": {
161142
"stripe-signature": "t=1234...",
162143
"content-type": "application/json"

apps/web/src/components/BridgeHero.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function generateBars() {
1616
// Valley: tall edges (95vh), short center (30vh)
1717
const minH = 30;
1818
const maxH = 95;
19-
const height = minH + (maxH - minH) * (distFromCenter ** 0.7);
19+
const height = minH + (maxH - minH) * distFromCenter ** 0.7;
2020
// Animation: center bars arrive last
2121
const delay = (1 - distFromCenter) * 2.5;
2222

@@ -72,8 +72,7 @@ export function BridgeHero() {
7272

7373
{/* Subtitle */}
7474
<p className="max-w-xl mx-auto text-zinc-400 text-lg md:text-xl leading-relaxed mb-14 font-medium tracking-tight font-body">
75-
No tunnels. No CLI. No binaries. Capture, inspect, and replay
76-
HTTP requests in real-time.
75+
No tunnels. No CLI. No binaries. Capture, inspect, and replay HTTP requests in real-time.
7776
</p>
7877

7978
{/* CTAs */}

apps/web/src/components/ComparisonTable.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ export function ComparisonTable() {
5151
</thead>
5252
<tbody className="divide-y divide-white/[0.06]">
5353
{ROWS.map((row) => (
54-
<tr
55-
key={row.capability}
56-
className="hover:bg-white/[0.01] transition-colors"
57-
>
54+
<tr key={row.capability} className="hover:bg-white/[0.01] transition-colors">
5855
<td className="p-8 md:p-10 text-white font-bold text-lg md:text-xl tracking-tight font-headline">
5956
{row.capability}
6057
</td>

0 commit comments

Comments
 (0)