scrivito-fancy-header

1.0.3 • Public • Published

Scrivito Fancy Header

CMS: Scrivito License: MIT

A fancy header React component/Scrivito widget for the Scrivito CMS.

Screenshot

Screenshot

Installation

Open your terminal.

$ cd to your Scrivito project

$ npm install scrivito-fancy-header

Import the widget in your javascript src/Widgets/index.js.

Add this line to your index.js:

import "scrivito-fancy-header";

Also add the styling of the widget to your app. This can be done by either loading it via css-loader (e.g. in index.js or Widgets/index.js):

import "scrivito-fancy-header/index.css";

Or by including the styling to your style sheets (e.g. in index.scss):

@import "~scrivito-fancy-header/index.css";

Features

This widget renders a header with 3 sections, side by side. On mouse over the target section growth to 2/3 of the header width. Works best with full width.

Widget properties

In the widget properties you can set:

  • 3 section with a title link and an image

The link should point to an element of the same page with an id. For this you can use the widget 'Headline with an anchor id'

Dependents (0)

Package Sidebar

Install

npm i scrivito-fancy-header

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

13.4 kB

Total Files

5

Last publish

Collaborators

  • mdwp