diff --git a/frontend/src/components/Testimonials.jsx b/frontend/src/components/Testimonials.jsx
index 6c15e53..e3e0ea4 100644
--- a/frontend/src/components/Testimonials.jsx
+++ b/frontend/src/components/Testimonials.jsx
@@ -3,31 +3,32 @@ import { Swiper, SwiperSlide } from "swiper/react"; // Swiper import
import "swiper/css"; // Swiper CSS import
export default function Testimonials() {
- const testimonials = [{
- url: 'https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(1).jpg',
- name: 'Maria Smantha',
- job: 'Web Developer',
- desc: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod eos id officiis hic tenetur quae quaerat ad velit ab hic.'
- },
- {
- url: 'https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(2).jpg',
- name: 'Lisa Cudrow',
- job: 'Graphic Designer',
- desc: 'Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid commodi.'
- },
- {
- url: 'https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(9).jpg',
- name: 'John Smith',
- job: 'Marketing Specialist',
- desc: 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti.'
- },
- {
- url: 'https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(10).jpg',
- name: 'Anna Lee',
- job: 'Project Manager',
- desc: 'Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.'
- },
- ]
+ const testimonials = [
+ {
+ url: "https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(1).jpg",
+ name: "Maria Smantha",
+ job: "Web Developer",
+ desc: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod eos id officiis hic tenetur quae quaerat ad velit ab hic.",
+ },
+ {
+ url: "https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(2).jpg",
+ name: "Lisa Cudrow",
+ job: "Graphic Designer",
+ desc: "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid commodi.",
+ },
+ {
+ url: "https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(9).jpg",
+ name: "John Smith",
+ job: "Marketing Specialist",
+ desc: "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti.",
+ },
+ {
+ url: "https://mdbcdn.b-cdn.net/img/Photos/Avatars/img%20(10).jpg",
+ name: "Anna Lee",
+ job: "Project Manager",
+ desc: "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",
+ },
+ ];
return (
@@ -38,24 +39,26 @@ export default function Testimonials() {
breakpoints={{
768: { slidesPerView: 2 }, // 2 slides for medium screens
1024: { slidesPerView: 3 }, // 3 slides for medium screens
- 1280: { slidesPerView: 4 } // 4 slides for large screens
+ 1280: { slidesPerView: 4 }, // 4 slides for large screens
}}
>
{testimonials.map((Testimonial) => {
return (
-
+
{Testimonial.name}
-
{Testimonial.job}
-
- {Testimonial.desc}
-
+
+ {Testimonial.job}
+
+
{Testimonial.desc}
);
diff --git a/frontend/src/components/style/carousel2.css b/frontend/src/components/style/carousel2.css
index e742be7..129e1a8 100644
--- a/frontend/src/components/style/carousel2.css
+++ b/frontend/src/components/style/carousel2.css
@@ -1,92 +1,91 @@
/* carousel.css */
.carousel-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 80px; /* Pushes the carousel down a bit */
- }
-
- .title-container {
- text-align: center;
- margin-bottom: 20px;
- }
-
- .carousel-title {
- font-family: 'Poppins', sans-serif; /* A clean font, feel free to use another */
- font-size: 3rem;
- font-weight: bold;
- color: white;
- display: inline-flex;
- align-items: center;
- }
-
- .infinite-logo {
- font-size: 2.5rem;
- margin-left: 10px;
- color: #6c63ff; /* Purple color for logo */
- }
-
- .carousel {
- position: relative;
- width: 80%; /* Make the carousel smaller */
- max-width: 900px;
- overflow: hidden;
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds shadow to the box */
- border-radius: 10px;
- }
-
- .list {
- display: flex;
- transition: transform 0.5s ease;
- }
-
- .item {
- min-width: 100%;
- height: 400px;
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- .item img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 10px;
- }
-
- .content {
- position: absolute;
- bottom: 20px;
- left: 20px;
- color: white;
- background-color: rgba(0, 0, 0, 0.5);
- padding: 10px;
- border-radius: 5px;
- }
-
- .arrows {
- position: absolute;
- top: 50%;
- width: 100%;
- display: flex;
- justify-content: space-between;
- transform: translateY(-50%);
- }
-
- .arrows button {
- background: none;
- border: none;
- font-size: 1.5rem;
- color: white;
- cursor: pointer;
- padding: 10px;
- }
-
- .arrows button:hover {
- background-color: rgba(0, 0, 0, 0.2);
- border-radius: 50%;
- }
-
\ No newline at end of file
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ margin-top: 60px; /* Pushes the carousel down a bit */
+}
+
+.title-container {
+ text-align: center;
+ margin-bottom: 10px;
+}
+
+.carousel-title {
+ font-family: "Poppins", sans-serif; /* A clean font, feel free to use another */
+ font-size: 3rem;
+ font-weight: bold;
+ color: white;
+ display: inline-flex;
+ align-items: center;
+}
+
+.infinite-logo {
+ font-size: 2.5rem;
+ margin-left: 10px;
+ color: #6c63ff; /* Purple color for logo */
+}
+
+.carousel {
+ position: relative;
+ width: 80%; /* Make the carousel smaller */
+ max-width: 900px;
+ overflow: hidden;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds shadow to the box */
+ border-radius: 10px;
+}
+
+.list {
+ display: flex;
+ transition: transform 0.5s ease;
+}
+
+.item {
+ min-width: 100%;
+ height: 400px;
+ position: relative;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.item img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ border-radius: 10px;
+}
+
+.content {
+ position: absolute;
+ bottom: 20px;
+ left: 20px;
+ color: white;
+ background-color: rgba(0, 0, 0, 0.5);
+ padding: 10px;
+ border-radius: 5px;
+}
+
+.arrows {
+ position: absolute;
+ top: 50%;
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ transform: translateY(-50%);
+}
+
+.arrows button {
+ background: none;
+ border: none;
+ font-size: 1.5rem;
+ color: white;
+ cursor: pointer;
+ padding: 10px;
+}
+
+.arrows button:hover {
+ background-color: rgba(0, 0, 0, 0.2);
+ border-radius: 50%;
+}
From 8d180299850c4fcc7a8c6a32953fc1ec93c015dc Mon Sep 17 00:00:00 2001
From: Naitik khoriya
Date: Tue, 22 Oct 2024 09:51:28 +0530
Subject: [PATCH 2/2] "Updated index.html and App.jsx with minor formatting
changes, added Bootstrap CSS and JS, and imported Faq component in App.jsx"
---
frontend/index.html | 17 +++-
frontend/src/App.jsx | 5 +-
frontend/src/components/Faq.jsx | 149 ++++++++++++++++++++++++++++++++
3 files changed, 166 insertions(+), 5 deletions(-)
create mode 100644 frontend/src/components/Faq.jsx
diff --git a/frontend/index.html b/frontend/index.html
index 146e265..3ada7dc 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -1,16 +1,27 @@
-
+
-
+
+
devXsphere
-
+
+
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index 8276414..20af96f 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -4,9 +4,9 @@ import TeamSection from "./components/TeamSection";
import Footer from "./components/Footer";
import Testimonials from "./components/Testimonials";
import Main from "./components/Main";
-import Events from "./components/Events"
+import Events from "./components/Events";
import Carousel from "./components/Carousel";
-
+import Faq from "./components/Faq";
export default function App() {
return (
@@ -17,6 +17,7 @@ export default function App() {
+
);
diff --git a/frontend/src/components/Faq.jsx b/frontend/src/components/Faq.jsx
new file mode 100644
index 0000000..63cc8d3
--- /dev/null
+++ b/frontend/src/components/Faq.jsx
@@ -0,0 +1,149 @@
+import React from "react";
+
+const Faq = () => {
+ return (
+
+
+
+
+

+
+
+
+
+
How can we help you?
+
+ We hope you have found an answer to your question. If you need
+ any help, please search your query on our Support Center or
+ contact us via email.
+
+
+
+
+
+
+
+
+
+ To change your billing information, please follow
+ these steps:
+
+
+ -
+ Go to our website and sign in to your account.
+
+ -
+ Click on your profile picture in the top right
+ corner of the page and select "Account Settings."
+
+ -
+ Under the "Billing Information" section, click on
+ "Edit."
+
+ - Make your changes and click on "Save."
+
+
+
+
+
+
+
+
+
+
+ A payment system is a way to transfer money from one
+ person or organization to another. It is a complex
+ process that involves many different parties, including
+ banks, credit card companies, and merchants.
+
+
+
+
+
+
+
+
+
+
+ To cancel your account, please follow these steps:
+
+
+ -
+ Go to our website and sign in to your account.
+
+ -
+ Click on your profile picture in the top right
+ corner of the page and select "Account Settings."
+
+ -
+ Scroll to the bottom of the page and click on
+ "Cancel Account."
+
+ -
+ Enter your password and click on "Cancel Account."
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default Faq;