feat: add cloudbuild.yaml generation for new apps

This commit is contained in:
Vikram Rangnekar
2020-05-17 19:16:40 -04:00
parent f6ce0c102b
commit 1c823e4353
34 changed files with 231 additions and 536 deletions

View File

@ -0,0 +1,25 @@
/* stylelint-disable docusaurus/copyright-header */
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: rgb(33, 175, 144);
--ifm-color-primary-darker: rgb(31, 165, 136);
--ifm-color-primary-darkest: rgb(26, 136, 112);
--ifm-color-primary-light: rgb(70, 203, 174);
--ifm-color-primary-lighter: rgb(102, 212, 189);
--ifm-color-primary-lightest: rgb(146, 224, 208);
--ifm-code-font-size: 95%;
}
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}

View File

@ -0,0 +1,65 @@
import React from "react";
import { Redirect } from "@docusaurus/router";
// import classnames from "classnames";
// import Layout from "@theme/Layout";
// import Link from "@docusaurus/Link";
// import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
// import useBaseUrl from "@docusaurus/useBaseUrl";
// import styles from "./styles.module.css";
// import "../css/tailwind.css";
const Home = () => <Redirect to="/docs/home" />;
// function Feature({ imageUrl, title, description }) {
// const imgUrl = useBaseUrl(imageUrl);
// return (
// <div className={classnames("col col--4", styles.feature)}>
// {imgUrl && (
// <div className="text--center">
// <img className={styles.featureImage} src={imgUrl} alt={title} />
// </div>
// )}
// <h3>{title}</h3>
// <p>{description}</p>
// </div>
// );
// }
// function Home() {
// const context = useDocusaurusContext();
// const { siteConfig = {} } = context;
// return (
// <Layout
// title={`Hello from ${siteConfig.title}`}
// description="Description will go into a meta tag in <head />"
// className="font-sans bg-red-500"
// >
// <div className="font-sans">
// <header>
// <div className="flex flex-col items-start p-6">
// <h1 className="text-3xl pt-4">{siteConfig.title}</h1>
// <p className="text-xl pt-4">{siteConfig.tagline}</p>
// <div className="pt-4">
// <Link
// className="border rounded hover:bg-gray-200 p-4 m-4"
// to={useBaseUrl("docs/doc 1")}
// >
// Get Started
// </Link>
// <Link
// className="border rounded hover:bg-gray-200 p-4 m-4 ml-0"
// to="https://github.com/dosco/super-graph"
// >
// Github
// </Link>
// </div>
// </div>
// </header>
// <main></main>
// </div>
// </Layout>
// );
// }
export default Home;

View File

@ -0,0 +1,36 @@
/* stylelint-disable docusaurus/copyright-header */
/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
*/
.heroBanner {
padding: 4rem 0;
text-align: center;
position: relative;
overflow: hidden;
}
@media screen and (max-width: 966px) {
.heroBanner {
padding: 2rem;
}
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
}
.features {
display: flex;
align-items: center;
padding: 2rem 0;
width: 100%;
}
.featureImage {
height: 200px;
width: 200px;
}