About Us page #70

Merged
l42luo merged 21 commits from feat/about-us-page into main 2021-07-18 03:37:49 -04:00
2 changed files with 8 additions and 11 deletions
Showing only changes of commit da58641472 - Show all commits

View File

@ -16,11 +16,7 @@
color: black; color: black;
} }
.divs { .text > * {
margin-top: 4rem;
}
.divs > * {
margin: 2rem auto; margin: 2rem auto;
max-width: calc(806rem / 16); max-width: calc(806rem / 16);
} }
@ -32,6 +28,8 @@
} */ } */
.flexBox { .flexBox {
margin: 2rem auto;
max-width: calc(806rem / 16);
position: relative; position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@ -1,5 +1,4 @@
import React, { HTMLAttributes } from "react"; import React from "react";
import { MDXProvider } from "@mdx-js/react";
import { Image } from "../../components/Image"; import { Image } from "../../components/Image";
import Content from "../../content/about/index.mdx"; import Content from "../../content/about/index.mdx";
import styles from "./index.module.css"; import styles from "./index.module.css";
@ -8,7 +7,7 @@ import { SocialLinks } from "../../components/SocialLinks";
export default function AboutUs() { export default function AboutUs() {
return ( return (
<DefaultLayout> <div>
<div className={styles.flexBoxTitle}> <div className={styles.flexBoxTitle}>
<h1 className={styles.title}>About Us!</h1> <h1 className={styles.title}>About Us!</h1>
</div> </div>
@ -39,10 +38,10 @@ export default function AboutUs() {
<Button>Subscribe</Button> <Button>Subscribe</Button>
</form> </form>
</div> </div>
</DefaultLayout> </div>
); );
} }
function DefaultLayout(props: { children: React.ReactNode }) { AboutUs.Layout = function AboutUsLayout(props: { children: React.ReactNode }) {
return <div>{props.children}</div>; return <div>{props.children}</div>;
} };