- Unify API: lib/api.ts uses /api/v1, inbox uses /api/inbox (rewrites) - Remove localhost refs: openapi, inbox page - Add rewrites: /api/inbox|tmc -> inbox-server, /api/v1 -> FastAPI - Add stub routes: knowledge/insights, recommendations, search, log-error - Transfer from PAPA: prompts (inspection, tmc), scripts, supabase, data/tmc-requests - Fix inbox-server: ORDER BY created_at, package.json - Remove redundant app/api/inbox/files route (rewrites handle it) - knowledge/ in gitignore (large PDFs) Co-authored-by: Cursor <cursoragent@cursor.com>
47 lines
1004 B
TypeScript
47 lines
1004 B
TypeScript
/**
|
||
* Компонент логотипа REFLY
|
||
*/
|
||
'use client';
|
||
|
||
export default function Logo({ size = 'large' }: { size?: 'large' | 'small' }) {
|
||
const isLarge = size === 'large';
|
||
|
||
return (
|
||
<div
|
||
style={{
|
||
display: 'flex',
|
||
alignItems: 'center',
|
||
gap: '12px',
|
||
}}
|
||
>
|
||
{/* Иконка самолета */}
|
||
<div
|
||
style={{
|
||
width: isLarge ? '48px' : '32px',
|
||
height: isLarge ? '48px' : '32px',
|
||
backgroundColor: '#1e3a5f',
|
||
borderRadius: '8px',
|
||
display: 'flex',
|
||
alignItems: 'center',
|
||
justifyContent: 'center',
|
||
fontSize: isLarge ? '24px' : '18px',
|
||
}}
|
||
>
|
||
✈️
|
||
</div>
|
||
|
||
{/* Надпись REFLY */}
|
||
<div
|
||
style={{
|
||
fontSize: isLarge ? '32px' : '24px',
|
||
fontWeight: 'bold',
|
||
color: '#1e3a5f',
|
||
letterSpacing: '2px',
|
||
}}
|
||
>
|
||
REFLY
|
||
</div>
|
||
</div>
|
||
);
|
||
}
|