diff --git a/src/components/LoginForm.js b/src/components/LoginForm.js deleted file mode 100644 index 3a9fa98..0000000 --- a/src/components/LoginForm.js +++ /dev/null @@ -1,323 +0,0 @@ -import React, { useState } from 'react'; -import { - TextField, - Button, - Typography, - Stack, - Box, - IconButton, - InputAdornment -} from '@mui/material'; -import { useTheme } from '@mui/material/styles'; -import VisibilityOffOutlinedIcon from '@mui/icons-material/VisibilityOffOutlined'; -import { VisibilityOutlined } from '@mui/icons-material'; - -const LoginForm = () => { - const theme = useTheme(); - const [showPassword, setShowPassword] = useState(false); - - const handleTogglePassword = () => { - setShowPassword((prev) => !prev); - }; - - return ( - - - - - {/* Logo */} - - logo - - - - Login - - - - Enter your username and password to access your account securely. Welcome back to our service! - - - {/* Email Input */} - - - Email - - - - - {/* Password Input */} - - - Password - - - - {showPassword ? : } - - - ) - }} - /> - - - {/* Login Button */} - - - - - {/* Divider */} - - - - Or - - - - - {/* Google Button */} - - - {/* Facebook Button */} - - - {/* Register Link */} - - Don’t have an account?{' '} - - Register - - - - {/* Terms */} - - By logging in, I agree to the{' '} - - Terms of Service - {' '} - and{' '} - - Privacy Policy - . - - - - - ); -}; - -export default LoginForm; diff --git a/src/components/SidePanel.js b/src/components/SidePanel.js deleted file mode 100644 index 7d00257..0000000 --- a/src/components/SidePanel.js +++ /dev/null @@ -1,182 +0,0 @@ -import React, { useState, useEffect } from 'react'; - - -import { - Button, - Typography, - Stack, - Box -} from '@mui/material'; - -import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; // استيراد أيقونة السهم - -const SidePanel = ({ setMode, mode }) => { - const [currentSlide, setCurrentSlide] = useState(0); - - const slides = [ - { - image: '/images/waitress3.png', - title: "Welcome to our cutting-edge postal application,", - description: "Welcome to our cutting-edge postal application, where sending and receiving mail has never been more convenient and efficient." - }, - { - image: '/images/waitress3.png', - title: "Second Slide Title", - description: "Welcome to our cutting-edge postal application, where sending and receiving mail has never been more convenient and efficient." - }, - { - image: '/images/waitress3.png', - title: "Third Slide Title", - description: "Welcome to our cutting-edge postal application, where sending and receiving mail has never been more convenient and efficient." - }, - { - image: '/images/waitress3.png', - title: "Fourth Slide Title", - description: "Welcome to our cutting-edge postal application, where sending and receiving mail has never been more convenient and efficient." - } - ]; - - useEffect(() => { - const interval = setInterval(() => { - setCurrentSlide((prev) => (prev + 1) % slides.length); - }, 5000); - return () => clearInterval(interval); - }, [slides.length]); - - return ( - - - - - {/* الصورة الحالية */} - {`Slide - - {/* مربع النص في الأسفل */} - - - - - {slides[currentSlide].description} - - - - {/* مؤشرات الشرائح */} - - {slides.map((_, index) => ( - setCurrentSlide(index)} - /> - ))} - - - - - - - - ) -} - -export default SidePanel; \ No newline at end of file