diff --git a/website/pages/en/index.js b/website/pages/en/index.js index 8cc09d94..7c83a4d1 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -5,28 +5,34 @@ * LICENSE file in the root directory of this source tree. */ -const React = require('react'); +const React = require("react"); -const CompLibrary = require('../../core/CompLibrary.js'); +const CompLibrary = require("../../core/CompLibrary.js"); const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; -const siteConfig = require(process.cwd() + '/siteConfig.js'); +const siteConfig = require(process.cwd() + "/siteConfig.js"); +const MetadataBlog = require("../../core/MetadataBlog.js"); function imgUrl(img) { - return siteConfig.baseUrl + 'img/' + img; + return siteConfig.baseUrl + "img/" + img; } function docUrl(doc, language) { - return siteConfig.baseUrl + 'docs/' + (language ? language + '/' : '') + doc + ".html"; + return ( + siteConfig.baseUrl + + "docs/" + + (language ? language + "/" : "") + + doc + + ".html" + ); } function pageUrl(page, language) { - return siteConfig.baseUrl + (language ? language + '/' : '') + page; + return siteConfig.baseUrl + (language ? language + "/" : "") + page; } - const PopularTopicsSection = ({ language }) => (
- Architecture. - {' '}Explains various layers that make up Home Assistant. + + Architecture. + {" "} + Explains various layers that make up Home Assistant.
- Frontend. - {' '}Explains how to develop the user interface of Home Assistant. + + Frontend. + {" "} + Explains how to develop the user interface of Home Assistant.
- Backend. - {' '}Explains how to build new integrations for Home Assistant. + + Backend. + {" "} + Explains how to build new integrations for Home Assistant.
- Misc. - {' '}External APIs, Internationalization, asyncio, Hass.io add-ons, updating documentation. + + Misc. + {" "} + External APIs, Internationalization, asyncio, Hass.io add-ons, + updating documentation.