diff --git a/client/src/assets/styles/components/Alert.scss b/client/src/assets/styles/components/Alert.scss index 156bc8a7..62c53daf 100644 --- a/client/src/assets/styles/components/Alert.scss +++ b/client/src/assets/styles/components/Alert.scss @@ -12,7 +12,7 @@ padding: 15px 15px; justify-content: center; - align-items: end; + align-items: end; gap: 10px; } diff --git a/client/src/assets/styles/components/infoBox.scss b/client/src/assets/styles/components/infoBox.scss new file mode 100644 index 00000000..03986681 --- /dev/null +++ b/client/src/assets/styles/components/infoBox.scss @@ -0,0 +1,35 @@ +.info-box { + height: 97px; + flex-shrink: 0; + border-radius: 12px; + + display: flex; + flex-direction: column; + justify-content: space-around; + align-items: end; + + padding-right: 2rem; + + &.narrow { + width: 40%; + } + + &.wide { + width: 90%; + } + + &.dark { + + background: var(--simnle-grid, linear-gradient(113deg, #1F2A37 6.36%, rgba(31, 42, 55, 0.00) 108.22%)); + } + + &.purple { + background: var(--pur-grid, linear-gradient(115deg, #B773E9 2.95%, #5B1092 95.69%)); + + } + + &.colorfull { + background: linear-gradient(96deg, #650DA6 -11.62%, #650DA6 -11.61%, #DF1846 119.72%); + box-shadow: 4px 5px 103.7px 0px var(--Primary-800, #2B0547); + } +} \ No newline at end of file diff --git a/client/src/assets/styles/global/global.scss b/client/src/assets/styles/global/global.scss index d6a7ae8e..2ddba2b7 100644 --- a/client/src/assets/styles/global/global.scss +++ b/client/src/assets/styles/global/global.scss @@ -19,4 +19,4 @@ body { a { color: var(--text-color); text-decoration: none; -} +} \ No newline at end of file diff --git a/client/src/components/common/Alerts.jsx b/client/src/components/common/Alerts.jsx index 1d25b7d2..21657456 100644 --- a/client/src/components/common/Alerts.jsx +++ b/client/src/components/common/Alerts.jsx @@ -24,7 +24,7 @@ const Alert = ({ title, info, buttontext, Onclick, showRightBox, color }) => { className={ showRightBox ? "right-box " + color : "right-box hide " + color } - /> + / > {info} diff --git a/client/src/components/common/InfoBox.jsx b/client/src/components/common/InfoBox.jsx new file mode 100644 index 00000000..62d9420a --- /dev/null +++ b/client/src/components/common/InfoBox.jsx @@ -0,0 +1,12 @@ +import React from "react"; +import "../../assets/styles/components/infoBox.scss"; +const InfoBox = ({ title, value, width = "narrow", color = "dark" }) => { + return ( +
+ {title} + {value} +
+ ); +}; + +export default InfoBox; diff --git a/client/src/components/common/PageTitle.jsx b/client/src/components/common/PageTitle.jsx new file mode 100644 index 00000000..3bc8069e --- /dev/null +++ b/client/src/components/common/PageTitle.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const PageTitle = ({title}) => { + return ( +

{title}

+ ) +} + +export default PageTitle \ No newline at end of file diff --git a/client/src/components/landingpage/LandingPage.jsx b/client/src/components/landingpage/LandingPage.jsx index 932415f7..0203440c 100644 --- a/client/src/components/landingpage/LandingPage.jsx +++ b/client/src/components/landingpage/LandingPage.jsx @@ -4,6 +4,8 @@ import FancyBlobs from "./FancyBlobs"; import "./LandingPage.scss"; +import PageTitle from "../common/PageTitle"; + import { FolderIcon, AcademicCapIcon, @@ -50,7 +52,8 @@ export default function LandingPage() {
-

نظام إدارة الكشافة الحديث

+ +

نقدم حلول لكل مشاكل اداريات المجموعات من تسجيل الغياب الاشتراكات المواضيع التقييم وغيرهم من الامور.