From 8c0d1cd43d6b1c3f32aee7cd4d75ec72a8bb5507 Mon Sep 17 00:00:00 2001 From: Eshan Roy Date: Tue, 3 Dec 2024 18:18:18 +0530 Subject: [PATCH] fix(_get): IDK --- package-lock.json | 10 ++++ package.json | 3 +- src/components/home/ImageSlider.tsx | 52 +++++++++++++----- src/pages/Download.tsx | 84 ++++++++++++++++++++++++----- 4 files changed, 120 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c74dc6..6520f23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "lucide-react": "^0.344.0", "react": "^18.3.1", "react-dom": "^18.3.1", + "react-icons": "^5.4.0", "react-router-dom": "^6.22.3" }, "devDependencies": { @@ -3291,6 +3292,15 @@ "react": "^18.3.1" } }, + "node_modules/react-icons": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.4.0.tgz", + "integrity": "sha512-7eltJxgVt7X64oHh6wSWNwwbKTCtMfK35hcjvJS0yxEAhPM8oUKdS3+kqaW1vicIltw+kR2unHaa12S9pPALoQ==", + "license": "MIT", + "peerDependencies": { + "react": "*" + } + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", diff --git a/package.json b/package.json index 16f5303..84fc6ef 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "lucide-react": "^0.344.0", "react": "^18.3.1", "react-dom": "^18.3.1", + "react-icons": "^5.4.0", "react-router-dom": "^6.22.3" }, "devDependencies": { @@ -31,4 +32,4 @@ "typescript-eslint": "^8.3.0", "vite": "^5.4.2" } -} \ No newline at end of file +} diff --git a/src/components/home/ImageSlider.tsx b/src/components/home/ImageSlider.tsx index 918f62e..3f7708c 100644 --- a/src/components/home/ImageSlider.tsx +++ b/src/components/home/ImageSlider.tsx @@ -3,22 +3,46 @@ import { ChevronLeft, ChevronRight } from 'lucide-react'; const slides = [ { - type: 'video', - url: "https://cdn.videvo.net/videvo_files/video/premium/video0036/small_watermarked/computer_code00_preview.mp4", - title: "Next-Gen Security", - description: "Experience advanced security features and protection" + type: 'image', + url: "https://images.unsplash.com/photo-1600782910044-f02b543bb1c0?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8Mnx8Y3liZXJzZWN1cml0eXxlbnwwfHx8fDE2NzgzNjMwNzM&ixlib=rb-1.2.1&q=80&w=1080", + title: "Data Encryption", + description: "Protect sensitive information with strong encryption protocols." }, { type: 'image', - url: "https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=1920", - title: "Developer's Choice", - description: "Built for modern development workflows" + url: "https://images.unsplash.com/photo-1516314175872-b4fe7fe63f55?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8Mnx8c3lzdGVtcyUyMGF0JTIwd29yayxlbnwwfHx8fDE2NzgzNjI4NzY&ixlib=rb-1.2.1&q=80&w=1080", + title: "Firewalls", + description: "Secure your network with advanced firewall protection." }, { - type: 'video', - url: "https://cdn.videvo.net/videvo_files/video/premium/video0036/small_watermarked/computer_code02_preview.mp4", - title: "Community Powered", - description: "Supported by a growing community of innovators" + type: 'image', + url: "https://images.unsplash.com/photo-1584697964178-70f5289cbbd1?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8OXx8c3lzdGVtcyUyMGFuZCUyMHNlY3VyaXR5fGVufDB8fHx8fDE2NzgzNjM0NjQ&ixlib=rb-1.2.1&q=80&w=1080", + title: "Malware Detection", + description: "Detect and mitigate malware threats with sophisticated tools." + }, + { + type: 'image', + url: "https://images.unsplash.com/photo-1584697964178-70f5289cbbd1?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8OXx8c3lzdGVtcyUyMGFuZCUyMHNlY3VyaXR5fGVufDB8fHx8fDE2NzgzNjM0NjQ&ixlib=rb-1.2.1&q=80&w=1080", + title: "Cybersecurity Awareness", + description: "Stay informed about the latest cybersecurity trends and threats." + }, + { + type: 'image', + url: "https://images.unsplash.com/photo-1584697964178-70f5289cbbd1?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8OXx8c3lzdGVtcyUyMGFuZCUyMHNlY3VyaXR5fGVufDB8fHx8fDE2NzgzNjM0NjQ&ixlib=rb-1.2.1&q=80&w=1080", + title: "Advanced Threat Protection", + description: "Protect your systems with advanced threat protection tools." + }, + { + type: 'image', + url: "https://images.unsplash.com/photo-1590517286893-84f635b02cf0?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8MXx8cGFzc3dvcmQlMjBmb3IlMjBjdXJlcyxlbnwwfHx8fDE2NzgzNjM5Nzg&ixlib=rb-1.2.1&q=80&w=1080", + title: "Cybersecurity Policy", + description: "Establish robust cybersecurity policies for your organization." + }, + { + type: 'image', + url: "https://images.unsplash.com/photo-1622736606985-5f6881a2ffb6?crop=entropy&cs=tinysrgb&fit=max&ixid=MnwzNjA3fDB8MHxwaG90by1mZWF0Y2h8NXx8aXNtYWdlJTIwd2l0aCUyMHRlY2huaWNhbHxlbnwwfHx8fDE2NzgzNjQyNzg&ixlib=rb-1.2.1&q=80&w=1080", + title: "Cybersecurity Tools", + description: "Utilize the latest cybersecurity tools to keep your systems safe." } ]; @@ -43,7 +67,7 @@ export default function ImageSlider() { if (isPlaying) { timer = setInterval(() => { nextSlide(); - }, 8000); // Longer interval for videos + }, 2000); // Longer interval for videos } return () => clearInterval(timer); }, [currentIndex, isPlaying]); @@ -75,7 +99,7 @@ export default function ImageSlider() { }; return ( -
+
{renderSlideContent()}
@@ -106,4 +130,4 @@ export default function ImageSlider() {
); -} \ No newline at end of file +} diff --git a/src/pages/Download.tsx b/src/pages/Download.tsx index edb112b..32fdf0b 100644 --- a/src/pages/Download.tsx +++ b/src/pages/Download.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Download, Laptop, HardDrive, Cloud } from 'lucide-react'; +import { Download, Laptop, HardDrive, Cloud, Archive, Server, Box } from 'lucide-react'; export default function DownloadPage() { return ( @@ -7,9 +7,9 @@ export default function DownloadPage() {
{/* Hero Section */}
-

Download Kali Linux

+

Download Snigdha OS

- Choose the installation option that best suits your needs + Choose the installation option that best suits your needs. We provide different formats and configurations to suit every environment.

@@ -19,7 +19,7 @@ export default function DownloadPage() {

Installer Images

- Full installation images for various architectures + Full installation images for various architectures and desktop environments.

+ {/* Additional Download Options */} +
+
+ +

Source Code

+

+ Download the source code and contribute to the development of Snigdha OS. +

+ +
+ +
+ +

Cloud Images

+

+ Pre-configured cloud images for platforms like AWS, Azure, and Google Cloud. +

+ +
+ +
+ +

Docker Images

+

+ Snigdha OS available as Docker container images for lightweight testing. +

+ +
+
+ {/* System Requirements */}
-

System Requirements

+

System Requirements

Minimum Requirements

  • • 2 GB RAM
  • • 20 GB disk space
  • -
  • • x64 processor
  • +
  • • x64 or ARM processor
  • • USB boot support
  • +
  • • Graphics card with OpenGL support
@@ -71,7 +111,8 @@ export default function DownloadPage() {
  • • 4 GB RAM
  • • 50 GB disk space
  • • Multi-core processor
  • -
  • • Graphics card
  • +
  • • Graphics card (NVIDIA, AMD, or integrated)
  • +
  • • SSD for faster boot and performance
  • @@ -82,20 +123,35 @@ export default function DownloadPage() {

    Installation Guide

    - Follow these steps to install Kali Linux: + Follow these steps to install Snigdha OS on your system:

    1. Download the appropriate image for your system
    2. -
    3. Create a bootable USB drive or DVD
    4. +
    5. Create a bootable USB drive or DVD using tools like Rufus, balenaEtcher, or dd
    6. Boot from the installation media
    7. -
    8. Follow the installation wizard
    9. +
    10. Follow the on-screen instructions to install Snigdha OS

    - For detailed installation instructions, please refer to our documentation. + For detailed instructions and troubleshooting, refer to the full installation documentation available on our website.

    + + {/* YouTube Video Section */} +
    +

    Watch the Installation Tutorial

    +
    + +
    +
    ); -} \ No newline at end of file +}