From 57e1c10d017afe4c6107285816e42180764cb270 Mon Sep 17 00:00:00 2001 From: VladMihalache <59883066+VladMihalache@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:41:41 +0300 Subject: [PATCH] Chakra Purity UI --- package.json | 3 ++- src/components/Footer/Footer.js | 18 ++++++++++------ src/components/Navbars/AdminNavbar.js | 1 + src/components/Navbars/AdminNavbarLinks.js | 3 +-- src/components/Navbars/AuthNavbar.js | 2 +- src/components/Sidebar/Sidebar.js | 4 ++-- src/index.js | 12 +++++------ src/routes.js | 24 +++++++++++----------- src/variables/general.js | 4 ++-- src/views/Dashboard/Billing.js | 2 +- src/views/Dashboard/Dashboard.js | 17 ++++++++------- 11 files changed, 50 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 4d18740cb..a4f8af894 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { - "name": "purity-dashboard-pro-react", + "name": "purity-dashboard-react", "version": "1.0.0", "private": true, + "homepage": "https://demos.creative-tim.com/purity-ui-dashboard/#/", "dependencies": { "@chakra-ui/icons": "^1.0.14", "@chakra-ui/react": "^1.6.5", diff --git a/src/components/Footer/Footer.js b/src/components/Footer/Footer.js index bd6cf533f..a22a063f5 100644 --- a/src/components/Footer/Footer.js +++ b/src/components/Footer/Footer.js @@ -35,7 +35,7 @@ export default function Footer(props) { {rtlActive ? " توقيت الإبداعية" : "Creative Tim "} @@ -44,7 +44,7 @@ export default function Footer(props) { {rtlActive ? "سيممبل " : " Simmmple"} @@ -58,7 +58,10 @@ export default function Footer(props) { md: "44px", }} > - + {rtlActive ? "توقيت الإبداعية" : "Creative Tim"} @@ -68,7 +71,10 @@ export default function Footer(props) { md: "44px", }} > - + {rtlActive ? "سيممبل" : "Simmmple"} @@ -81,7 +87,7 @@ export default function Footer(props) { {rtlActive ? "مدونة" : "Blog"} @@ -90,7 +96,7 @@ export default function Footer(props) { {rtlActive ? "رخصة" : "License"} diff --git a/src/components/Navbars/AdminNavbar.js b/src/components/Navbars/AdminNavbar.js index 5c79cf009..cffdc7861 100644 --- a/src/components/Navbars/AdminNavbar.js +++ b/src/components/Navbars/AdminNavbar.js @@ -46,6 +46,7 @@ export default function AdminNavbar(props) { ); } if (secondary) { + navbarBackdrop = "none"; navbarPosition = "absolute"; mainText = "white"; secondaryText = "white"; diff --git a/src/components/Navbars/AdminNavbarLinks.js b/src/components/Navbars/AdminNavbarLinks.js index f7a778a8a..ebcffdb9a 100644 --- a/src/components/Navbars/AdminNavbarLinks.js +++ b/src/components/Navbars/AdminNavbarLinks.js @@ -144,7 +144,6 @@ export default function HeaderLinks(props) { ref={settingsRef} onClick={onOpen} color={navbarIcon} - qqa w="18px" h="18px" /> @@ -158,7 +157,7 @@ export default function HeaderLinks(props) { - Chakra UI Configurator + Purity UI Configurator See your dashboard options. diff --git a/src/components/Navbars/AuthNavbar.js b/src/components/Navbars/AuthNavbar.js index b12bd797e..a16dc0a2f 100644 --- a/src/components/Navbars/AuthNavbar.js +++ b/src/components/Navbars/AuthNavbar.js @@ -71,7 +71,7 @@ export default function AuthNavbar(props) { } var brand = ( + - - - + + + - , + , document.getElementById("root") ); diff --git a/src/routes.js b/src/routes.js index c8dc9d591..e3d8aff2a 100644 --- a/src/routes.js +++ b/src/routes.js @@ -1,10 +1,10 @@ // import -import DashboardChakra from "views/Dashboard/Dashboard.js"; -import TablesChakra from "views/Dashboard/Tables.js"; -import BillingChakra from "views/Dashboard/Billing.js"; -import ProfileChakra from "views/Dashboard/Profile.js"; -import SignInChakra from "views/Pages/SignIn.js"; -import SignUpChakra from "views/Pages/SignUp.js"; +import Dashboard from "views/Dashboard/Dashboard.js"; +import Tables from "views/Dashboard/Tables.js"; +import Billing from "views/Dashboard/Billing.js"; +import Profile from "views/Dashboard/Profile.js"; +import SignIn from "views/Pages/SignIn.js"; +import SignUp from "views/Pages/SignUp.js"; import { HomeIcon, @@ -21,7 +21,7 @@ var dashRoutes = [ name: "Dashboard", rtlName: "لوحة القيادة", icon: , - component: DashboardChakra, + component: Dashboard, layout: "/admin", }, { @@ -29,7 +29,7 @@ var dashRoutes = [ name: "Tables", rtlName: "لوحة القيادة", icon: , - component: TablesChakra, + component: Tables, layout: "/admin", }, { @@ -37,7 +37,7 @@ var dashRoutes = [ name: "Billing", rtlName: "لوحة القيادة", icon: , - component: BillingChakra, + component: Billing, layout: "/admin", }, { @@ -52,7 +52,7 @@ var dashRoutes = [ rtlName: "لوحة القيادة", icon: , secondaryNavbar: true, - component: ProfileChakra, + component: Profile, layout: "/admin", }, { @@ -60,7 +60,7 @@ var dashRoutes = [ name: "Sign In", rtlName: "لوحة القيادة", icon: , - component: SignInChakra, + component: SignIn, layout: "/auth", }, { @@ -69,7 +69,7 @@ var dashRoutes = [ rtlName: "لوحة القيادة", icon: , secondaryNavbar: true, - component: SignUpChakra, + component: SignUp, layout: "/auth", }, ], diff --git a/src/variables/general.js b/src/variables/general.js index 6dc6f145a..116c9b5df 100644 --- a/src/variables/general.js +++ b/src/variables/general.js @@ -32,7 +32,7 @@ import { SiDropbox } from "react-icons/si"; export const dashboardTableData = [ { logo: AdobexdLogo, - name: "Chakra Soft UI Version", + name: "Purity UI Version", members: [avatar1, avatar2, avatar3, avatar4, avatar5], budget: "$14,000", progression: 60, @@ -172,7 +172,7 @@ export const tablesTableData = [ export const tablesProjectData = [ { logo: AdobexdLogo, - name: "Chakra Soft UI Version", + name: "Purity UI Version", budget: "$14,000", status: "Working", progression: 60, diff --git a/src/views/Dashboard/Billing.js b/src/views/Dashboard/Billing.js index b69c42596..7ee6e9595 100644 --- a/src/views/Dashboard/Billing.js +++ b/src/views/Dashboard/Billing.js @@ -74,7 +74,7 @@ function Billing() { > - Chakra UI + Purity UI - Chakra UI Soft Dashboard + Purity UI Dashboard From colors, cards, typography to complex elements, you will @@ -230,7 +230,7 @@ export default function Dashboard() { p="0px" variant="no-hover" bg="transparent" - my={{ sm: "1.5rem" }} + my={{ sm: "1.5rem", lg: "0px" }} > Read more @@ -281,7 +281,7 @@ export default function Dashboard() { bgPosition="center" bgRepeat="no-repeat" w="100%" - h={{ sm: "200px", md: "100%" }} + h={{ sm: "200px", lg: "100%" }} bgSize="cover" position="relative" borderRadius="15px" @@ -298,18 +298,21 @@ export default function Dashboard() { Work with the rockets - + Wealth creation is a revolutionary recent positive-sum game. It is all about who takes the opportunity first. - +