From b22998fd5b44f86847da28b5dab9190639ccf40c Mon Sep 17 00:00:00 2001 From: amir-kedis Date: Sat, 23 Dec 2023 10:39:10 +0200 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=A6=B4=20feat:=20landing=20page=20mar?= =?UTF-8?q?kup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/package.json | 2 +- .../assets/styles/components/FancyBlobs.scss | 9 ++- .../components/landingpage/LandingPage.jsx | 78 ++++++++++++++++--- 3 files changed, 75 insertions(+), 14 deletions(-) diff --git a/client/package.json b/client/package.json index c5c6a20a..459e6d93 100644 --- a/client/package.json +++ b/client/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --host", "build": "vite build", "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" diff --git a/client/src/assets/styles/components/FancyBlobs.scss b/client/src/assets/styles/components/FancyBlobs.scss index 7d2054bc..01000dad 100644 --- a/client/src/assets/styles/components/FancyBlobs.scss +++ b/client/src/assets/styles/components/FancyBlobs.scss @@ -6,6 +6,7 @@ top: 20vh; left: 0; z-index: -1; + --animation-duration: 5s; > * { position: absolute; @@ -18,7 +19,7 @@ fill: linear-gradient(82deg, #8900c9 38.7%, #fcf 76.51%); filter: blur(150px); top: -167px; - animation: BlobMove1 10s ease-in-out infinite forwards; + animation: BlobMove1 var(--animation-duration) ease-in-out infinite forwards; } .Blob-2 { @@ -26,7 +27,7 @@ filter: blur(125px); top: 66px; left: -71px; - animation: BlobMove2 10s ease-in-out infinite forwards; + animation: BlobMove2 var(--animation-duration) ease-in-out infinite forwards; } .Blob-3 { @@ -37,7 +38,7 @@ filter: blur(150px); top: 460px; left: 0; - animation: BlobMove3 10s ease-in-out infinite forwards; + animation: BlobMove3 var(--animation-duration) ease-in-out infinite forwards; } .Blob-4 { @@ -48,7 +49,7 @@ filter: blur(150px); top: 503px; left: 150px; - animation: BlobMove4 10s ease-in-out infinite forwards; + animation: BlobMove4 var(--animation-duration) ease-in-out infinite forwards; } } diff --git a/client/src/components/landingpage/LandingPage.jsx b/client/src/components/landingpage/LandingPage.jsx index 478f5f19..a51bd0c7 100644 --- a/client/src/components/landingpage/LandingPage.jsx +++ b/client/src/components/landingpage/LandingPage.jsx @@ -4,18 +4,78 @@ import Footer from "../common/Footer"; import FancyBlobs from "./FancyBlobs"; +import { + FolderIcon, + AcademicCapIcon, + PresentationChartLineIcon, + PencilSquareIcon, + BanknotesIcon, + FlagIcon, + BellAlertIcon, +} from "@heroicons/react/24/solid"; + +const features = [ + { + icon: , + text: "إدارة الغياب والاشتراك الاسبوعي", + }, + { + icon: , + text: "تقييم الأفراد ووضع النتائج", + }, + { + icon: , + text: "وضع الاحصاءيات والتقارير", + }, + { + icon: , + text: "تسجيل المواضيع والانشطة المتنوعة", + }, + { + icon: , + text: "إدارة الماليات والخزنة", + }, + { + icon: , + text: "إنشاء التقارير وتسجيل مجالس الشرف", + }, + { + icon: , + text: "إرسال التنبيهات والاشعارات للقادة", + }, +]; + export default function LandingPage() { return ( <> -