Fix docs build

This commit is contained in:
Atul R 2019-09-29 20:40:45 +02:00
parent eca218ac79
commit ea046e7d7c
10 changed files with 13 additions and 21 deletions

View File

@ -1,5 +1,5 @@
import React from "react";
import { SplitView } from "./SplitView";
import { SplitView } from "../components/SplitView";
import styled from "styled-components";
const Image = styled.img`

View File

@ -1,6 +1,6 @@
import React from "react";
import withBaseUrl from "@docusaurus/withBaseUrl";
import styles from "../styles.module.css";
import styles from "../pages/styles.module.css";
import classnames from "classnames";
const features = [

View File

@ -2,7 +2,7 @@ import React from "react";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import styled from "styled-components";
import { Header, Container, H1, Center } from "./common";
import styles from "../styles.module.css";
import styles from "../pages/styles.module.css";
import withBaseUrl from "@docusaurus/withBaseUrl";
const ActionButton = styled.a`

View File

@ -1,5 +1,5 @@
import { Section } from "../common";
import "./styles.modules.css";
import { Section } from "./common";
import "./styles.css";
import React from "react";
export const SplitView = props => {

View File

@ -1,6 +1,6 @@
import React from "react";
import styled from "styled-components";
import { Section, Container, Center, H2, H4 } from "./common";
import { Section, Container, Center, H2, H4 } from "../components/common";
const Code = styled.code`
color: white !important;

15
website/src/pages/index.js Executable file → Normal file
View File

@ -1,12 +1,12 @@
import React from "react";
import Layout from "@theme/Layout";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Try } from "./components/Try";
import { Hero } from "./components/Hero";
import { Features } from "./components/Features";
import { CreateNativeApps } from "./components/CreateNativeApps";
import { CodeExample } from "./components/CodeExample";
import Layout from "@theme/Layout";
import { Try } from "../components/Try";
import { Hero } from "../components/Hero";
import { Features } from "../components/Features";
import { CreateNativeApps } from "../components/CreateNativeApps";
import { CodeExample } from "../components/CodeExample";
import "./styles.module.css";
function Home() {
const context = useDocusaurusContext();
@ -26,5 +26,4 @@ function Home() {
</Layout>
);
}
export default Home;

View File

@ -1,10 +1,3 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.