theaterpedia / crearis-nuxt

2 stars 1 forks source link

N-22 Component "ColTmp" #23

Open crearis opened 2 months ago

crearis commented 2 months ago

WAIT UNTIL YOU BEGIN reading this > I have to think it through once more ... to make it a classic mother-child-implementation with nested components ...

ToDos, Spec to build MOLECULES around UiBox / UiColumns. Below I have collected some ideas towards a more generic text-image or media-banner. This all needs a call first and then details. Will be done in sept.


create/enhance the basic nuxt-content implementation for the basic content-distribution element within a section 'ColTmp'. It could be called 'Block' or something similar. It shares basic functionality with #20 (cta, heading ...)

It is a molecule (on the layer?) and gives some defaults for the usage of the section + container + columns/column stuff already implemented. It will be posted directly on the root level, cannot be nested inside other components and sets up section + container if needed. The main content goes inside the slot. If it serves columns, than the slot is the unspecified-width column.

Below you see 3 typical usages.

Below the fold additional ideas For every example is valid:

No1

This shows a simple one with background=accent. It renders as full-width column or a simle div (no columns+col at all)

Image

No2

This shows a typical 2-cols usage with

Image

No3

Well-known example ;) - same as No2 with these differences:

Image

imgControl with fill-center | left | right


(will be implemented not before mid-sept)

prop addColumns

One or several column-components can be added

Parallax/fixed-behaviours like here