- guests in the feed see a "New here?" tip with a waving hand: swipe up to dismiss on mobile (top), close button on desktop (bottom right); shown once, remembered in localStorage - GuideModal: six short steps (feed and map, map pins, posting, chat with photos/video, phone reveal, marking as returned) plus safety tips; guests get a sign-in button - "How it works" item in the mobile menu and the desktop sidebar - ru/en texts, tests, README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
84 lines
4.5 KiB
JavaScript
84 lines
4.5 KiB
JavaScript
export const NavIcons = {
|
|
grid: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round">
|
|
<rect x="3" y="3" width="7" height="7" rx="1" /><rect x="14" y="3" width="7" height="7" rx="1" />
|
|
<rect x="3" y="14" width="7" height="7" rx="1" /><rect x="14" y="14" width="7" height="7" rx="1" />
|
|
</svg>
|
|
),
|
|
box: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<path d="M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16" />
|
|
<rect width="20" height="14" x="2" y="6" rx="2" />
|
|
</svg>
|
|
),
|
|
paw: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<ellipse cx="6.2" cy="10" rx="2.4" ry="2.9" transform="rotate(-15 6.2 10)" />
|
|
<ellipse cx="17.8" cy="10" rx="2.4" ry="2.9" transform="rotate(15 17.8 10)" />
|
|
<ellipse cx="9.5" cy="6.6" rx="2.3" ry="2.6" transform="rotate(-6 9.5 6.6)" />
|
|
<ellipse cx="14.5" cy="6.6" rx="2.3" ry="2.6" transform="rotate(6 14.5 6.6)" />
|
|
<path d="M12 11.6c-3.6 0-6.4 2.5-6.4 5.2 0 1.8 1.4 3.2 3.4 3.2 1.1 0 2.1-.5 3-.5s1.9.5 3 .5c2 0 3.4-1.4 3.4-3.2 0-2.7-2.8-5.2-6.4-5.2z" />
|
|
</svg>
|
|
),
|
|
chat: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round">
|
|
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />
|
|
</svg>
|
|
),
|
|
file: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round">
|
|
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /><polyline points="14 2 14 8 20 8" />
|
|
</svg>
|
|
),
|
|
user: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round">
|
|
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" /><circle cx="12" cy="7" r="4" />
|
|
</svg>
|
|
),
|
|
star: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" />
|
|
</svg>
|
|
),
|
|
rules: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
|
|
<polyline points="14 2 14 8 20 8" />
|
|
<line x1="8" y1="13" x2="16" y2="13" />
|
|
<line x1="8" y1="17" x2="13" y2="17" />
|
|
<line x1="8" y1="9" x2="10" y2="9" />
|
|
</svg>
|
|
),
|
|
help: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<circle cx="12" cy="12" r="10" />
|
|
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
|
|
<line x1="12" y1="17" x2="12.01" y2="17" />
|
|
</svg>
|
|
),
|
|
// Открытая книга — «Инструкция»
|
|
book: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<path d="M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z" />
|
|
<path d="M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z" />
|
|
</svg>
|
|
),
|
|
megaphone: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<path d="m3 11 18-5v12L3 14v-3z" />
|
|
<path d="M11.6 16.8a3 3 0 1 1-5.8-1.6" />
|
|
</svg>
|
|
),
|
|
plus: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2.4} strokeLinecap="round" strokeLinejoin="round">
|
|
<rect x="3" y="3" width="18" height="18" rx="6" />
|
|
<line x1="12" y1="8" x2="12" y2="16" />
|
|
<line x1="8" y1="12" x2="16" y2="12" />
|
|
</svg>
|
|
),
|
|
heart: () => (
|
|
<svg width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round">
|
|
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" />
|
|
</svg>
|
|
),
|
|
}; |