From b3b761923c75b346c4b239d36c98fdc3d8391132 Mon Sep 17 00:00:00 2001 From: Ajay-Dhangar Date: Sat, 21 Sep 2024 08:06:05 +0530 Subject: [PATCH] change styles for some components --- src/components/CareerPage/index.tsx | 4 +- src/components/RateUsPopup/RateUsPopup.js | 57 --------------- .../RateUsPopup/RateUsPopup.module.css | 73 ------------------- src/components/Tweet/index.tsx | 32 ++++---- src/components/Tweet/styles.module.css | 13 ---- src/components/TweetQuote/index.tsx | 48 ++++++------ src/components/TweetQuote/styles.module.css | 57 --------------- src/components/popup/popup.tsx | 2 +- 8 files changed, 43 insertions(+), 243 deletions(-) delete mode 100644 src/components/RateUsPopup/RateUsPopup.js delete mode 100644 src/components/RateUsPopup/RateUsPopup.module.css delete mode 100644 src/components/Tweet/styles.module.css delete mode 100644 src/components/TweetQuote/styles.module.css diff --git a/src/components/CareerPage/index.tsx b/src/components/CareerPage/index.tsx index 54aeea610..9c75bd176 100644 --- a/src/components/CareerPage/index.tsx +++ b/src/components/CareerPage/index.tsx @@ -93,7 +93,7 @@ const CareerPage: React.FC = () => { }; return ( -
+

Career Opportunities for You

@@ -127,7 +127,7 @@ const CareerPage: React.FC = () => {
-
+
{filteredCareers.map((career) => ( ))} diff --git a/src/components/RateUsPopup/RateUsPopup.js b/src/components/RateUsPopup/RateUsPopup.js deleted file mode 100644 index 1e24f81e1..000000000 --- a/src/components/RateUsPopup/RateUsPopup.js +++ /dev/null @@ -1,57 +0,0 @@ -// src/components/RateUsPopup/RateUsPopup.js -import React, { useState } from 'react'; -import clsx from 'clsx'; -import style from './RateUsPopup.module.css'; -import { motion } from 'framer-motion'; - -function RateUsPopup({ onClose }) { - const [rating, setRating] = useState(0); - const [feedback, setFeedback] = useState(''); - - const handleSubmit = (e) => { - e.preventDefault(); - // Handle form submission logic here - console.log({ rating, feedback }); - onClose(); - }; - - return ( -
- - -

Rate Us

-
-
- {[...Array(5)].map((_, index) => ( - setRating(index + 1)} - > - ★ - - ))} -
-