File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11import { useFadeIn } from '../hooks/useFadeIn'
2+ import architectureSvg from '../assets/architecture.svg'
23
34export default function Architecture ( ) {
45 const ref = useFadeIn ( )
@@ -19,7 +20,7 @@ export default function Architecture() {
1920 { /* Architecture diagram */ }
2021 < div className = "rounded-xl border border-navy-700/50 overflow-hidden bg-navy-900/50" >
2122 < img
22- src = "/architecture.svg"
23+ src = { architectureSvg }
2324 alt = "AgentAnycast sidecar architecture showing App → SDK → gRPC → Go daemon → libp2p → Remote Peer"
2425 className = "w-full"
2526 />
Original file line number Diff line number Diff line change 1+ import logoDark from '../assets/logo-dark.png'
2+
13export default function Logo ( { size = 32 } : { size ?: number } ) {
24 return (
35 < img
4- src = "/logo-dark.png"
6+ src = { logoDark }
57 alt = "AgentAnycast"
68 width = { size }
79 height = { size }
Original file line number Diff line number Diff line change 1+ /// <reference types="vite/client" />
2+
3+ declare module '*.png' {
4+ const src : string
5+ export default src
6+ }
7+
8+ declare module '*.svg' {
9+ const src : string
10+ export default src
11+ }
You can’t perform that action at this time.
0 commit comments