Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

added akash and skynet logos, reduced the background image #3

Merged
merged 1 commit into from
Sep 1, 2021
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
19 changes: 19 additions & 0 deletions akash-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
127 changes: 113 additions & 14 deletions package-lock.json

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

14 changes: 5 additions & 9 deletions src/components/beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ import {TxtField} from "./inputfield"

function Beta({type, isError, errMsg, onClick, onChange}) {
return (
<div className="beta">
<form className="formStyle">
<TxtField isError={isError} type={type} errMsg={errMsg} onChange={onChange} label="Email" variant="outlined" />
<div className="bottom"> &nbsp;
<SolidButton2 disabled={isError} onClick={onClick} label= "Submit"/>
</div>
</form>
</div>

<form className="formStyle">
<TxtField isError={isError} type={type} errMsg={errMsg} onChange={onChange} label="Email" variant="outlined" />
<div style={{ width: '5%'}}/>
<SolidButton2 disabled={isError} onClick={onClick} label= "Submit"/>
</form>
);
}

Expand Down
8 changes: 4 additions & 4 deletions src/components/inputfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const useStyles = makeStyles((theme) => ({
'& > *': {
margin: theme.spacing(1),
},
width: '100%'
},
label: {
fontSize: 20,
Expand All @@ -32,14 +33,15 @@ const BootstrapInput = withStyles((theme) => ({
'label + &': {
marginTop: theme.spacing(4),
},
width: '100%'
},
input: {
borderRadius: 8,
position: 'relative',
backgroundColor: "#ced4da",
border: '2px solid #ced4da',
fontSize: 16,
//width: 'auto',
width: '100%',
height: "28px",
padding: '10px 12px',
transition: theme.transitions.create(['border-color', 'box-shadow']),
Expand All @@ -57,9 +59,7 @@ export const TxtField = ({type, isError, errMsg, label, onChange}) => {

const classes = useStyles();
return <FormControl className={classes.root}>
<InputLabel className={classes.label} classes={{
focused: classes.focused
}} shrink htmlFor="bootstrap-input">
<InputLabel className={classes.label} classes={{focused: classes.focused}} shrink htmlFor="bootstrap-input">
{label}
</InputLabel>
<BootstrapInput type={type} onChange={(event) => onChange(event)} id="bootstrap-input" />
Expand Down
15 changes: 11 additions & 4 deletions src/pages/landing_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React, { useState } from "react";
import ReactDOM from 'react-dom';
import '../styles/landingpage.css'
import parachute from "../styles/pictures/parachute.png"
import akashLogo from "../styles/pictures/akash.svg"
import skynetLogo from "../styles/pictures/skynetlogo.png"
import {OutlinedButton, SolidButton} from "../components/buttons";
import SignUp from "../components/signup";
import SignIn from "../components/signin";
Expand Down Expand Up @@ -84,10 +86,15 @@ function LandingPage() {
which means now you can use all the features of existing container registries on OpenRegistry.
We are hosted on Akash and powered by SkyNet.
You see, Sky is the limit. Like literally!</p>
<OutlinedButton onClick={() => handleBeta()} label="Register for Beta"/>
{
showBeta ? <Beta isError={isError} type={"email"} errMsg={resp} onChange={handleEmail} onClick={() => handleSubmit()}/> :null
}
<OutlinedButton onClick={() => handleBeta()} label="Register for Beta"/>
{
showBeta ? <Beta isError={isError} type={"email"} errMsg={resp} onChange={handleEmail} onClick={() => handleSubmit()}/> :null
}

<div style={{display:"flex",justifyContent:"center",width:"100%",alignItems:"center"}}>
<img style={{"width":200}} src={akashLogo} alt={""}/>
<img style={{"width":200}} src={skynetLogo} alt={""}/>
</div>
</div>
{
showSignUp ?
Expand Down
19 changes: 13 additions & 6 deletions src/styles/landingpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@
background: linear-gradient(#617794,#A4C7D2);
}
.beta {

width: 30%;
width: 100%;
padding: 20px;

/*flex-direction: row;*/
display: flex;
justify-content: center;
align-items: center;
}

.winHead {
Expand Down Expand Up @@ -252,9 +254,14 @@ span {

.formStyle {
display: flex;
flex-direction: column;
padding: 3%;
justify-content: space-between;
flex-direction: row;
justify-content: center;
/*align-items: center;*/
border-spacing: 10px;
width: 60%;
max-width: 42%;
/*padding: 0 10px;*/
/*justify-content: space-between;*/
}
.textField {
border: hotpink solid 5px;
Expand Down
Loading