Ask AI
Hi! Ask me anything

Landing pages can exist in any context/branch, including the initial web page. There is more to a context, but we'll be focusing on the specifics for a landing.

The page's left and right margin

By default, the template used in most websites would be Layout=default-web. Setting this property for the ROOT context, will propagate for all pages.

Any context can override this by setting Local layout=default-landing, for example. Local layout will be used in that context, and will not propagate in its own branch. Let's see a common configuration for the ROOT context:

// All pages will use the default web layout
Layout = default-web
// This page, instead, will use the default landing layout
Local layout = default-landing

For this current context we used:

// Only here we will use the default landing layout, will not propagate
Local layout = default-landing

Notice that the stripe color covers the whole space, from left to right.

This content is within a padded text stripe, to provide space
The header adds an icon, changing the color and adding some animation.

The components

The text stripe adds more left and right margins, and increases a bit the font size. In general, when writing text in left to right containers, it's better to use text stripes. Exceptions would be when using columns.

In this text stripe we use a transparent background image, one of the stock images. You can also use your own images for backgrounds, and add content on top. By default, stripes create a color background, and a font color with enough contrast. You can change font color by using innerColor property.

The wiki we used

// ${parser.imgtbg('/glow-1.png')} stands for a stock image. You can use your own images URL.
@w{textstripe(class=very padded,color=Deep-SeaBlue,image=${parser.imgtbg('/glow-1.png')})}
@w{header(class=inverted big,icon=huge yellow loading cog)}
This content is within a padded text stripe, to provide space
@w{subheader}
The header adds an icon, changing the color and adding some animation.
@w{/subheader}
@w{/header}

---+++The components

The text stripe adds more left and right margins, and increases...
@w{/textstripe}
Use your own image as a background
And create complicated layouts

Describing your product/service features, how to buy and next actions.

Some action

Who you are, how to contact, why everyone should trust your company.

Contact

Community, projects, forums. The activity you're generating in every day tasks.

Community

The wiki we used

@w{stripe(class=very padded,image=repository(/bg-example.png))}

@w{header(class=big)}
Use your own image as a background
@w{subheader}
And create complicated layouts
@w{/subheader}
@w{/header}

@w{grid(class=three column padded stackable)}

@w{column}

%icon-huge cubes%

Describing your product/service features, how to buy and next actions.

@w{button(class=primary,icon=right caret,link=#,text=Some action)}
@w{/column}

@w{column(class=center aligned)}

%icon-huge university%

Who you are, how to contact, why everyone should trust your company.

@w{button(class=primary,link=#,text=Contact)}
@w{/column}

@w{column(class=right aligned)}

%icon-huge orange comments%

Community, projects, forums. The activity you're generating in every day tasks.

@w{button(class=basic secondary,icon=right caret,link=#,text=Community)}
@w{/column}

@w{/grid}

@w{/stripe}
Breaking conventional margins
Reaching the entire screen width. Notice that the layout still adapts to small devices' screen.

Describing your product/service features, how to buy and next actions.

Some action

Who you are, how to contact, why everyone should trust your company.

Contact

Community, projects, forums. The activity you're generating in every day tasks.

Community

The wiki we used

The only change is the first container, widestripe instead of stripe. This container adds no margins, which requires padding or padded content.
@w{widestripe(class=very padded,image=repository(/bg-example.png))}

@w{header(class=big center aligned)}
Breaking conventional margins
@w{subheader}
Reaching the entire screen width. Notice that the layout still adapts to small devices' screen.
@w{/subheader}
@w{/header}

@w{grid(class=three column padded stackable)}

@w{column}

%icon-huge cubes%

Describing your product/service features, how to buy and next actions.

@w{button(class=primary,icon=right caret,link=#,text=Some action)}
@w{/column}

@w{column(class=center aligned)}

%icon-huge university%

Who you are, how to contact, why everyone should trust your company.

@w{button(class=primary,link=#,text=Contact)}
@w{/column}

@w{column(class=right aligned)}

%icon-huge orange comments%

Community, projects, forums. The activity you're generating in every day tasks.

@w{button(class=basic secondary,icon=right caret,link=#,text=Community)}
@w{/column}

@w{/grid}

@w{/widestripe}
Printer version
English07/03/26 10:46Lluís Turró Cutiller
English07/04/26 10:23Lluís Turró Cutiller
English07/08/26 11:37Lluís Turró Cutiller
English07/10/26 05:50Lluís Turró Cutiller
English07/17/26 23:10Lluís Turró Cutiller