Skip to content
Snippets Groups Projects
Commit 0e4fa9de authored by Mule Ashok's avatar Mule Ashok
Browse files

Signup page

parent ee5d99b6
Branches
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
<title>UI/icons/dark/github</title>
<desc>Created with Sketch.</desc>
<defs/>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="UI/icons/dark/github" fill="#182359">
<path d="M17.9985267,2 C9.16436969,2 2,9.16338746 2,18.0004911 C2,25.0695847 6.58405721,31.0660855 12.9420179,33.1818042 C13.7425335,33.3291384 14.0342552,32.8350778 14.0342552,32.4107554 C14.0342552,32.0306332 14.020504,31.0248319 14.0126462,29.6899843 C9.56217195,30.6564965 8.62316216,27.5447988 8.62316216,27.5447988 C7.89533135,25.696246 6.84631204,25.2041499 6.84631204,25.2041499 C5.3935971,24.2120998 6.95632156,24.2317444 6.95632156,24.2317444 C8.56226404,24.3447006 9.40697996,25.8809049 9.40697996,25.8809049 C10.834157,28.3256699 13.1522146,27.6194481 14.063722,27.2098591 C14.2090917,26.1765554 14.6226097,25.4713159 15.0793456,25.0715492 C11.5266276,24.6678535 7.7912152,23.294699 7.7912152,17.163633 C7.7912152,15.417232 8.41492986,13.9880905 9.43841125,12.8703152 C9.27339697,12.4656374 8.72433162,10.8380859 9.5955677,8.63593112 C9.5955677,8.63593112 10.9382731,8.20571534 13.9949661,10.2762516 C15.27088,9.9206851 16.6401056,9.7438841 18.0004911,9.7370085 C19.3598944,9.7438841 20.7281378,9.9206851 22.0060161,10.2762516 C25.0607447,8.20571534 26.4014856,8.63593112 26.4014856,8.63593112 C27.2746861,10.8380859 26.7256208,12.4656374 26.5615888,12.8703152 C27.5870346,13.9880905 28.2058381,15.417232 28.2058381,17.163633 C28.2058381,23.3104147 24.4645324,24.6629424 20.9010099,25.0587802 C21.4746309,25.5528408 21.9863716,26.5291752 21.9863716,28.0211793 C21.9863716,30.1604715 21.966727,31.8862457 21.966727,32.4107554 C21.966727,32.8390067 22.255502,33.3369962 23.0668222,33.180822 C29.4198717,31.0601921 34,25.0676202 34,18.0004911 C34,9.16338746 26.8356303,2 17.9985267,2" id="icons/icon-github"/>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
<title>UI/icons/color/google</title>
<desc>Created with Sketch.</desc>
<defs/>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="UI/icons/color/google">
<g id="Group" transform="translate(2.000000, 2.000000)">
<path d="M32.4365525,16.6024012 C32.4365525,15.4515967 32.3313665,14.344128 32.1357206,13.2820585 L16.5492615,13.2820585 L16.5492615,19.5616128 L25.4557094,19.5616128 C25.0721312,21.5908257 23.9059692,23.3098098 22.1535707,24.4613022 L22.1535707,28.5341733 L27.5019274,28.5341733 C30.631561,25.7077204 32.4365525,21.5461142 32.4365525,16.6024012 L32.4365525,16.6024012 Z" id="Shape" fill="#4285F4"/>
<path d="M16.5492615,32.4674071 C21.0175621,32.4674071 24.7635856,31.0139403 27.5019274,28.5341733 L22.1535707,24.4613022 C20.6718508,25.4353244 18.7756982,26.0110706 16.5492615,26.0110706 C12.2387399,26.0110706 8.59088994,23.1557272 7.2893887,19.3181072 L1.76011213,19.3181072 L1.76011213,23.5244249 C4.48302664,28.8299569 10.0796222,32.4674071 16.5492615,32.4674071 L16.5492615,32.4674071 Z" id="Shape" fill="#34A853"/>
<path d="M7.2893887,19.3181072 C6.95840347,18.344085 6.77047118,17.3033395 6.77047118,16.2337035 C6.77047118,15.1640676 6.95840347,14.1233221 7.2893887,13.1492999 L7.2893887,8.94298219 L1.76011213,8.94298219 C0.639530783,11.1345322 0,13.6142992 0,16.2337035 C0,18.8531079 0.639530783,21.3328749 1.76011213,23.5244249 L7.2893887,19.3181072 L7.2893887,19.3181072 Z" id="Shape" fill="#FBBC05"/>
<path d="M16.5492615,6.4563365 C18.9790577,6.4563365 21.160615,7.27558824 22.8758478,8.88382548 L27.6225407,4.22764161 C24.755872,1.60892511 21.0098485,0 16.5492615,0 C10.0803235,0 4.48302664,3.63813805 1.76011213,8.94298219 L7.2893887,13.1492999 C8.59088994,9.31236774 12.2394411,6.4563365 16.5492615,6.4563365 Z" id="Shape" fill="#EA4335"/>
</g>
</g>
</g>
</svg>
\ No newline at end of file
...@@ -26,6 +26,13 @@ ...@@ -26,6 +26,13 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
<title>React App</title> <title>React App</title>
</head> </head>
<body> <body>
......
import React, { lazy, Suspense } from "react"; import React, { lazy, Suspense } from "react";
import { BrowserRouter, Route, Routes } from "react-router-dom"; import { BrowserRouter, Route, Routes } from "react-router-dom";
const Login = lazy(() => import("./containers/Login")); const Login = lazy(() => import("./components/Social_buttons/Social_buttons"));
// import Social_buttons from 'components/Social_buttons/Social_buttons';
// import React from 'react';
function App() { function App() {
return ( return (
<div className="App"> <div className="App">
...@@ -13,8 +14,29 @@ function App() { ...@@ -13,8 +14,29 @@ function App() {
</Routes> </Routes>
</Suspense> </Suspense>
</BrowserRouter> </BrowserRouter>
</div> </div>
); );
} }
export default App; export default App;
// import Social_buttons from 'components/Social_buttons/Social_buttons';
// import React from 'react';
// import logo from './logo.svg';
// import './App.css';
// function App() {
// return (
// <Social_buttons />
// );
// }
// export default App;
\ No newline at end of file
#img{
padding-right: 8px;
height: 20px;
width: 30px;
}
.btn:not(:last-child) {
margin-right: 0.5rem;
}
.btn-neutral {
color: #5e72e4 !important;
border-color: #fff;
background-color: #fff;
box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 4px 3px rgb(0 0 0 / 8%);
}
.btn-neutral:hover {
color: black !important;
-webkit-transform: translateY(-1px);
transform: translateY(-1px);
}
.btn {
font-size: .875rem;
font-weight: 600;
line-height: 1.5;
display: inline-block;
padding: 0.625rem 1.25rem;
cursor: pointer;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
text-align: center;
vertical-align: middle;
color: #525f7f;
border: 1px solid transparent;
border-radius: 0.25rem;
background-color: transparent;
}
a {
text-decoration: none;
color: #5e72e4;
background-color: transparent;
}
*, ::after, ::before {
box-sizing: border-box;
}
.signIn {
background-color: #5e72e4 !important;
color: #fff !important;
}
.signIn:hover {
color: #fff;
-webkit-transform: translateY(-1px);
transform: translateY(-1px);
}
.check {
margin-left: 5px;
}
.check1{
margin-left: 10px;
}
input[type="text"] {
width: 100%;
border: none !important;
border-radius: 4px;
margin: 5px 0;
outline: none;
padding: 22px;
box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 4px 3px rgb(0 0 0 / 8%);
transition: 0.3s;
}
.inputWithIcon input[type="text"] {
padding-left: 40px;
}
.inputWithIcon {
position: relative;
}
.inputWithIcon i {
position: absolute;
left: 0;
top: 8px;
padding: 22px 8px;
color: #aaa;
transition: 0.3s;
}
.inputWithIcon.inputIconBg i {
background-color: #aaa;
color: #fff;
padding: 9px 4px;
border-radius: 4px 0 0 4px;
}
.main-content{
margin-top: 8rem !important;
font-family: Open Sans,sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
margin: 0;
text-align: left;
color: #525f7f;
background-color: #f8f9fe;
}
\ No newline at end of file
import React from "react";
import "./Social_buttons.css";
const Social_buttons = () => {
return (
<div className="main-content">
<div className="container mt--8 pb-5 pt-5 bg-secondary">
<div className="row justify-content-center">
<div className="col-lg-5 col-md-7">
<div className="card border-0 mb-0">
<div className="card-header bg-transparent pb-5">
<div className="text-muted text-center mt-2 mb-3"><small>Sign in with</small></div>
<div className="btn-wrapper text-center">
<a href="#" className="btn btn-neutral btn-icon">
<span className="btn-inner--icon">
<img src="github.svg" id="img" /></span>
<span className="btn-inner--text ">Github</span>
</a>
<a href="#" className="btn btn-neutral btn-icon">
<span className="btn-inner--icon"><img src="google.svg" id="img" /></span>
<span className="btn-inner--text ">Google</span>
</a>
</div>
</div>
<div className="card-body px-lg-5 py-lg-5">
<div className="text-center text-muted mb-4">
<small>Or sign in with credentials</small>
</div>
<form role="form">
<div class="inputWithIcon">
<input type="text" placeholder="Email" />
<i className="fas fa-envelope" aria-hidden="true"></i>
</div>
<div class="inputWithIcon">
<input type="text" placeholder="Password" />
<i className="fas fa-unlock-alt" aria-hidden="true"></i>
</div>
<div className="custom-control custom-control-alternative custom-checkbox pt-5">
<input className="custom-control-input check" id="customCheckLogin" type="checkbox" />
<label className="custom-control-label check1" for="customCheckLogin">
<span className="text-muted">Remember me</span>
</label>
</div>
<div className="text-center">
<button type="button" className="btn signIn my-4">Sign in</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
);
}
export default Social_buttons;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment