Spaces:
Running
Running
give the files to open project in vs code
Browse files- README.md +7 -4
- index.html +182 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji: 🚀
|
| 4 |
colorFrom: pink
|
| 5 |
-
colorTo:
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CodeCraft Studio 🎨
|
|
|
|
| 3 |
colorFrom: pink
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
index.html
CHANGED
|
@@ -1,19 +1,183 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>CodeCraft Studio - VS Code Setup</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<style>
|
| 11 |
+
.vscode-bg {
|
| 12 |
+
background: linear-gradient(135deg, #007ACC 0%, #1e1e1e 100%);
|
| 13 |
+
}
|
| 14 |
+
.file-icon {
|
| 15 |
+
transition: all 0.3s ease;
|
| 16 |
+
}
|
| 17 |
+
.file-icon:hover {
|
| 18 |
+
transform: scale(1.1);
|
| 19 |
+
}
|
| 20 |
+
.folder-structure li {
|
| 21 |
+
position: relative;
|
| 22 |
+
padding-left: 25px;
|
| 23 |
+
}
|
| 24 |
+
.folder-structure li:before {
|
| 25 |
+
content: '';
|
| 26 |
+
position: absolute;
|
| 27 |
+
left: 0;
|
| 28 |
+
top: 50%;
|
| 29 |
+
transform: translateY(-50%);
|
| 30 |
+
width: 16px;
|
| 31 |
+
height: 16px;
|
| 32 |
+
background-size: contain;
|
| 33 |
+
background-repeat: no-repeat;
|
| 34 |
+
}
|
| 35 |
+
.folder-icon:before {
|
| 36 |
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
|
| 37 |
+
}
|
| 38 |
+
.file-icon:before {
|
| 39 |
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232196F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'%3E%3C/path%3E%3Cpolyline points='13 2 13 9 20 9'%3E%3C/polyline%3E%3C/svg%3E");
|
| 40 |
+
}
|
| 41 |
+
</style>
|
| 42 |
+
</head>
|
| 43 |
+
<body class="vscode-bg text-gray-100 min-h-screen font-mono">
|
| 44 |
+
<div class="container mx-auto px-4 py-12">
|
| 45 |
+
<div class="max-w-4xl mx-auto">
|
| 46 |
+
<!-- Header -->
|
| 47 |
+
<div class="flex items-center mb-8">
|
| 48 |
+
<i data-feather="code" class="text-blue-400 mr-3" width="32" height="32"></i>
|
| 49 |
+
<h1 class="text-3xl font-bold text-blue-400">CodeCraft Studio</h1>
|
| 50 |
+
<span class="ml-2 px-2 py-1 bg-blue-900 text-blue-100 text-xs rounded-md">VS Code Setup</span>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<!-- Main Content -->
|
| 54 |
+
<div class="bg-gray-900 bg-opacity-80 rounded-lg shadow-xl overflow-hidden">
|
| 55 |
+
<!-- VS Code Toolbar -->
|
| 56 |
+
<div class="bg-gray-800 px-4 py-2 flex items-center">
|
| 57 |
+
<div class="flex space-x-2 mr-4">
|
| 58 |
+
<span class="w-3 h-3 rounded-full bg-red-500"></span>
|
| 59 |
+
<span class="w-3 h-3 rounded-full bg-yellow-500"></span>
|
| 60 |
+
<span class="w-3 h-3 rounded-full bg-green-500"></span>
|
| 61 |
+
</div>
|
| 62 |
+
<div class="text-sm text-gray-400">EXPLORER: CODECRAFT-STUDIO</div>
|
| 63 |
+
</div>
|
| 64 |
+
|
| 65 |
+
<!-- File Structure -->
|
| 66 |
+
<div class="flex">
|
| 67 |
+
<!-- Sidebar -->
|
| 68 |
+
<div class="w-56 bg-gray-800 p-4 border-r border-gray-700">
|
| 69 |
+
<div class="mb-6">
|
| 70 |
+
<h2 class="text-xs uppercase tracking-wider text-gray-500 mb-2">WORKSPACE</h2>
|
| 71 |
+
<ul class="folder-structure text-sm space-y-1">
|
| 72 |
+
<li class="folder-icon font-medium text-yellow-300">.vscode</li>
|
| 73 |
+
<li class="file-icon pl-6 text-blue-300">settings.json</li>
|
| 74 |
+
<li class="file-icon pl-6 text-blue-300">extensions.json</li>
|
| 75 |
+
<li class="folder-icon font-medium text-yellow-300 mt-4">src</li>
|
| 76 |
+
<li class="file-icon pl-6 text-blue-300">index.html</li>
|
| 77 |
+
<li class="file-icon pl-6 text-blue-300">styles.css</li>
|
| 78 |
+
<li class="file-icon pl-6 text-blue-300">app.js</li>
|
| 79 |
+
</ul>
|
| 80 |
+
</div>
|
| 81 |
+
<div>
|
| 82 |
+
<h2 class="text-xs uppercase tracking-wider text-gray-500 mb-2">RECOMMENDED</h2>
|
| 83 |
+
<ul class="text-sm space-y-1">
|
| 84 |
+
<li class="flex items-center text-purple-300">
|
| 85 |
+
<i data-feather="zap" class="mr-2" width="14" height="14"></i>
|
| 86 |
+
<span>Live Server</span>
|
| 87 |
+
</li>
|
| 88 |
+
<li class="flex items-center text-green-300">
|
| 89 |
+
<i data-feather="git-branch" class="mr-2" width="14" height="14"></i>
|
| 90 |
+
<span>GitLens</span>
|
| 91 |
+
</li>
|
| 92 |
+
<li class="flex items-center text-blue-300">
|
| 93 |
+
<i data-feather="box" class="mr-2" width="14" height="14"></i>
|
| 94 |
+
<span>ESLint</span>
|
| 95 |
+
</li>
|
| 96 |
+
</ul>
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
|
| 100 |
+
<!-- Editor Area -->
|
| 101 |
+
<div class="flex-1 p-4">
|
| 102 |
+
<div class="mb-4 flex items-center">
|
| 103 |
+
<div class="flex space-x-1 mr-4">
|
| 104 |
+
<div class="w-2 h-2 rounded-full bg-blue-500"></div>
|
| 105 |
+
<div class="w-2 h-2 rounded-full bg-gray-600"></div>
|
| 106 |
+
<div class="w-2 h-2 rounded-full bg-gray-600"></div>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="text-sm text-blue-400">index.html</div>
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<div class="bg-gray-800 rounded p-4 mb-6">
|
| 112 |
+
<h2 class="text-xl font-bold mb-4 text-blue-300">Getting Started</h2>
|
| 113 |
+
<ol class="list-decimal list-inside space-y-2 text-gray-300">
|
| 114 |
+
<li>Open this folder in VS Code</li>
|
| 115 |
+
<li>Install recommended extensions</li>
|
| 116 |
+
<li>Open the terminal (Ctrl+`)</li>
|
| 117 |
+
<li>Run <code class="bg-gray-700 px-1 rounded">npm install</code> if needed</li>
|
| 118 |
+
<li>Use Live Server to view the project</li>
|
| 119 |
+
</ol>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 123 |
+
<div class="bg-gray-800 rounded p-4">
|
| 124 |
+
<h3 class="font-bold mb-2 text-green-400 flex items-center">
|
| 125 |
+
<i data-feather="terminal" class="mr-2" width="18" height="18"></i>
|
| 126 |
+
VS Code Shortcuts
|
| 127 |
+
</h3>
|
| 128 |
+
<ul class="text-sm space-y-1 text-gray-300">
|
| 129 |
+
<li><span class="font-medium">Ctrl+P</span> - Quick open</li>
|
| 130 |
+
<li><span class="font-medium">Ctrl+Shift+P</span> - Command palette</li>
|
| 131 |
+
<li><span class="font-medium">Ctrl+`</span> - Toggle terminal</li>
|
| 132 |
+
<li><span class="font-medium">Ctrl+B</span> - Toggle sidebar</li>
|
| 133 |
+
</ul>
|
| 134 |
+
</div>
|
| 135 |
+
<div class="bg-gray-800 rounded p-4">
|
| 136 |
+
<h3 class="font-bold mb-2 text-purple-400 flex items-center">
|
| 137 |
+
<i data-feather="download" class="mr-2" width="18" height="18"></i>
|
| 138 |
+
Recommended Extensions
|
| 139 |
+
</h3>
|
| 140 |
+
<ul class="text-sm space-y-1 text-gray-300">
|
| 141 |
+
<li>Live Server</li>
|
| 142 |
+
<li>Prettier - Code formatter</li>
|
| 143 |
+
<li>ESLint</li>
|
| 144 |
+
<li>Tailwind CSS IntelliSense</li>
|
| 145 |
+
</ul>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
</div>
|
| 151 |
+
|
| 152 |
+
<!-- Footer -->
|
| 153 |
+
<div class="mt-8 text-center text-gray-500 text-sm">
|
| 154 |
+
<p>Happy coding! Open this project in VS Code to get started.</p>
|
| 155 |
+
<div class="mt-2 flex justify-center space-x-4">
|
| 156 |
+
<a href="#" class="flex items-center text-blue-400 hover:text-blue-300">
|
| 157 |
+
<i data-feather="github" class="mr-1" width="16" height="16"></i>
|
| 158 |
+
GitHub
|
| 159 |
+
</a>
|
| 160 |
+
<a href="#" class="flex items-center text-green-400 hover:text-green-300">
|
| 161 |
+
<i data-feather="download" class="mr-1" width="16" height="16"></i>
|
| 162 |
+
Download Project
|
| 163 |
+
</a>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
|
| 169 |
+
<script>
|
| 170 |
+
feather.replace();
|
| 171 |
+
|
| 172 |
+
// Simple animation for file icons
|
| 173 |
+
document.querySelectorAll('.file-icon').forEach(icon => {
|
| 174 |
+
icon.addEventListener('mouseenter', () => {
|
| 175 |
+
icon.style.color = '#93c5fd';
|
| 176 |
+
});
|
| 177 |
+
icon.addEventListener('mouseleave', () => {
|
| 178 |
+
icon.style.color = '#bfdbfe';
|
| 179 |
+
});
|
| 180 |
+
});
|
| 181 |
+
</script>
|
| 182 |
+
</body>
|
| 183 |
</html>
|