Skip to content
Snippets Groups Projects
Commit b44ee648 authored by 13prajakta's avatar 13prajakta
Browse files

Merge branch 'feature/dushyanth' of...

Merge branch 'feature/dushyanth' of gitlab.niveussolutions.com:prajakta.sathwane/sample_argon into feature/dushyanth
parents 8ba9de69 e249e755
No related branches found
No related tags found
No related merge requests found
Showing
with 18380 additions and 57 deletions
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
\ No newline at end of file
This diff is collapsed.
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@testing-library/jest-dom": "^5.16.1", "@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2", "@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
...@@ -12,6 +15,7 @@ ...@@ -12,6 +15,7 @@
"node-sass": "^7.0.1", "node-sass": "^7.0.1",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-router-dom": "^6.2.1", "react-router-dom": "^6.2.1",
"react-scripts": "5.0.0", "react-scripts": "5.0.0",
"web-vitals": "^2.1.2" "web-vitals": "^2.1.2"
......
...@@ -2,6 +2,7 @@ import React, { lazy, Suspense } from "react"; ...@@ -2,6 +2,7 @@ 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("./containers/Login"));
function App() { function App() {
return ( return (
<div className="App"> <div className="App">
...@@ -9,6 +10,8 @@ function App() { ...@@ -9,6 +10,8 @@ function App() {
<Suspense fallback={<div> loading</div>}> <Suspense fallback={<div> loading</div>}>
<Routes> <Routes>
<Route exact path="/login" element={<Login />} /> <Route exact path="/login" element={<Login />} />
<Route path="/" element={<Login />} /> <Route path="/" element={<Login />} />
</Routes> </Routes>
</Suspense> </Suspense>
......
src/assets/img/brand/blue.png

7.7 KiB

import teamF from "./team-1.jpg"
import teamS from "./team-2.jpg"
import teamT from "./team-3.jpg"
import teamFour from "./team-4.jpg"
import teamFive from "./team-5.jpg"
export {
teamF,
teamS,
teamT,
teamFour,
teamFive
}
\ No newline at end of file
src/assets/img/images/team-1.jpg

163 KiB

src/assets/img/images/team-2.jpg

260 KiB

src/assets/img/images/team-3.jpg

169 KiB

src/assets/img/images/team-4.jpg

122 KiB

src/assets/img/images/team-5.jpg

163 KiB

src/assets/img/theme/hand.png

3.6 KiB

src/assets/img/theme/hand1.png

1.5 KiB

//import noImg from './noimg.png'
import team1 from "./team-1.jpg"
import hand1 from "./hand1.png"
export {team1,hand1}
src/assets/img/theme/noImg.png

2.68 KiB

/*--------------------------------
hermes-dashboard-icons Web Font - built using nucleoapp.com
License - nucleoapp.com/license/
-------------------------------- */
/*------------------------
base class definition
-------------------------*/
@font-face {
font-family: "NucleoIcons";
src: url("~assets/fonts/nucleo/nucleo-icons.eot");
src: url("~assets/fonts/nucleo/nucleo-icons.eot") format("embedded-opentype"),
url("~assets/fonts/nucleo/nucleo-icons.woff2") format("woff2"),
url("~assets/fonts/nucleo/nucleo-icons.woff") format("woff"),
url("~assets/fonts/nucleo/nucleo-icons.ttf") format("truetype"),
url("~assets/fonts/nucleo/nucleo-icons.svg") format("svg");
font-weight: normal;
font-style: normal;
}
.ni {
display: inline-block;
font: normal normal normal 14px/1 NucleoIcons;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/*------------------------
change icon size
-------------------------*/
.ni-lg {
font-size: 1.33333333em;
line-height: 0.75em;
vertical-align: -15%;
}
.ni-2x {
font-size: 2em;
}
.ni-3x {
font-size: 3em;
}
.ni-4x {
font-size: 4em;
}
.ni-5x {
font-size: 5em;
}
/*----------------------------------
add a square/circle background
-----------------------------------*/
.ni.square,
.ni.circle {
padding: 0.33333333em;
vertical-align: -16%;
background-color: #eee;
}
.ni.circle {
border-radius: 50%;
}
/*------------------------
list icons
-------------------------*/
.ni-ul {
padding-left: 0;
margin-left: 2.14285714em;
list-style-type: none;
}
.ni-ul > li {
position: relative;
}
.ni-ul > li > .ni {
position: absolute;
left: -1.57142857em;
top: 0.14285714em;
text-align: center;
}
.ni-ul > li > .ni.lg {
top: 0;
left: -1.35714286em;
}
.ni-ul > li > .ni.circle,
.ni-ul > li > .ni.square {
top: -0.19047619em;
left: -1.9047619em;
}
/*------------------------
spinning icons
-------------------------*/
.ni.spin {
-webkit-animation: nc-spin 2s infinite linear;
-moz-animation: nc-spin 2s infinite linear;
animation: nc-spin 2s infinite linear;
}
@-webkit-keyframes nc-spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@-moz-keyframes nc-spin {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
}
}
@keyframes nc-spin {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/*------------------------
rotated/flipped icons
-------------------------*/
.ni.rotate-90 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
}
.ni.rotate-180 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
.ni.rotate-270 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg);
}
.ni.flip-y {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
-webkit-transform: scale(-1, 1);
-moz-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.ni.flip-x {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-webkit-transform: scale(1, -1);
-moz-transform: scale(1, -1);
-ms-transform: scale(1, -1);
-o-transform: scale(1, -1);
transform: scale(1, -1);
}
/*------------------------
font icons
-------------------------*/
.ni-active-40::before {
content: "\ea02";
}
.ni-air-baloon::before {
content: "\ea03";
}
.ni-album-2::before {
content: "\ea04";
}
.ni-align-center::before {
content: "\ea05";
}
.ni-align-left-2::before {
content: "\ea06";
}
.ni-ambulance::before {
content: "\ea07";
}
.ni-app::before {
content: "\ea08";
}
.ni-archive-2::before {
content: "\ea09";
}
.ni-atom::before {
content: "\ea0a";
}
.ni-badge::before {
content: "\ea0b";
}
.ni-bag-17::before {
content: "\ea0c";
}
.ni-basket::before {
content: "\ea0d";
}
.ni-bell-55::before {
content: "\ea0e";
}
.ni-bold-down::before {
content: "\ea0f";
}
.ni-bold-left::before {
content: "\ea10";
}
.ni-bold-right::before {
content: "\ea11";
}
.ni-bold-up::before {
content: "\ea12";
}
.ni-bold::before {
content: "\ea13";
}
.ni-book-bookmark::before {
content: "\ea14";
}
.ni-books::before {
content: "\ea15";
}
.ni-box-2::before {
content: "\ea16";
}
.ni-briefcase-24::before {
content: "\ea17";
}
.ni-building::before {
content: "\ea18";
}
.ni-bulb-61::before {
content: "\ea19";
}
.ni-bullet-list-67::before {
content: "\ea1a";
}
.ni-bus-front-12::before {
content: "\ea1b";
}
.ni-button-pause::before {
content: "\ea1c";
}
.ni-button-play::before {
content: "\ea1d";
}
.ni-button-power::before {
content: "\ea1e";
}
.ni-calendar-grid-58::before {
content: "\ea1f";
}
.ni-camera-compact::before {
content: "\ea20";
}
.ni-caps-small::before {
content: "\ea21";
}
.ni-cart::before {
content: "\ea22";
}
.ni-chart-bar-32::before {
content: "\ea23";
}
.ni-chart-pie-35::before {
content: "\ea24";
}
.ni-chat-round::before {
content: "\ea25";
}
.ni-check-bold::before {
content: "\ea26";
}
.ni-circle-08::before {
content: "\ea27";
}
.ni-cloud-download-95::before {
content: "\ea28";
}
.ni-cloud-upload-96::before {
content: "\ea29";
}
.ni-compass-04::before {
content: "\ea2a";
}
.ni-controller::before {
content: "\ea2b";
}
.ni-credit-card::before {
content: "\ea2c";
}
.ni-curved-next::before {
content: "\ea2d";
}
.ni-delivery-fast::before {
content: "\ea2e";
}
.ni-diamond::before {
content: "\ea2f";
}
.ni-email-83::before {
content: "\ea30";
}
.ni-fat-add::before {
content: "\ea31";
}
.ni-fat-delete::before {
content: "\ea32";
}
.ni-fat-remove::before {
content: "\ea33";
}
.ni-favourite-28::before {
content: "\ea34";
}
.ni-folder-17::before {
content: "\ea35";
}
.ni-glasses-2::before {
content: "\ea36";
}
.ni-hat-3::before {
content: "\ea37";
}
.ni-headphones::before {
content: "\ea38";
}
.ni-html5::before {
content: "\ea39";
}
.ni-istanbul::before {
content: "\ea3a";
}
.ni-key-25::before {
content: "\ea3b";
}
.ni-laptop::before {
content: "\ea3c";
}
.ni-like-2::before {
content: "\ea3d";
}
.ni-lock-circle-open::before {
content: "\ea3e";
}
.ni-map-big::before {
content: "\ea3f";
}
.ni-mobile-button::before {
content: "\ea40";
}
.ni-money-coins::before {
content: "\ea41";
}
.ni-note-03::before {
content: "\ea42";
}
.ni-notification-70::before {
content: "\ea43";
}
.ni-palette::before {
content: "\ea44";
}
.ni-paper-diploma::before {
content: "\ea45";
}
.ni-pin-3::before {
content: "\ea46";
}
.ni-planet::before {
content: "\ea47";
}
.ni-ruler-pencil::before {
content: "\ea48";
}
.ni-satisfied::before {
content: "\ea49";
}
.ni-scissors::before {
content: "\ea4a";
}
.ni-send::before {
content: "\ea4b";
}
.ni-settings-gear-65::before {
content: "\ea4c";
}
.ni-settings::before {
content: "\ea4d";
}
.ni-single-02::before {
content: "\ea4e";
}
.ni-single-copy-04::before {
content: "\ea4f";
}
.ni-sound-wave::before {
content: "\ea50";
}
.ni-spaceship::before {
content: "\ea51";
}
.ni-square-pin::before {
content: "\ea52";
}
.ni-support-16::before {
content: "\ea53";
}
.ni-tablet-button::before {
content: "\ea54";
}
.ni-tag::before {
content: "\ea55";
}
.ni-tie-bow::before {
content: "\ea56";
}
.ni-time-alarm::before {
content: "\ea57";
}
.ni-trophy::before {
content: "\ea58";
}
.ni-tv-2::before {
content: "\ea59";
}
.ni-umbrella-13::before {
content: "\ea5a";
}
.ni-user-run::before {
content: "\ea5b";
}
.ni-vector::before {
content: "\ea5c";
}
.ni-watch-time::before {
content: "\ea5d";
}
.ni-world::before {
content: "\ea5e";
}
.ni-zoom-split-in::before {
content: "\ea5f";
}
.ni-collection::before {
content: "\ea60";
}
.ni-image::before {
content: "\ea61";
}
.ni-shop::before {
content: "\ea62";
}
.ni-ungroup::before {
content: "\ea63";
}
.ni-world-2::before {
content: "\ea64";
}
.ni-ui-04::before {
content: "\ea65";
}
/* all icon font classes list here */
\ No newline at end of file
.customButton { .btn {
background-color: red; font-size: 0.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 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
text-align: center;
vertical-align: middle;
color: #525f7f;
border: 1px solid transparent;
border-radius: 0.25rem;
background-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
.btn {
transition: none;
}
}
.btn:hover {
text-decoration: none;
color: #525f7f;
}
.btn.focus,
.btn:focus {
outline: 0;
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
.btn.disabled,
.btn:disabled {
opacity: 0.65;
box-shadow: none;
}
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
box-shadow: none;
}
.btn:not(:disabled):not(.disabled).active:focus,
.btn:not(:disabled):not(.disabled):active:focus {
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
a.btn.disabled,
fieldset:disabled a.btn {
pointer-events: none;
}
.btn-primary {
color: #fff;
border-color:white;
background-color: white;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
color: #fff;
border-color: white;
background-color: white;
}
.btn-primary.focus,
.btn-primary:focus {
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08),
0 0 0 0 rgba(94, 114, 228, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
color: #fff;
border-color: #5e72e4;
background-color: #5e72e4;
}
.btn-sm {
font-size: 0.75rem;
line-height: 1.5;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
}
.btn-neutral {
color: #212529;
border-color: #fff;
background-color: #fff;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-neutral:hover {
color: #212529;
border-color: #fff;
background-color: #fff;
}
.btn-neutral.focus,
.btn-neutral:focus {
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08),
0 0 0 0 rgba(255, 255, 255, 0.5);
}
.btn-neutral.disabled,
.btn-neutral:disabled {
color: #212529;
border-color: #fff;
background-color: #fff;
}
.btn-neutral:not(:disabled):not(.disabled).active,
.btn-neutral:not(:disabled):not(.disabled):active,
.show > .btn-neutral.dropdown-toggle {
color: #212529;
border-color: #fff;
background-color: #e6e6e6;
}
.btn-neutral:not(:disabled):not(.disabled).active:focus,
.btn-neutral:not(:disabled):not(.disabled):active:focus,
.show > .btn-neutral.dropdown-toggle:focus {
box-shadow: none, 0 0 0 0 rgba(255, 255, 255, 0.5);
}
.btn-darker {
color: #fff;
border-color: #000;
background-color: #000;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-darker:hover {
color: #fff;
border-color: #000;
background-color: #000;
}
.btn-darker.focus,
.btn-darker:focus {
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08),
0 0 0 0 rgba(0, 0, 0, 0.5);
}
.btn-darker.disabled,
.btn-darker:disabled {
color: #fff;
border-color: #000;
background-color: #000;
}
.btn-darker:not(:disabled):not(.disabled).active,
.btn-darker:not(:disabled):not(.disabled):active,
.show > .btn-darker.dropdown-toggle {
color: #fff;
border-color: #000;
background-color: #000;
}
.btn-darker:not(:disabled):not(.disabled).active:focus,
.btn-darker:not(:disabled):not(.disabled):active:focus,
.show > .btn-darker.dropdown-toggle:focus {
box-shadow: none, 0 0 0 0 rgba(0, 0, 0, 0.5);
}
.nav-link {
display: block;
padding: 0.25rem 0.75rem;
}
.nav-link:focus,
.nav-link:hover {
text-decoration: none;
}
.nav-link.disabled {
cursor: default;
pointer-events: none;
color: #8898aa;
}
.nav-tabs {
border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-item {
margin-bottom: -1px;
}
.nav-tabs .nav-link {
border: 1px solid transparent;
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
border-color: #e9ecef #e9ecef #dee2e6;
}
.nav-tabs .nav-link.disabled {
color: #8898aa;
border-color: transparent;
background-color: transparent;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
color: #525f7f;
border-color: #dee2e6 #dee2e6 #f8f9fe;
background-color: #f8f9fe;
}
.py-2 {
padding-top: 0.5rem !important;
}
.py-2 {
padding-bottom: 0.5rem !important;
}
.px-3 {
padding-right: 1rem !important;
}
.px-3 {
padding-left: 1rem !important;
}
.d-none {
display: none !important;
}
.d-md-block {
display: block !important;
}
.d-md-none {
display: none !important;
}
.btn-primary {
color: #fff;
border-color: #5e72e4;
background-color: #5e72e4;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
color: #fff;
border-color: #5e72e4;
background-color: #5e72e4;
}
.btn-primary.focus,
.btn-primary:focus {
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08),
0 0 0 0 rgba(94, 114, 228, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
color: #fff;
border-color: #5e72e4;
background-color: #5e72e4;
} }
import React from "react"; import React from 'react'
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import cs from "classnames"; import "./Button.module.scss";
import styles from "./Button.module.scss";
function Button(props) { function Button(props) {
return <div className={cs(styles.customButton)}>here</div>; const{label,customClass}=props;
} return (
<>
<button className={`btn ${customClass}`}>
{label}
</button>
Button.propTypes = {}; </>
)
}
export default Button; export default Button
import React from 'react'
import {teamFour} from "../../assets/img/images";
import {label} from "../Header/HeaderConstant"
import { useState } from "react";
function Dropdown(props) {
const [show, setShow] = useState("");
const showDropdown=()=>{
setShow(show == '' ? 'showdropdown' : '')
}
return (
<ul class="navbar-nav align-items-center ml-auto ml-md-0 ">
<li class="nav-item dropdown">
<a class="nav-link pr-0" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="media align-items-center" onClick={showDropdown}>
<span class="avatar avatar-sm rounded-circle">
<img alt="Image placeholder" src={teamFour} />
</span>
<div class="media-body ml-2 d-none d-lg-block">
<span class="mb-0 text-sm font-weight-bold">John Snow</span>
</div>
</div>
</a>
<div class={`dropdown-menu dropdown-menu-right ${show}`}>
<div class="dropdown-header noti-title">
<h6 class="text-overflow m-0">Welcome!</h6>
</div>
{label.map((profileData)=>(
<a class="dropdown-item">
<i class={`ni ${profileData.coustomClass}`}></i>
<span>{profileData.label}</span>
</a>
))}
</div>
</li>
</ul>
)
}
export default Dropdown
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment