File size: 11,603 Bytes
1855b62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d502ef6
 
 
1855b62
d502ef6
 
 
1855b62
d502ef6
 
 
1855b62
d502ef6
 
 
1855b62
d502ef6
1855b62
 
 
 
 
 
 
 
 
 
d502ef6
 
 
 
 
 
 
 
1855b62
 
d502ef6
1855b62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c16204b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CodeCraft Wizardry</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#6366f1',
                        secondary: '#f43f5e'
                    }
                }
            }
        }
    </script>
    <style>
        #vanta-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .transition-all {
            transition: all 0.3s ease;
        }
    </style>
</head>
<body class="min-h-screen bg-gray-100 text-gray-900">
    <div id="vanta-bg"></div>
    
    <div class="container mx-auto px-4 py-12">
        <!-- Header -->
        <header class="text-center mb-16">
            <h1 class="text-5xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">
                CodeCraft Wizardry
            </h1>
            <p class="text-xl text-gray-700 max-w-2xl mx-auto">
                Unleash your coding magic with this powerful development environment
            </p>
        </header>

        <!-- Main Content -->
        <main class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
            <!-- Run App Card -->
            <div class="bg-white rounded-xl shadow-lg overflow-hidden transition-all card-hover">
                <div class="p-6">
                    <div class="flex items-center mb-4">
                        <i data-feather="play" class="text-primary mr-3"></i>
                        <h2 class="text-2xl font-semibold">Run Your App</h2>
                    </div>
                    <p class="text-gray-600 mb-6">
                        Follow these simple steps to get your application up and running
                    </p>
                    <div class="space-y-4">
                        <div class="flex items-start">
                            <div class="flex-shrink-0 h-6 w-6 rounded-full bg-primary-100 flex items-center justify-center text-primary-600">
                                1
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700">Open your terminal or command prompt</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 h-6 w-6 rounded-full bg-primary-100 flex items-center justify-center text-primary-600">
                                2
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700">Navigate to your project directory</p>
                                <code class="mt-1 block bg-gray-100 px-2 py-1 rounded text-sm text-gray-800">cd path/to/your/project</code>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 h-6 w-6 rounded-full bg-primary-100 flex items-center justify-center text-primary-600">
                                3
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700">Install dependencies (if needed)</p>
                                <code class="mt-1 block bg-gray-100 px-2 py-1 rounded text-sm text-gray-800">npm install</code>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 h-6 w-6 rounded-full bg-primary-100 flex items-center justify-center text-primary-600">
                                4
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700">Start the development server</p>
                                <code class="mt-1 block bg-gray-100 px-2 py-1 rounded text-sm text-gray-800">npm run dev</code>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 h-6 w-6 rounded-full bg-primary-100 flex items-center justify-center text-primary-600">
                                5
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700">Open your browser to</p>
                                <code class="mt-1 block bg-gray-100 px-2 py-1 rounded text-sm text-gray-800">http://localhost:3000</code>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Features Card -->
            <div class="bg-white rounded-xl shadow-lg overflow-hidden transition-all card-hover">
                <div class="p-6">
                    <div class="flex items-center mb-4">
                        <i data-feather="zap" class="text-secondary mr-3"></i>
                        <h2 class="text-2xl font-semibold">Key Features</h2>
                    </div>
                    <div class="space-y-4">
                        <div class="flex items-start">
                            <div class="flex-shrink-0 mt-1">
                                <i data-feather="check-circle" class="text-green-500"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700 font-medium">Hot Reloading</p>
                                <p class="text-gray-500 text-sm">See changes instantly without refreshing</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 mt-1">
                                <i data-feather="check-circle" class="text-green-500"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700 font-medium">Responsive Design</p>
                                <p class="text-gray-500 text-sm">Works on all device sizes</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 mt-1">
                                <i data-feather="check-circle" class="text-green-500"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700 font-medium">Modern UI</p>
                                <p class="text-gray-500 text-sm">Clean, intuitive interface</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="flex-shrink-0 mt-1">
                                <i data-feather="check-circle" class="text-green-500"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-gray-700 font-medium">Powerful Tools</p>
                                <p class="text-gray-500 text-sm">Built with Tailwind, Feather Icons & Vanta.js</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Quick Actions Card -->
            <div class="bg-white rounded-xl shadow-lg overflow-hidden transition-all card-hover">
                <div class="p-6">
                    <div class="flex items-center mb-4">
                        <i data-feather="codesandbox" class="text-primary mr-3"></i>
                        <h2 class="text-2xl font-semibold">Quick Actions</h2>
                    </div>
                    <div class="grid grid-cols-2 gap-4">
                        <a href="#" onclick="copyToClipboard('npm install -g live-server && live-server')" class="p-4 bg-gradient-to-br from-primary-50 to-primary-100 rounded-lg flex flex-col items-center justify-center hover:shadow-md transition-all">
                            <i data-feather="play" class="text-primary mb-2"></i>
                            <span class="font-medium text-gray-700">Run with Live Server</span>
                        </a>
                        <a href="#" onclick="copyToClipboard('python -m http.server 8000')" class="p-4 bg-gradient-to-br from-secondary-50 to-secondary-100 rounded-lg flex flex-col items-center justify-center hover:shadow-md transition-all">
                            <i data-feather="server" class="text-secondary mb-2"></i>
                            <span class="font-medium text-gray-700">Python HTTP Server</span>
                        </a>
                        <a href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer" target="_blank" class="p-4 bg-gradient-to-br from-gray-50 to-gray-100 rounded-lg flex flex-col items-center justify-center hover:shadow-md transition-all">
                            <i data-feather="download" class="text-gray-600 mb-2"></i>
                            <span class="font-medium text-gray-700">VS Code Extension</span>
                        </a>
                        <a href="https://www.npmjs.com/package/http-server" target="_blank" class="p-4 bg-gradient-to-br from-yellow-50 to-yellow-100 rounded-lg flex flex-col items-center justify-center hover:shadow-md transition-all">
                            <i data-feather="package" class="text-yellow-600 mb-2"></i>
                            <span class="font-medium text-gray-700">http-server</span>
                        </a>
</div>
                </div>
            </div>
        </main>

        <!-- Footer -->
        <footer class="mt-16 text-center text-gray-500">
            <p>© 2023 CodeCraft Wizardry. All rights reserved.</p>
        </footer>
    </div>
    <script>
        function copyToClipboard(text) {
            navigator.clipboard.writeText(text).then(() => {
                alert('Command copied to clipboard! Run this in your terminal.');
            }).catch(err => {
                console.error('Could not copy text: ', err);
            });
        }

        // Initialize Vanta.js
        VANTA.GLOBE({
el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x6366f1,
            backgroundColor: 0xf1f5f9,
            size: 1.00
        });

        // Initialize Feather Icons
        document.addEventListener('DOMContentLoaded', function() {
            feather.replace();
        });
    </script>
</body>
</html>