mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
Bulk rename across 989 files: - Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc. - Repository URLs: posthog/posthog-js → hanzoai/insights-js - Brand names: PostHog → Insights - File renames: 259 reference JSON files, source files, workflow files - Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { Link } from '@remix-run/react'
|
|
|
|
export function Header() {
|
|
return (
|
|
<div
|
|
style={{
|
|
position: 'sticky',
|
|
top: 0,
|
|
backgroundColor: 'white',
|
|
borderBottom: '1px solid #ccc',
|
|
marginBottom: '1rem',
|
|
zIndex: 10,
|
|
}}
|
|
>
|
|
<div style={{ display: 'flex', alignItems: 'center', gap: '1rem', padding: '0.5rem 1rem' }}>
|
|
<Link to="/" style={{ textDecoration: 'none' }}>
|
|
<h1 style={{ margin: 0, fontSize: '1.5rem' }}>
|
|
<b>Insights</b> remix playground
|
|
</h1>
|
|
</Link>
|
|
|
|
<div style={{ flex: 1 }} />
|
|
|
|
<nav style={{ display: 'flex', alignItems: 'center', gap: '1rem' }}>
|
|
<Link to="/" style={{ textDecoration: 'none', color: '#333' }}>
|
|
Home
|
|
</Link>
|
|
<Link to="/media" style={{ textDecoration: 'none', color: '#333' }}>
|
|
Media
|
|
</Link>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|