JamesToth commited on
Commit
aa4bbe0
·
verified ·
1 Parent(s): f84f432

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +216 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Project Manager App
3
- emoji: 🏃
4
- colorFrom: purple
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: project-manager-app
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,216 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Project Dashboard</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .project-card {
11
+ transition: all 0.3s ease;
12
+ transform: translateY(0);
13
+ }
14
+ .project-card:hover {
15
+ transform: translateY(-5px);
16
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
17
+ }
18
+ .tag {
19
+ transition: all 0.2s ease;
20
+ }
21
+ .tag:hover {
22
+ transform: scale(1.05);
23
+ }
24
+ .status-badge.completed {
25
+ background-color: #10b98120;
26
+ color: #10b981;
27
+ }
28
+ .status-badge.in-progress {
29
+ background-color: #f59e0b20;
30
+ color: #f59e0b;
31
+ }
32
+ .status-badge.planned {
33
+ background-color: #3b82f620;
34
+ color: #3b82f6;
35
+ }
36
+ </style>
37
+ </head>
38
+ <body class="bg-gray-50 min-h-screen">
39
+ <div class="container mx-auto px-4 py-12">
40
+ <!-- Header -->
41
+ <div class="text-center mb-12">
42
+ <h1 class="text-4xl font-bold text-gray-800 mb-2">My Projects</h1>
43
+ <p class="text-lg text-gray-600 max-w-2xl mx-auto">A collection of my recent work, experiments, and contributions</p>
44
+
45
+ <!-- Filter Controls -->
46
+ <div class="flex flex-wrap justify-center gap-3 mt-6">
47
+ <button onclick="filterProjects('all')" class="px-4 py-2 bg-indigo-600 text-white rounded-full hover:bg-indigo-700 transition">All Projects</button>
48
+ <button onclick="filterProjects('completed')" class="px-4 py-2 border border-gray-300 rounded-full hover:bg-gray-100 transition">Completed</button>
49
+ <button onclick="filterProjects('in-progress')" class="px-4 py-2 border border-gray-300 rounded-full hover:bg-gray-100 transition">In Progress</button>
50
+ <button onclick="filterProjects('planned')" class="px-4 py-2 border border-gray-300 rounded-full hover:bg-gray-100 transition">Planned</button>
51
+ </div>
52
+ </div>
53
+
54
+ <!-- Projects Grid -->
55
+ <div id="projects-container" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
56
+ <!-- Projects will be dynamically inserted here -->
57
+ </div>
58
+ </div>
59
+
60
+ <script>
61
+ // Sample project data
62
+ const projects = [
63
+ {
64
+ id: 1,
65
+ title: "E-commerce Platform",
66
+ description: "A full-stack e-commerce solution with payment integration, inventory management, and analytics dashboard.",
67
+ image: "https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
68
+ status: "completed",
69
+ tags: ["React", "Node.js", "MongoDB", "Stripe"],
70
+ github: "https://github.com",
71
+ demo: "https://example.com",
72
+ date: "Jun 2023"
73
+ },
74
+ {
75
+ id: 2,
76
+ title: "Task Management App",
77
+ description: "Collaborative task management application with real-time updates, team assignments, and progress tracking.",
78
+ image: "https://images.unsplash.com/photo-1541462608143-67571c6738dd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
79
+ status: "in-progress",
80
+ tags: ["Vue.js", "Firebase", "Tailwind CSS"],
81
+ github: "https://github.com",
82
+ demo: null,
83
+ date: "Aug 2023 - Present"
84
+ },
85
+ {
86
+ id: 3,
87
+ title: "Health & Fitness Tracker",
88
+ description: "Mobile application for tracking workouts, nutrition, and health metrics with personalized recommendations.",
89
+ image: "https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
90
+ status: "planned",
91
+ tags: ["React Native", "GraphQL", "PostgreSQL"],
92
+ github: null,
93
+ demo: null,
94
+ date: "Coming Soon"
95
+ },
96
+ {
97
+ id: 4,
98
+ title: "Portfolio Website",
99
+ description: "Personal portfolio website showcasing projects, skills, and contact information with a clean, modern design.",
100
+ image: "https://images.unsplash.com/photo-1633356122544-f134324a6cee?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
101
+ status: "completed",
102
+ tags: ["HTML", "CSS", "JavaScript"],
103
+ github: "https://github.com",
104
+ demo: "https://example.com",
105
+ date: "Apr 2023"
106
+ },
107
+ {
108
+ id: 5,
109
+ title: "Weather Dashboard",
110
+ description: "Interactive weather application showing current conditions, forecasts, and historical data visualization.",
111
+ image: "https://images.unsplash.com/photo-1601134467661-3d775b999c8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
112
+ status: "in-progress",
113
+ tags: ["React", "OpenWeather API", "Chart.js"],
114
+ github: "https://github.com",
115
+ demo: "https://example.com",
116
+ date: "Jul 2023 - Present"
117
+ },
118
+ {
119
+ id: 6,
120
+ title: "Recipe Finder",
121
+ description: "Discover recipes based on ingredients you have, with nutritional information and step-by-step instructions.",
122
+ image: "https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",
123
+ status: "planned",
124
+ tags: ["Angular", "Spoonacular API", "Bootstrap"],
125
+ github: null,
126
+ demo: null,
127
+ date: "Coming Soon"
128
+ }
129
+ ];
130
+
131
+ // Render all projects initially
132
+ document.addEventListener('DOMContentLoaded', () => {
133
+ renderProjects(projects);
134
+ });
135
+
136
+ // Function to render projects
137
+ function renderProjects(projectsToRender) {
138
+ const container = document.getElementById('projects-container');
139
+ container.innerHTML = '';
140
+
141
+ projectsToRender.forEach(project => {
142
+ const projectCard = document.createElement('div');
143
+ projectCard.className = 'project-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg';
144
+
145
+ // Determine status text and styling
146
+ let statusText, statusClass;
147
+ switch(project.status) {
148
+ case 'completed':
149
+ statusText = 'Completed';
150
+ statusClass = 'completed';
151
+ break;
152
+ case 'in-progress':
153
+ statusText = 'In Progress';
154
+ statusClass = 'in-progress';
155
+ break;
156
+ case 'planned':
157
+ statusText = 'Planned';
158
+ statusClass = 'planned';
159
+ break;
160
+ }
161
+
162
+ projectCard.innerHTML = `
163
+ <div class="h-48 overflow-hidden">
164
+ <img src="${project.image}" alt="${project.title}" class="w-full h-full object-cover">
165
+ </div>
166
+ <div class="p-6">
167
+ <div class="flex justify-between items-start mb-2">
168
+ <h3 class="text-xl font-semibold text-gray-800">${project.title}</h3>
169
+ <span class="status-badge ${statusClass} text-xs font-medium px-2.5 py-0.5 rounded-full">
170
+ ${statusText}
171
+ </span>
172
+ </div>
173
+ <p class="text-gray-600 text-sm mb-4">${project.description}</p>
174
+
175
+ <div class="flex flex-wrap gap-2 mb-4">
176
+ ${project.tags.map(tag => `
177
+ <span class="tag text-xs bg-gray-100 text-gray-800 px-3 py-1 rounded-full">
178
+ ${tag}
179
+ </span>
180
+ `).join('')}
181
+ </div>
182
+
183
+ <div class="flex justify-between items-center text-sm text-gray-500">
184
+ <span>${project.date}</span>
185
+ <div class="flex space-x-2">
186
+ ${project.github ? `
187
+ <a href="${project.github}" target="_blank" class="text-gray-700 hover:text-gray-900 transition">
188
+ <i class="fab fa-github"></i>
189
+ </a>
190
+ ` : ''}
191
+ ${project.demo ? `
192
+ <a href="${project.demo}" target="_blank" class="text-gray-700 hover:text-gray-900 transition">
193
+ <i class="fas fa-external-link-alt"></i>
194
+ </a>
195
+ ` : ''}
196
+ </div>
197
+ </div>
198
+ </div>
199
+ `;
200
+
201
+ container.appendChild(projectCard);
202
+ });
203
+ }
204
+
205
+ // Filter projects by status
206
+ function filterProjects(status) {
207
+ if (status === 'all') {
208
+ renderProjects(projects);
209
+ } else {
210
+ const filteredProjects = projects.filter(project => project.status === status);
211
+ renderProjects(filteredProjects);
212
+ }
213
+ }
214
+ </script>
215
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=JamesToth/project-manager-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
216
+ </html>
prompts.txt ADDED
File without changes