Conversation
| - **Carousel**: a swipeable container that shows one slide at a time | ||
| - **Bottom Sheet**: a panel that slides up from the bottom of the screen and renders on top of the underlying content | ||
| - **Footer**: a panel pinned to the bottom of the screen, outside the scroll area | ||
| - **Cover**: an image or video pinned to the top of the screen, behind the scrolling content |
There was a problem hiding this comment.
не совсем — это может быть и цвет/градиент. Лучше назвать тоже типа panel
|
|
||
| {/* screenshot */} | ||
|
|
||
| A **Cover** is an image or video that occupies the top part of a screen. It reaches into the device's top safe area, behind the status bar and the notch, even if the **Ignore Safe Area** option is off. As the user scrolls, the screen content slides over the cover, which stays in place. |
There was a problem hiding this comment.
A Cover is an image or video that occupies the top part of a screen
то же самое
|
|
||
| Only one cover is allowed per screen. You cannot duplicate an existing cover, or add a new one. | ||
|
|
||
| A cover is a container, so it can store a logo, a badge, or a heading. |
There was a problem hiding this comment.
это не контейнер
и лучше использовать только hero image как юз кейс — всем понятно будет
|
|
||
| Only one cover is allowed per screen. You cannot duplicate an existing cover, or add a new one. | ||
|
|
||
| A cover is a container, so it can store a logo, a badge, or a heading. |
There was a problem hiding this comment.
скриншоты уже можно делать, кстати
| - The **Image** fill takes a `.JPG`, `.PNG`, or `.WEBP` file up to 20 MB. Animated GIFs and WEBPs aren't supported — use the **Video** fill for motion. | ||
| - The **Video** fill takes an `.MP4` or `.WEBM` file up to 50 MB. A video cover replays continuously — turn **Loop** off to play it once. |
There was a problem hiding this comment.
Давай формат не дублировать тут. Сошлись сразу на статью про медиа — там же всё то же самое
There was a problem hiding this comment.
мб, вообще секция нам эта не нужна. всё уже было ведь в других статьях, нет ничего нового. а длинных статей мы стараемся избегать
|
|
||
| {/* screenshot */} | ||
|
|
||
| To place your media, set **Fill** to **Image** or **Video**: |
|
|
||
| To make the cover taller or shorter, set its **Height**. | ||
|
|
||
| ### Cover vs. background vs. image or video |
There was a problem hiding this comment.
странная секция, мне кажется
довольно очевидные вещи, и можно просто в интро сказать, что основной юз кейс — hero image/video, которое остаётся на месте
а саму секцию я б убрала
| - **Dividers (horizontal and vertical)**: lines that visually separate content sections | ||
| - **Carousel**: a swipeable container | ||
| - **Footer**: a panel pinned to the screen bottom, outside the scroll area | ||
| - **Cover**: an image or video pinned to the screen top, behind the scrolling content |
| Fixed positioning uses the same controls as Absolute (offsets, anchor grid, Z-index). All offsets are relative to the screen's safe area instead of the parent. For example, an offset of 0 from the bottom keeps the element above the home indicator. To measure offsets from the physical screen edges instead, enable [Ignore safe area](#ignore-safe-area). | ||
|
|
||
| Use fixed positioning for elements that should float over scrolling content rather than reserve space — floating close or restore buttons, persistent top banners, scroll-to-top controls, and navigation bars. For a dedicated bottom action area, use a [Footer](builder-containers#footer) instead. | ||
| Use fixed positioning for elements that should float over scrolling content rather than reserve space — floating close or restore buttons, persistent top banners, scroll-to-top controls, and navigation bars. For a dedicated bottom action area, use a [Footer](builder-containers#footer) instead. For an image that fills the top of the screen and stays in place while content scrolls over it, use a [Cover](builder-containers#cover). |
There was a problem hiding this comment.
суховато, можно про hero image сказать
|
|
||
| Set a background on any screen with the **Fill** panel under [**Screen settings**](paywall-layout-and-products#screen-settings). Pick from four background types — solid color, gradient, image, or video. | ||
|
|
||
| A background fills the whole viewport. For an image that fills only the top of the screen and stays in place while content scrolls, use a [Cover](builder-containers#cover). |
There was a problem hiding this comment.
и тут тоже
просто для того, чтобы было понятнее, о чём мы говорим
No description provided.