ARhub
Welcome to ARhub

Learn | Code | Build

appreciation.jsx
1
"keyword">import React, { "keyword">useState, "keyword">useEffect } "keyword">from "react";
2
import axios from "axios";
3
4
// Project component with cool animations
5
const ProjectShowcase = () => {
6
  const [projects, setProjects] = useState([]);
7
  const [loading, setLoading] = useState(true);
8
9
  useEffect(() => {
10
    const fetchProjects = async () => {
11
      try {
12
        setLoading(true);
13
        const response = await axios.get("/api/projects");
14
        setProjects(response.data);
15
      } catch (error) {
16
        console.error("Error fetching projects:", error);
17
      } finally {
18
        setLoading(false);
19
      }
20
    };
21
22
    fetchProjects();
23
  }, []);
24
25
  // Calculate project statistics
26
  const totalLikes = projects.reduce((sum, proj) => sum + proj.likes, 0);
27
  const avgRating = (
28
    projects.reduce((sum, proj) => sum + proj.rating, 0) / projects.length
29
  ).toFixed(1);
30
31
  return (
32
    
className="project-showcase">
33
      

Featured Projects

34
      {loading ? (
35
        
className="loader">Loading amazing projects...
36
      ) : (
37
        
className="projects-grid">
38
          {projects.map((project) => (
39
            key={project.id} project={project} />
40
          ))}
41
        
42
      )}
43
    
44
  );
45
};
46
47
export default ProjectShowcase;

About Me

Hi, I'm AR, a passionate coder and YouTuber focused on making coding simple and fun. I love building projects and sharing knowledge.

Skills

HTML & CSS
JavaScript
Python
C++
html5|css3|javascript|python|react|nodejs|mongodb|git|githubhtml5|css3|javascript|python|react|nodejs|mongodb|git|githubhtml5|css3|javascript|python|react|nodejs|mongodb|git|githubhtml5|css3|javascript|python|react|nodejs|mongodb|git|githubhtml5|css3|javascript|python|react|nodejs|mongodb|git|github

My Projects

QptiFit

View Project

DataConvertX

View Project

TerraCalc

View Project

LengthXpert

View Project

WeighWise

View Project

Quantum Cipher Nexus

View Project

Quadratic chart

View Project

Autonomous Agents in Action

Harness the power of intelligent automation to orchestrate complex workflows, adapt in real time, and act decisively on your behalf.
From data ingestion to decision execution, our platform empowers you with agent-driven autonomy—so you can focus on strategy while our agents handle the rest.




    
    Modern UI Component
    
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f5f5f5;
        }
        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            padding: 24px;
            max-width: 400px;
            margin: 20px auto;
        }
        .card-header {
            margin-bottom: 16px;
        }
        .card-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111;
        }
        .card-subtitle {
            color: #666;
            font-size: 0.9rem;
            margin-top: 4px;
        }
        .stats {
            display: flex;
            gap: 16px;
        }
        .stat-item {
            flex: 1;
            background: #f8f9fa;
            border-radius: 8px;
            padding: 12px;
            text-align: center;
        }
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #3a86ff;
        }
        .stat-label {
            font-size: 0.75rem;
            color: #666;
            margin-top: 4px;
        }
        .action-btn {
            background: #3a86ff;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            font-size: 0.9rem;
            font-weight: 500;
            width: 100%;
            margin-top: 20px;
            cursor: pointer;
            transition: back
Modern UI Component
// Project Task Manager
class TaskManager {
    constructor() {
        this.tasks = [];
        this.taskId = 1;
    }
    
    addTask(title, priority = 'medium') {
        const newTask = {
            id: this.taskId++,
            title,
            priority,
            status: 'active',
            createdAt: new Date(),
            completedAt: null
        };
        
        this.tasks.push(newTask);
        console.log(`Task created: '${title}' (ID: ${newTask.id})`);
        return newTask;
    }
    
    completeTask(id) {
        const task = this.tasks.find(task => task.id === id);
        
        if (task) {
            task.status = 'completed';
            task.completedAt = new Date();
            console.log(`Task completed: '${task.title}' (ID: ${id})`);
            return true;
        } else {
            console.error(`Task with ID ${id} not found`);
            return false;
        }
    }
    
    deleteTask(id) {
        const initialLength = this.tasks.length;
        this.tasks = this.tasks.filter(task => task.id !== id);
        
        if (this.tasks.length < initialLength) {
            console.log(`Task with ID ${id} deleted`);
            return true;
        } else {
            console.error(`Task with ID ${id} not found`);
            return false;
        }
    }
    
    getTasksByStatus(status) {
        return this.tasks.filter(task => task.status === status);
    }
    
    getStats() {
        const stats = {
            total: this.tasks.length,
            active: this.getTasksByStatus('active').length,
            completed: this.getTasksByStatus('completed').length
        };
        
        console.log('Current sta
> Task created: 'Set up project repository' (ID: 1) 07:37:55 PM
> Task created: 'Create wireframes' (ID: 2) 07:37:55 PM
> Task created: 'Design database schema' (ID: 3) 07:37:55 PM
> Task created: 'Write API documentation' (ID: 4) 07:37:55 PM
Sarah Johnson ★★★★★

Absolutely love this platform! The user interface is intuitive and the features are exactly what I needed. Customer support has been exceptional.

Michael Chen ★★★★★

This platform has transformed how I work. The attention to detail and constant updates show they really care about user experience.

Emma Williams ★★★★☆

Great value for money! The tools provided have helped streamline my workflow significantly. Would highly recommend to anyone.

David Martinez ★★★★★

Been using this for 6 months now and I'm impressed with how reliable and feature-rich it is. The recent updates have made it even better.

Alex Thompson ★★★★★

The collaboration features are fantastic. Our team productivity has increased by 40% since we started using it. Worth every penny.