preview.html 2.0 KB

12345678910111213
  1. <!-- @dsCard group="Места" height=230 subtitle="Превью места поверх карты: для гостя и после входа" -->
  2. <div class="pp-root" style="padding:20px;min-height:100%">
  3. <article class="pp-sheet">
  4. <div class="pp-sheet__photo"><svg viewBox="0 0 90 120" preserveAspectRatio="xMidYMid slice" role="img" aria-label="Пример фото места"><defs><linearGradient id="sky" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#3B3F7A"/><stop offset=".55" stop-color="#E2836B"/><stop offset="1" stop-color="#F6C27A"/></linearGradient></defs><rect width="90" height="120" fill="url(#sky)"/><circle cx="66" cy="78" r="9" fill="#FFE2A8"/><path d="M30 120V62h4V44h3V30h2l1-10 1 10h2v14h3v18h4v58z" fill="#2A2238"/><path d="M0 120V92h12v-8h10v36zM60 120V96h14v-6h16v30z" fill="#3A2E44"/><rect y="108" width="90" height="12" fill="#2B3350" opacity=".85"/></svg></div>
  5. <div class="pp-sheet__body">
  6. <h3 class="pp-sheet__title">Набережная у Котельнической высотки</h3>
  7. <div class="pp-meta"><span><b>4,8</b> · 126 оценок</span><span>1,2 км</span><span>Бесплатно</span></div>
  8. <span class="pp-golden"><svg width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" aria-hidden="true"><path d="M2 8.5a4 4 0 0 1 8 0M1 8.5h10M6 1.5v1.5M2.5 3.5l1 1M9.5 3.5l-1 1"/></svg>золотой час 16:12–16:58</span>
  9. <div class="pp-lock"><svg width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="2" y="5.5" width="8" height="5.5" rx="1.2"/><path d="M4 5.5V4a2 2 0 0 1 4 0v1.5"/></svg><span>Точная точка и как добраться — после входа</span></div>
  10. <div class="pp-actions"><button class="pp-btn pp-btn--primary pp-btn--sm" type="button">Открыть</button><button class="pp-btn pp-btn--secondary pp-btn--sm" type="button">Маршрут</button></div>
  11. </div>
  12. </article>
  13. </div>