Add first-visit tip and how-to guide for guests

- 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>
This commit is contained in:
SlimusMinus
2026-10-29 22:25:15 +03:00
parent 025ba2d637
commit df91e7e129
12 changed files with 734 additions and 5 deletions

View File

@@ -56,6 +56,13 @@ export const NavIcons = {
<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" />