mirror of
https://github.com/atisawd/boxicons.git
synced 2024-12-22 20:32:38 +01:00
2 lines
28 KiB
JavaScript
2 lines
28 KiB
JavaScript
|
webpackJsonp([0],{453:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),c=a(5),o=n(c),u=(a(36),a(48)),d=a(455),m=n(d);["javascript","xml"].forEach(function(e){var t=a(457)("./"+e);m.default.registerLanguage(e,t)});var f=function(e){function t(){return l(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),i(t,[{key:"componentDidMount",value:function(){window.scrollTo(0,0),document.querySelectorAll("code").forEach(function(e){m.default.highlightBlock(e)})}},{key:"render",value:function(){return o.default.createElement("div",{className:"page-back"},o.default.createElement("div",{className:"page-cont"},o.default.createElement("div",{className:"page-head"},o.default.createElement("div",{className:"page-head-in"},o.default.createElement("h1",null,"Getting Started"),o.default.createElement("p",null,"Switching to boxicons is easy and can be done in 2 steps. There are more features than just the icons set."))),o.default.createElement("div",{className:"page-body"},o.default.createElement("div",{className:"page-body-in"},o.default.createElement("div",{className:"docs"},o.default.createElement("div",{className:"docs-sidebar"},o.default.createElement("ul",{className:"docs-sidebar-list"},o.default.createElement("li",null,o.default.createElement("a",{href:"#starter-template"},"Starter Template")),o.default.createElement("li",null,o.default.createElement("a",{href:"#usage-with-css"},"Usage with CSS")),o.default.createElement("li",null,o.default.createElement("a",{href:"#install-via-npm"},"Install via NPM")),o.default.createElement("li",null,o.default.createElement("a",{href:"#usage-in-html"},"Usage in HTML")),o.default.createElement("li",null,o.default.createElement("a",{href:"#styling"},"Styling"),o.default.createElement("ul",null,o.default.createElement("li",null,o.default.createElement("a",{href:"#sizing"},"Sizing")),o.default.createElement("li",null,o.default.createElement("a",{href:"#rotation-flipping"},"Rotation & Flipping")),o.default.createElement("li",null,o.default.createElement("a",{href:"#border"},"Border")),o.default.createElement("li",null,o.default.createElement("a",{href:"#animation"},"Animation")),o.default.createElement("li",null,o.default.createElement("a",{href:"#animation-hover"},"Animation on Hover")))),o.default.createElement("li",null,o.default.createElement("a",{href:"#license"},"License")))),o.default.createElement("div",{className:"docs-content"},o.default.createElement("h3",null,"Quick Start"),o.default.createElement("div",null,"Looking to quickly add Boxicons to your project? Use the paths to CDN or Download the files here."),o.default.createElement("h3",{id:"starter-template"},"Starter Template"),o.default.createElement("div",null,"Create an HTML document and copy-paste the starter template",o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"<!doctype html>"," ",o.default.createElement("br",null),"<html lang='en'>",o.default.createElement("br",null),o.default.createElement("span",{className:"tab"},"<head>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"},"<meta charset='utf-8'>"),o.default.createElement("br",
|
||
|
//# sourceMappingURL=0.bundle.js.map
|