From 92eeda5de50ef7c30696471a7609b74e79d45e16 Mon Sep 17 00:00:00 2001 From: Ajit Singh <32074655+as-ajitsingh@users.noreply.github.com> Date: Sat, 8 May 2021 01:50:04 +0530 Subject: [PATCH] Ajit | Updated landing page --- .gitignore | 4 +- packages/webapp/.gitignore | 2 + packages/webapp/src/assets/Logo-old.png | Bin 0 -> 2287 bytes packages/webapp/src/assets/Logo.png | Bin 2287 -> 7026 bytes packages/webapp/src/assets/main-image.svg | 55 ++++++ packages/webapp/src/assets/waves.svg | 9 + .../src/components/common/navbar/Navbar.tsx | 2 +- .../components/landing-page/LandingPage.scss | 162 ++++++++++-------- .../components/landing-page/LandingPage.tsx | 151 ++++++++++------ 9 files changed, 258 insertions(+), 127 deletions(-) create mode 100644 packages/webapp/src/assets/Logo-old.png create mode 100644 packages/webapp/src/assets/main-image.svg create mode 100644 packages/webapp/src/assets/waves.svg diff --git a/.gitignore b/.gitignore index 2013968..4101dff 100644 --- a/.gitignore +++ b/.gitignore @@ -109,4 +109,6 @@ dist # react build folder **/build/ -packages/webservice/src/public \ No newline at end of file +packages/webservice/src/public + +.idea \ No newline at end of file diff --git a/packages/webapp/.gitignore b/packages/webapp/.gitignore index 4d29575..eecc05b 100644 --- a/packages/webapp/.gitignore +++ b/packages/webapp/.gitignore @@ -21,3 +21,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +.idea/ diff --git a/packages/webapp/src/assets/Logo-old.png b/packages/webapp/src/assets/Logo-old.png new file mode 100644 index 0000000000000000000000000000000000000000..f803843243787ecdb27e7bfc021485ce299303ad GIT binary patch literal 2287 zcmZ`*dpOf=AHT-Sgo`oU3ukYcyzn}ZQ?o&Iw-L#jkSqcEq zhTN&UU_}2i)Dn1SayZ{%Kpx)WwFQ9cbIX1l)cEBLcHiX%0LL5vZUz8zFva}GHxA_wZtPpSW$OIJ>NB=3Zt*xPK8XD zp7}4&(N3&?=x^S&D8k=vWmIGLHb*4BKd&gf4b9U+Z++l<2! zd5VYPT4Hw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2ro0_84;uGfwi?Ted!G7c>X1st$`P9^$7P6a`ny;MYZ!6!m zv;VKe(I28+*S=p1Zx+ej{_&Yqh85|s$EqWT8y*>S)GTM07-H8M|pDL|R- zbB*0cErIw7Sr=)!w)W3yBz&d*bIGYh`C)aEuH*t$5yZzD!}Hke9P3LP>#jKx#>X11 zUQJ@E^@p#5hjX@NH@jr|9Xmx-kT7=hOZnT-q6#ZmT4kcUIXK$n6kPg8;}fCK0}bhC zf3NcW6b|I1cth@cNv_4tl^PS2#o)%_XGSBw!~j@3r#nKkzTP()Sw(37xUjHb;l8)B zfA4*@^V{g&X|J-A$X>k~vo9-u(r8Urrc>{QMMw9nhiq|}d1&plJQWG%=H|KzoXj!0 z>N7-1`L|Tzi@Kv*Q3(HhYlEBvxq`3q)CNPdvCoe>PMc;db3YUv9UWtXGL_Z`RTdV* zQZ8oRSdmlCsAI8McW&Z3y|ccqlh6Mov`;@Wa{M5$lH&Ao#5K6hMT2aJPw5M_3-oVJ z`T5bRr!(D$x|TYvAbQ1aqnbl&HSs#Hi`W^CP7^4OuyXc-=nE_|v{&y5ua6OzaUSqH zq$3#?&6zZO=7cejJ%-iohmF9(HMjBUqs0)p;#-pQSqZnaF=x7!@nvM>O zW(5O~AQ+igj*9WMw0yF?QwqJ?1=P)!*#s{$Ff;JTU8!z>rgH6CL)6V~`=C3Y_jR;M i+f3RtJGt(q+ibw7p&o0(dDD5g1b|$;sW+U1(*FfLo*mf$ literal 0 HcmV?d00001 diff --git a/packages/webapp/src/assets/Logo.png b/packages/webapp/src/assets/Logo.png index f803843243787ecdb27e7bfc021485ce299303ad..b5adcd01bf38cf76072d6d270cd26b0b89b25d46 100644 GIT binary patch literal 7026 zcma)>XHXN&)4*v8NbiDD0-;Fn9gz}9Oz2%figYQ`4G*(nVa3){cXIlp+4O$u3ID|By}XPK^@B8ggRRDEK1NKVxFd6u>XN*syCEcZXrD?0gczq?qUmH7*Z?=8 zjZuD7(X8%(n@*-$q9R2Oom|X1d}Kop;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<)gz_JwFJ*UqckyO&kZqd3`;m12smZF+bu#}&C$kDV6+C*`R;dRelbo@{%i z*gLk)uYln*Iq#p}WRr2ro0_84;uGfwi?Ted!G7c>X1st$`P9^$7P6a`ny;MYZ!6!m zv;VKe(I28+*S=p1Zx+ej{_&Yqh85|s$EqWT8y*>S)GTM07-H8M|pDL|R- zbB*0cErIw7Sr=)!w)W3yBz&d*bIGYh`C)aEuH*t$5yZzD!}Hke9P3LP>#jKx#>X11 zUQJ@E^@p#5hjX@NH@jr|9Xmx-kT7=hOZnT-q6#ZmT4kcUIXK$n6kPg8;}fCK0}bhC zf3NcW6b|I1cth@cNv_4tl^PS2#o)%_XGSBw!~j@3r#nKkzTP()Sw(37xUjHb;l8)B zfA4*@^V{g&X|J-A$X>k~vo9-u(r8Urrc>{QMMw9nhiq|}d1&plJQWG%=H|KzoXj!0 z>N7-1`L|Tzi@Kv*Q3(HhYlEBvxq`3q)CNPdvCoe>PMc;db3YUv9UWtXGL_Z`RTdV* zQZ8oRSdmlCsAI8McW&Z3y|ccqlh6Mov`;@Wa{M5$lH&Ao#5K6hMT2aJPw5M_3-oVJ z`T5bRr!(D$x|TYvAbQ1aqnbl&HSs#Hi`W^CP7^4OuyXc-=nE_|v{&y5ua6OzaUSqH zq$3#?&6zZO=7cejJ%-iohmF9(HMjBUqs0)p;#-pQSqZnaF=x7!@nvM>O zW(5O~AQ+igj*9WMw0yF?QwqJ?1=P)!*#s{$Ff;JTU8!z>rgH6CL)6V~`=C3Y_jR;M i+f3RtJGt(q+ibw7p&o0(dDD5g1b|$;sW+U1(*FfLo*mf$ diff --git a/packages/webapp/src/assets/main-image.svg b/packages/webapp/src/assets/main-image.svg new file mode 100644 index 0000000..87bbc94 --- /dev/null +++ b/packages/webapp/src/assets/main-image.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/webapp/src/assets/waves.svg b/packages/webapp/src/assets/waves.svg new file mode 100644 index 0000000..c14e445 --- /dev/null +++ b/packages/webapp/src/assets/waves.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/packages/webapp/src/components/common/navbar/Navbar.tsx b/packages/webapp/src/components/common/navbar/Navbar.tsx index f628b69..ab222a4 100644 --- a/packages/webapp/src/components/common/navbar/Navbar.tsx +++ b/packages/webapp/src/components/common/navbar/Navbar.tsx @@ -4,7 +4,7 @@ import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import Avatar from "@material-ui/core/Avatar"; import { useHistory } from 'react-router'; -import HomeLogo from '../../../assets/Logo.png'; +import HomeLogo from '../../../assets/Logo-old.png'; import BoardInfo from './board-info/BoardInfo'; import './Navbar.scss'; diff --git a/packages/webapp/src/components/landing-page/LandingPage.scss b/packages/webapp/src/components/landing-page/LandingPage.scss index 440b822..de36396 100644 --- a/packages/webapp/src/components/landing-page/LandingPage.scss +++ b/packages/webapp/src/components/landing-page/LandingPage.scss @@ -1,81 +1,99 @@ -.landingPage{ - background-image: url(https://source.unsplash.com/user/bored_engineer/likes); - background-repeat: no-repeat; - background-size: cover; - background-position: center; - width: 100%; +.main { + flex-grow: 1; + width:100%; height: 100%; - overflow: hidden; - .form{ - max-width: 30em; - // background-color: transparentize($color:black, $amount: 0.5); - align-items: center; - display: flex; - flex-direction: column; - padding: 2vh 5vh; - .title-sup{ - font-size: 14; + padding: 46px 65px; + z-index: 10; + flex-wrap: nowrap !important; +} - } - .title-main{ - align-self: center; - } - .image { - width: 15em; - img { - width: 100%; - height: 100%; - } - } - .create-board{ - margin-top: 5vh; - margin-bottom: 1vh; - width: 100%; +.row{ + align-items: center; +} - Button{ - width: 100%; - margin-bottom: 1vh; - } - } +.main-image{ + width: 35vw; +} - .join-board{ - width: 100%; - margin-bottom: 2vh; - .join-board-title{ - text-align: center; - } - Button{ - margin-top: 2vh; - margin-bottom: 1vh; - width: 100%; +.form{ + height: 100%; + width: 400px; + background: white; + border: 1px solid black; + border-radius: 10px; + display: flex; + flex-direction: column; + justify-items: center; + justify-content: space-evenly; + padding: 0px 30px; +} + +.form > * { + margin-top: 30px !important; +} + +.join-text{ + text-align: center; + color: #5a5858; +} + +.input{ + margin-top: 50px !important; +} + +.button{ + height: 50px; + background-color: #3E64C7; +} + +.caption{ + text-align: center; + margin-bottom: 20px !important; +} - } - } - hr { - width: 100%; - border: none; - border-top: 1px solid #333; - color: #333; - overflow: visible; - text-align: center; - height: 1px; - margin: 20px; - align-self: center; +.ocean { + z-index: -5; + height: 20%; + width:100%; + position:absolute; + bottom:0; + left:0; + background: #FF6584; +} - &:after { - width: 100%; - background: #fff; - content: 'or'; - padding: 0 4px; - position: relative; - top: -13px; - - } - } - .footer{ - margin: 0% !important - } - +.wave { + z-index: -5; + background: url(../../assets/waves.svg) repeat-x; + position: absolute; + top: -198px; + width: 6400px; + height: 250px; + animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite; + transform: translate3d(0, 0, 0); +} + +.wave:nth-of-type(2) { + z-index: -5; + top: -175px; + animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite; + opacity: 0.7; +} + +@keyframes wave { + 0% { + margin-left: 0; + } + 100% { + margin-left: -1600px; + } +} + +@keyframes swell { + 0%, 100% { + transform: translate3d(0,-25px,0); + } + 50% { + transform: translate3d(0,5px,0); } } \ No newline at end of file diff --git a/packages/webapp/src/components/landing-page/LandingPage.tsx b/packages/webapp/src/components/landing-page/LandingPage.tsx index 35093e9..2ab31b0 100644 --- a/packages/webapp/src/components/landing-page/LandingPage.tsx +++ b/packages/webapp/src/components/landing-page/LandingPage.tsx @@ -1,27 +1,25 @@ -import { v4 as uuid } from 'uuid'; -import React, { useState, useEffect } from 'react'; -import { Dispatch } from 'redux'; -import { connect } from 'react-redux'; -import { TState, TAction } from '../../store/interfaces'; +import {v4 as uuid} from 'uuid'; +import React, {useEffect, useState} from 'react'; +import {Dispatch} from 'redux'; +import {connect} from 'react-redux'; +import {TAction, TState} from '../../store/interfaces'; import * as ActionTypes from '../../store/actions'; import Grid from '@material-ui/core/Grid'; -import Divider from '@material-ui/core/Divider'; -import FormControl from '@material-ui/core/FormControl' -import InputLabel from '@material-ui/core/InputLabel' -import Input from '@material-ui/core/Input' -import LinearProgress from '@material-ui/core/LinearProgress' import FormHelperText from '@material-ui/core/FormHelperText' -import Card from '@material-ui/core/Card'; -import CardContent from '@material-ui/core/CardContent'; import Button from '@material-ui/core/Button'; import Typography from '@material-ui/core/Typography'; -import { useHistory, useLocation } from 'react-router'; - -import { createBoard, joinBoard } from '../../services/board.service'; +import {useHistory, useLocation} from 'react-router'; +import {createBoard, joinBoard} from '../../services/board.service'; import './LandingPage.scss'; -import boardImage from '../../assets/board.svg'; -import { getUserIDStorageKey } from '../../common-utils'; -import { Box, Link } from '@material-ui/core'; +import {getUserIDStorageKey} from '../../common-utils'; +import {Input, LinearProgress, Link} from '@material-ui/core'; +import LogoImage from '../../assets/Logo.png' +import MainImage from '../../assets/main-image.svg' +import IconButton from '@material-ui/core/IconButton'; +import TwitterIcon from '@material-ui/icons/Twitter'; +import FacebookIcon from '@material-ui/icons/Facebook'; +import Divider from '@material-ui/core/Divider'; +import {makeStyles} from '@material-ui/core/styles'; type TLandingPageDispatchProps = { setUserId: Function, @@ -35,8 +33,35 @@ type TLandingPageStateProps = { type TLandingPageProps = TLandingPageDispatchProps & TLandingPageStateProps; +const useStyles = makeStyles(theme => ({ + mainImageContainer: { + position: 'relative', + '&::before': { + content: '""', + left: '7.5vw', + top: '-1vh', + position: 'absolute', + width: '6vw', + height: '6vw', + borderRadius: '6vw', + backgroundColor: '#F2F2F2', + zIndex: '-5', + animation: '$grow 10s infinite' + }, + [theme.breakpoints.down("sm")]: { + display: 'none' + } + }, + '@keyframes grow': { + '0%': {transform: 'scale(0.5)'}, + '50%': {transform: 'scale(1)'}, + '100%': {transform: 'scale(0.5)'} + } +})) + const LandingPage = (props: TLandingPageProps) => { + const classes = useStyles(); const {setUserId, setBoardId, boardId} = props; const browserHistory = useHistory(); const location = useLocation(); @@ -119,7 +144,7 @@ const LandingPage = (props: TLandingPageProps) => { function Branding() { return ( - + {'From the minds of '} Bored Engineers @@ -127,43 +152,63 @@ const LandingPage = (props: TLandingPageProps) => { ); } + return ( - - - - - Welcome to - - - The Retro App - - -
-
- - {createBoardProgress && } - {createBoardError && There is some problem creating board. Try Again Later...} - {createBoardSuccess && getSuccessElements()} -
- -
- - Join an existing board - - - Board ID - setBoardId(event.target.value)} disabled={createBoardProgress || joinBoardProgress} error={joinBoardError.errorField === 'boardId'} /> - - - {joinBoardProgress && } - {joinBoardError && {joinBoardError.message}} -
- - - -
+
+
+
+ + + logo + + + + + + + + + main + + +
+ Let's get started... + + {createBoardProgress && } + {createBoardError && There is some problem creating board. Try Again Later...} + {createBoardSuccess && getSuccessElements()} + + Or Join An Existing Board + setBoardId(event.target.value)} + disabled={createBoardProgress || joinBoardProgress} + error={joinBoardError.errorField === 'boardId'}/> + + {joinBoardProgress && } + {joinBoardError && {joinBoardError.message}} + By joining, I agree to the Terms and + Privacy Policy. +
+
+
+ + +
); }