Fix docs build
This commit is contained in:
parent
eca218ac79
commit
ea046e7d7c
@ -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`
|
||||
@ -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 = [
|
||||
@ -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`
|
||||
@ -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 => {
|
||||
@ -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
15
website/src/pages/index.js
Executable file → Normal 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;
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user