From 80e2348a69fe8d0d0b3c4847529d630ca64e8c1f Mon Sep 17 00:00:00 2001 From: mahek0620 <136893675+mahek0620@users.noreply.github.com> Date: Fri, 14 Jun 2024 13:26:15 +0530 Subject: [PATCH 1/5] Create faq.tsx --- src/app/FAQs/faq.tsx | 140 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 src/app/FAQs/faq.tsx diff --git a/src/app/FAQs/faq.tsx b/src/app/FAQs/faq.tsx new file mode 100644 index 0000000..4e1a6c5 --- /dev/null +++ b/src/app/FAQs/faq.tsx @@ -0,0 +1,140 @@ +// src/FAQ.tsx +import React from 'react'; +import styled from 'styled-components'; +import { motion } from 'framer-motion'; + +const FAQContainer = styled.div` + max-width: 800px; + margin: 40px auto; + font-family: Arial, sans-serif; +`; + +const FAQHeader = styled.h1` + text-align: center; + margin-bottom: 40px; +`; + +const FAQItem = styled(motion.div)` + margin-bottom: 20px; + background: #f9f9f9; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + overflow: hidden; +`; + +const FAQSummary = styled(motion.summary)` + font-size: 18px; + font-weight: bold; + cursor: pointer; + padding: 15px; + background: #007BFF; + color: white; + border: none; + outline: none; + display: flex; + align-items: center; + justify-content: space-between; +`; + +const FAQDetails = styled(motion.div)` + padding: 0 20px 20px; +`; + +const FAQ: React.FC = () => { + return ( + + Frequently Asked Questions (FAQs) + + +
+ + 1. What is BloxAI and what can it do? + + +

BloxAI is an advanced AI-powered tool designed to streamline and enhance productivity by automating repetitive tasks and providing intelligent insights. It can be used for various applications such as data analysis, natural language processing, and task scheduling, helping users to save time and focus on more complex tasks.

+
+
+
+ + +
+ + 2. How can I install BloxAI on my system? + + +

To install BloxAI, follow these steps:

+
    +
  1. Clone the repository using: git clone https://github.com/subhadeeproy3902/BloxAI.git
  2. +
  3. Navigate to the project directory with: cd BloxAI
  4. +
  5. Install the necessary dependencies by running: npm install
  6. +
  7. Start the application using: npm start
  8. +
+

Ensure that you have Node.js and npm installed on your system before proceeding with the installation.

+
+
+
+ + +
+ + 3. How do I use BloxAI to automate repetitive tasks? + + +

To use BloxAI for automating tasks, follow these steps:

+
    +
  1. Create a new task script in the designated scripts directory.
  2. +
  3. Define the tasks you want to automate using the provided APIs and libraries.
  4. +
  5. Configure the task scheduler to run your scripts at specified intervals or triggers.
  6. +
  7. Monitor the task execution and review the logs to ensure everything runs smoothly.
  8. +
+

Refer to the User Guide for detailed examples and use cases.

+
+
+
+ + +
+ + 4. How can I contribute to the development of BloxAI? + + +

We welcome contributions from the community! To contribute:

+
    +
  1. Fork the repository to your GitHub account.
  2. +
  3. Clone the forked repository to your local machine.
  4. +
  5. Create a new branch for your feature or bug fix: git checkout -b feature-name
  6. +
  7. Make your changes and commit them with descriptive messages.
  8. +
  9. Push your changes to your forked repository.
  10. +
  11. Open a pull request to the main repository with a detailed description of your changes.
  12. +
+

Ensure you follow our Contributing Guidelines for more information on the contribution process.

+
+
+
+ + +
+ + 5. Where can I find the detailed documentation for BloxAI? + + +

You can find the detailed documentation for BloxAI in the docs directory of this repository. Additionally, the documentation is available on our official website. The documentation includes setup guides, API references, and examples to help you get started and make the most of BloxAI.

+
+
+
+ + +
+ + 6. Who can I contact for support or questions regarding BloxAI? + + +

If you have any questions or need support, you can open an issue on our GitHub repository. For more direct assistance, you can contact us at support@example.com. We also have a community forum where you can ask questions and share insights with other BloxAI users.

+
+
+
+
+ ); +}; + +export default FAQ; From 8918fc9eb99969fea590b1cc9c998cf68573715e Mon Sep 17 00:00:00 2001 From: mahek0620 <136893675+mahek0620@users.noreply.github.com> Date: Fri, 14 Jun 2024 13:31:50 +0530 Subject: [PATCH 2/5] Update page.tsx --- src/app/page.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/page.tsx b/src/app/page.tsx index e339acf..4c5c620 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,6 +8,7 @@ import Footer from "@/components/shared/Footer"; import ScrollToTopButton from "@/components/shared/ScrollUp"; import Lenis from '@studio-freight/lenis'; import { useEffect } from "react"; +import FAQ from "@FAQs/faq"; export default function Home() { useEffect(() => { const lenis = new Lenis(); @@ -26,6 +27,9 @@ export default function Home() { +
+ +