Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions components/shared/Footer/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
import {
Grid, makeStyles, Container, Typography, Link,
} from '@material-ui/core';
import logo from '../../../src/images/logo.svg';

const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
backgroundColor: '#f6f7f8',
},
mainGrid: {
padding: theme.spacing(2),
},
'mr-6': {
marginRight: theme.spacing(6),
},
'mt-2': {
marginTop: theme.spacing(2),
},
}));

function Footer() {
const classes = useStyles();

return (
<Container className={classes.root}>
<Grid container spacing={3} className={classes.mainGrid}>
<Link href="/">
<img src={logo} width={150} />
</Link>

<Grid container item spacing={3} justify="center">
<Link href="/users/login">
<Typography variant="subtitle1" className={classes['mr-6']}>
Login
</Typography>
</Link>

<Link href="/users/signup">
<Typography variant="subtitle1" className={classes['mr-6']}>
Sign Up
</Typography>
</Link>

<Link href="/about">
<Typography variant="subtitle1" className={classes['mr-6']}>
About
</Typography>
</Link>

<Link href="/docs">
<Typography variant="subtitle1">
Docs
</Typography>
</Link>
</Grid>

<Grid container item spacing={3} justify="center">
<Typography variant="subtitle1" className={classes['mt-2']}>
Made with ❤️ by WAA
</Typography>
</Grid>
</Grid>
</Container>
);
}

export default Footer;
74 changes: 74 additions & 0 deletions components/shared/landing/Navbar/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import React from 'react';
import Link from 'next/link';
import {
AppBar, Toolbar, Typography, makeStyles, Grid,
} from '@material-ui/core';
import logo from '../../../../src/images/logo.svg';

const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
marginBottom: '50px',
},
appbar: {
alignItems: 'right',
backgroundColor: 'white',
color: 'rgb(80, 82, 86)',
flexGrow: 1,
},
toolbar: {
minHeight: 46,
flexGrow: 1,
},
login: {
marginRight: theme.spacing(1),
padding: '5px',
'&:hover': {
color: '#000',
},
},
signup: {
backgroundColor: '#f1f2f4',
borderRadius: '5px',
paddingRight: '5px',
paddingLeft: '5px',
display: 'flex',
justifyContent: 'center',
flexDirection: 'column',
'&:hover': {
color: '#000',
},
},
}));

export default function Navbar() {
const classes = useStyles();

return (
<div className={classes.root}>
<AppBar position="fixed" className={classes.appbar}>
<Toolbar className={classes.toolbar}>
<Link href="/">
<img src={logo} width={150} />
</Link>

<Grid container justify="flex-end">
<Typography variant="subtitle1" className={classes.login}>
<Link href="/users/login">
Login
</Link>
</Typography>
<Typography
variant="subtitle1"
className={classes.signup}
>
<Link href="/users/signup">
Sign Up
</Link>
</Typography>
</Grid>
</Toolbar>
</AppBar>
</div>
);
}
3 changes: 0 additions & 3 deletions components/shared/landing/footer.js

This file was deleted.

3 changes: 0 additions & 3 deletions components/shared/landing/navbar.js

This file was deleted.

3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const withImages = require('next-images');

module.exports = withImages();
79 changes: 64 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"jsoneditor": "^9.1.1",
"jsoneditor-react": "^3.0.1",
"next": "^10.0.1",
"next-images": "^1.6.2",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand Down
91 changes: 91 additions & 0 deletions pages/about.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
import {
Grid, Button, Container, Typography, Link, makeStyles,
} from '@material-ui/core';

import Navbar from '../components/shared/landing/Navbar';
import Footer from '../components/shared/Footer';

const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
},
'mt-2': {
marginTop: theme.spacing(2),
},
'mt-4': {
marginTop: theme.spacing(4),
},
'mt-6': {
marginTop: theme.spacing(6),
},
}));

export default function Home() {
const classes = useStyles();

return (
<div className={classes.root}>
<Navbar />
<Container maxWidth="lg">
<Grid container spacing={3}>
<Grid container item xs={12} justify="center">
<Typography variant="h3" component="h1" className={classes['mt-6']}>
Bridge Incompatible API&#39;s
</Typography>
</Grid>
<Grid container item xs={12} alignItems="center" direction="column">
<Typography variant="subtitle1">
BridgeAPI is a serverless integration platform that
</Typography>
<Typography variant="subtitle1">
empowers users to connect apps through event-driven workflows
</Typography>
<Link href="/users/signup">
<Button
color="primary"
variant="contained"
className={classes['mt-6']}
>
Get Started
</Button>
</Link>
<Typography variant="subtitle2" className={classes['mt-6']}>
Join the developers that are integrating API&#39;s around the world.
</Typography>
</Grid>
</Grid>

<Grid container spacing={3}>
<Grid container item xs={12} justify="center">
<Typography variant="h3" component="h1" className={classes['mt-6']}>
Bridge Incompatible API&#39;s
</Typography>
</Grid>
<Grid container item xs={12} alignItems="center" direction="column">
<Typography variant="subtitle1">
BridgeAPI is a serverless integration platform that
</Typography>
<Typography variant="subtitle1">
empowers users to connect apps through event-driven workflows
</Typography>
<Link href="/users/signup">
<Button
color="primary"
variant="contained"
className={classes['mt-6']}
>
Get Started
</Button>
</Link>
<Typography variant="subtitle2" className={classes['mt-6']}>
Join the developers that are integrating API&#39;s around the world.
</Typography>
</Grid>
</Grid>

</Container>
<Footer />

</div>
);
}
Loading