huge update
This commit is contained in:
@@ -1,29 +1,16 @@
|
||||
'use client';
|
||||
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
import React, { useState } from 'react';
|
||||
import { motion } from 'framer-motion';
|
||||
import {
|
||||
Plus,
|
||||
Edit,
|
||||
Trash2,
|
||||
Eye,
|
||||
Search,
|
||||
Filter,
|
||||
Grid,
|
||||
List,
|
||||
Save,
|
||||
X,
|
||||
Upload,
|
||||
Image as ImageIcon,
|
||||
Link as LinkIcon,
|
||||
Globe,
|
||||
Github,
|
||||
Calendar,
|
||||
Tag,
|
||||
Star,
|
||||
TrendingUp,
|
||||
Settings,
|
||||
MoreVertical,
|
||||
RefreshCw
|
||||
} from 'lucide-react';
|
||||
// Editor is now a separate page at /editor
|
||||
@@ -54,13 +41,11 @@ interface Project {
|
||||
}
|
||||
|
||||
interface ProjectManagerProps {
|
||||
isAuthenticated: boolean;
|
||||
projects: Project[];
|
||||
onProjectsChange: () => void;
|
||||
}
|
||||
|
||||
export const ProjectManager: React.FC<ProjectManagerProps> = ({
|
||||
isAuthenticated,
|
||||
projects,
|
||||
onProjectsChange
|
||||
}) => {
|
||||
@@ -70,7 +55,6 @@ export const ProjectManager: React.FC<ProjectManagerProps> = ({
|
||||
// Editor is now a separate page - no modal state needed
|
||||
|
||||
const categories = ['all', 'Web Development', 'Full-Stack', 'Web Application', 'Mobile App', 'Design'];
|
||||
const difficulties = ['Beginner', 'Intermediate', 'Advanced', 'Expert'];
|
||||
|
||||
// Filter projects
|
||||
const filteredProjects = projects.filter((project) => {
|
||||
|
||||
Reference in New Issue
Block a user