Now that Cirrus is installed, it is time to configure it for your project. This step ensures that the project is set up properly to support mobile responsiveness and strict rendering with standard mode.
Please visit FontAwesome and sign up to get your developer kit to get started. The CDN above is just a sample.
Required Fonts
Don't forget to include the required fonts.
<!-- Google Fonts --><linkhref="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,600,700"rel="stylesheet"><linkhref="https://fonts.googleapis.com/css?family=Montserrat:400,700"rel="stylesheet"><!-- Minified Cirrus CSS --><linkrel="stylesheet"href="../css/cirrus.min.css"><!-- Import your other dependencies -->
Node App
Import cirrus-ui
import'cirrus-ui';
// Your other framework code
Setup Template
In your main index.html page, make sure that the following dependencies are also included. For example, it would be in the index.html file in your React project.
<!DOCTYPE html><html><head><title>Getting Started with Cirrus</title><metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge;" /><!-- Fonts --><linkhref="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,600,700"rel="stylesheet"><linkhref="https://fonts.googleapis.com/css?family=Montserrat:400,700"rel="stylesheet"><!-- Font Awesome --><linkrel="stylesheet"href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"crossorigin="anonymous"></head><!-- More content --></html>
Using a new framework can be slightly overwhelming, so this section is to help point out common areas in the documentation to help you get up to speed.
Layout
Spacing is an important part of designing a page not just with Cirrus, but in general. This can be accomplished by following some hierarchy for a layout, such as section, content, and row. The section HTML tag semantically spearates the content on the page, the content class adds the needed spacing, and the row class can be used to position the child elements.
With some layout styles in place, now you specify a header and footer.
This pretty much sums up the few pages that would help getting a base layout up and running. You can find more styles to modify the layout under Layout or Utilities.
Components
There are lots of components that already come with the framework. I do not have any specific recommendations other than to pick the ones you want to use. Each page has plenty of examples to cover many possible use cases.