Basic Page - Generic
Here is an example of a template for basic pages.
Demo
x<!--
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="author" content="U.S. Cellular">
<meta name="keywords" content="Cellular, Network, USC, Mobile, Plans">
<meta name="description" content="">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="msapplication-config" content="./assets/images/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<meta property="og:image" content="./assets/images/usc-.jpg">
<meta property="og:image:height" content="268">
<meta property="og:image:width" content="512">
<meta property="og:description" content="">
<meta property="og:title" content="">
<meta property="og:url" content="http://www.uscellular.com/">
<title> - U.S. Cellular </title>
<link href="./vendors.min.css" type="text/css" rel="stylesheet" />
<link href="./hub.vendors.min.css" type="text/css" rel="stylesheet" />
<link href="./hub.min.css" type="text/css" rel="stylesheet" />
<link href="./patterns.min.css" type="text/css" rel="stylesheet" />
<link rel="apple-touch-icon" sizes="180x180" href="./assets/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images/favicon-16x16.png">
<link rel="manifest" href="./assets/images/site.webmanifest">
<link rel="mask-icon" href="./assets/images/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="./assets/images/favicon.ico">
<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="./vendors.min.js"></script>
<script src="./hub.vendors.min.js"></script>
</head>
-->
<!-- <body> -->
<!-- if is Home page -->
<div class="usc-page-background" style="background-image: url('assets/images/Homepage_Desktop_HeaderImage.png')"></div>
<!-- end if is Home page -->
<!-- include navigation template -->
<main class="usc-wrapper main-nav-spacer" id="main" role="main" tabindex="-1" aria-label="Main Content">
<!-- Content goes here -->
</main>
<!-- include footer template -->
<script src="./patterns.min.js"></script>
<script src="./hub.min.js"></script>
<!-- </body> -->
<!-- </html> -->
HTML Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="author" content="U.S. Cellular">
<meta name="keywords" content="Cellular, Network, USC, Mobile, Plans">
<meta name="description" content="">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="msapplication-config" content="./assets/images/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<meta property="og:image" content="./assets/images/usc-.jpg">
<meta property="og:image:height" content="268">
<meta property="og:image:width" content="512">
<meta property="og:description" content="">
<meta property="og:title" content="">
<meta property="og:url" content="http://www.uscellular.com/">
<title> - U.S. Cellular </title>
<link href="./vendors.min.css" type="text/css" rel="stylesheet" />
<link href="./hub.vendors.min.css" type="text/css" rel="stylesheet" />
<link href="./hub.min.css" type="text/css" rel="stylesheet" />
<link href="./patterns.min.css" type="text/css" rel="stylesheet" />
<link rel="apple-touch-icon" sizes="180x180" href="./assets/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images/favicon-16x16.png">
<link rel="manifest" href="./assets/images/site.webmanifest">
<link rel="mask-icon" href="./assets/images/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="./assets/images/favicon.ico">
<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="./vendors.min.js"></script>
<script src="./hub.vendors.min.js"></script>
</head>
<body>
<!-- if is Home page -->
<div class="usc-page-background" style="background-image: url('assets/images/Homepage_Desktop_HeaderImage.png')"></div>
<!-- end if is Home page -->
<!-- include navigation template -->
<main class="usc-wrapper main-nav-spacer" id="main" role="main" tabindex="-1" aria-label="Main Content">
<!-- Content goes here -->
</main>
<!-- include footer template -->
<script src="./patterns.min.js"></script>
<script src="./hub.min.js"></script>
</body>
</html>
Style Customization
CSS Classes
CSS Class | Description |
---|---|
usc-page-background |
Optional. The wrapper of background image in home page template. Use when home-header component is the first element in .usc-wrapper. Apply .main-nav-spacer to .usc-wrapper for adding space. |
usc-wrapper |
Mandatory. The container of the main content. |
main-nav-spacer |
Optional. Add spacing between main navigation bar and the main content. |