Skip to contents

A comb of package stickers, plus exactly one empty slot: a dashed hex linking to GitHub, saying the next package goes here.

Usage

mui_hex_grid(items, config = mui_config(), label = "Projects")

Arguments

items

Items of the hero section.

config

The site configuration; see mui_read_config().

label

What the comb is a comb of, for its aria-label.

Value

A muiMaterial component, or NULL when there is nothing to draw.

Details

The components are handed the answers rather than the algebra - mui_hex_layout() decides the shape and the stylesheet sizes the cells from the fractions it is given. The comb is the one part of the site that keeps its stylesheet: clip-path cells, rows nested by negative margins, a bloom-in fanned out along --d and an idle shimmer phased by --i are what CSS is for, and restating them as sx would buy nothing. What is muiMaterial here is the markup.

Which items these are is configuration: the comb is filled by the section that sets hero: true in mui.config.yml, and an item with no image is skipped, since a sticker is the one thing a cell cannot do without.