Spaces:
Running
Running
can you run the program or tell me how to?
Browse files- README.md +8 -5
- index.html +295 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CodeCanvas Wizardry 🧙♂️
|
| 3 |
+
colorFrom: green
|
| 4 |
+
colorTo: red
|
| 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,296 @@
|
|
| 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>CodeCanvas Wizardry</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 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: {
|
| 17 |
+
500: '#6366f1',
|
| 18 |
+
},
|
| 19 |
+
secondary: {
|
| 20 |
+
500: '#10b981',
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
</script>
|
| 27 |
+
<style>
|
| 28 |
+
#vanta-bg {
|
| 29 |
+
position: absolute;
|
| 30 |
+
top: 0;
|
| 31 |
+
left: 0;
|
| 32 |
+
width: 100%;
|
| 33 |
+
height: 100%;
|
| 34 |
+
z-index: -1;
|
| 35 |
+
}
|
| 36 |
+
.card-hover:hover {
|
| 37 |
+
transform: translateY(-5px);
|
| 38 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 39 |
+
}
|
| 40 |
+
.step-number {
|
| 41 |
+
width: 40px;
|
| 42 |
+
height: 40px;
|
| 43 |
+
border-radius: 50%;
|
| 44 |
+
display: flex;
|
| 45 |
+
align-items: center;
|
| 46 |
+
justify-content: center;
|
| 47 |
+
margin-right: 16px;
|
| 48 |
+
flex-shrink: 0;
|
| 49 |
+
}
|
| 50 |
+
</style>
|
| 51 |
+
</head>
|
| 52 |
+
<body class="min-h-screen bg-gray-50 text-gray-800">
|
| 53 |
+
<div id="vanta-bg"></div>
|
| 54 |
+
|
| 55 |
+
<header class="bg-white bg-opacity-80 backdrop-blur-md shadow-sm sticky top-0 z-10">
|
| 56 |
+
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
|
| 57 |
+
<div class="flex items-center">
|
| 58 |
+
<i data-feather="code" class="text-primary-500 mr-2"></i>
|
| 59 |
+
<h1 class="text-2xl font-bold text-gray-800">CodeCanvas Wizardry</h1>
|
| 60 |
+
</div>
|
| 61 |
+
<nav>
|
| 62 |
+
<ul class="flex space-x-6">
|
| 63 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Home</a></li>
|
| 64 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Docs</a></li>
|
| 65 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Examples</a></li>
|
| 66 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Contact</a></li>
|
| 67 |
+
</ul>
|
| 68 |
+
</nav>
|
| 69 |
+
<button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-lg transition shadow-sm flex items-center">
|
| 70 |
+
<i data-feather="download" class="mr-2"></i>
|
| 71 |
+
Get Started
|
| 72 |
+
</button>
|
| 73 |
+
</div>
|
| 74 |
+
</header>
|
| 75 |
+
|
| 76 |
+
<main class="container mx-auto px-4 py-12">
|
| 77 |
+
<section class="text-center mb-20">
|
| 78 |
+
<h2 class="text-4xl md:text-5xl font-bold mb-6">Unleash Your <span class="text-primary-500">Code Magic</span></h2>
|
| 79 |
+
<p class="text-xl text-gray-600 max-w-2xl mx-auto mb-8">
|
| 80 |
+
Comprehensive guide to executing programs with mystical precision. Follow our enchanted steps to bring your code to life.
|
| 81 |
+
</p>
|
| 82 |
+
<div class="flex flex-wrap justify-center gap-4">
|
| 83 |
+
<button class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-3 rounded-lg transition shadow-sm flex items-center">
|
| 84 |
+
<i data-feather="book-open" class="mr-2"></i>
|
| 85 |
+
Read Documentation
|
| 86 |
+
</button>
|
| 87 |
+
<button class="bg-white hover:bg-gray-100 text-gray-800 border border-gray-200 px-6 py-3 rounded-lg transition shadow-sm flex items-center">
|
| 88 |
+
<i data-feather="github" class="mr-2"></i>
|
| 89 |
+
View on GitHub
|
| 90 |
+
</button>
|
| 91 |
+
</div>
|
| 92 |
+
</section>
|
| 93 |
+
|
| 94 |
+
<section class="mb-20">
|
| 95 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 96 |
+
<div class="bg-white rounded-xl p-6 shadow-md transition duration-300 card-hover">
|
| 97 |
+
<div class="bg-primary-500 bg-opacity-10 p-3 rounded-lg w-12 h-12 flex items-center justify-center mb-4">
|
| 98 |
+
<i data-feather="terminal" class="text-primary-500"></i>
|
| 99 |
+
</div>
|
| 100 |
+
<h3 class="text-xl font-semibold mb-3">Quick Setup</h3>
|
| 101 |
+
<p class="text-gray-600 mb-4">Get started in minutes with our optimized configuration wizard.</p>
|
| 102 |
+
<a href="#" class="text-primary-500 hover:text-primary-600 font-medium flex items-center">
|
| 103 |
+
Learn more <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 104 |
+
</a>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<div class="bg-white rounded-xl p-6 shadow-md transition duration-300 card-hover">
|
| 108 |
+
<div class="bg-secondary-500 bg-opacity-10 p-3 rounded-lg w-12 h-12 flex items-center justify-center mb-4">
|
| 109 |
+
<i data-feather="cpu" class="text-secondary-500"></i>
|
| 110 |
+
</div>
|
| 111 |
+
<h3 class="text-xl font-semibold mb-3">Advanced Features</h3>
|
| 112 |
+
<p class="text-gray-600 mb-4">Unlock powerful capabilities with our comprehensive documentation.</p>
|
| 113 |
+
<a href="#" class="text-secondary-500 hover:text-secondary-600 font-medium flex items-center">
|
| 114 |
+
Explore <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 115 |
+
</a>
|
| 116 |
+
</div>
|
| 117 |
+
|
| 118 |
+
<div class="bg-white rounded-xl p-6 shadow-md transition duration-300 card-hover">
|
| 119 |
+
<div class="bg-purple-500 bg-opacity-10 p-3 rounded-lg w-12 h-12 flex items-center justify-center mb-4">
|
| 120 |
+
<i data-feather="users" class="text-purple-500"></i>
|
| 121 |
+
</div>
|
| 122 |
+
<h3 class="text-xl font-semibold mb-3">Community Support</h3>
|
| 123 |
+
<p class="text-gray-600 mb-4">Join thousands of developers in our active community forums.</p>
|
| 124 |
+
<a href="#" class="text-purple-500 hover:text-purple-600 font-medium flex items-center">
|
| 125 |
+
Join now <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 126 |
+
</a>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</section>
|
| 130 |
+
|
| 131 |
+
<section class="bg-white rounded-xl shadow-md p-8 mb-20">
|
| 132 |
+
<h2 class="text-3xl font-bold mb-8 text-center">Step-by-Step Execution Guide</h2>
|
| 133 |
+
|
| 134 |
+
<div class="max-w-3xl mx-auto">
|
| 135 |
+
<div class="flex items-start mb-8">
|
| 136 |
+
<div class="step-number bg-primary-500 text-white font-bold">1</div>
|
| 137 |
+
<div>
|
| 138 |
+
<h3 class="text-xl font-semibold mb-2">Install Dependencies</h3>
|
| 139 |
+
<p class="text-gray-600 mb-3">Ensure you have Node.js and npm installed on your system.</p>
|
| 140 |
+
<div class="bg-gray-100 rounded-lg p-4 font-mono text-sm overflow-x-auto">
|
| 141 |
+
<span class="text-green-600">$</span> npm install -g codecanvas-wizardry
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
|
| 146 |
+
<div class="flex items-start mb-8">
|
| 147 |
+
<div class="step-number bg-primary-500 text-white font-bold">2</div>
|
| 148 |
+
<div>
|
| 149 |
+
<h3 class="text-xl font-semibold mb-2">Configure Your Project</h3>
|
| 150 |
+
<p class="text-gray-600 mb-3">Create a configuration file in your project root directory.</p>
|
| 151 |
+
<div class="bg-gray-100 rounded-lg p-4 font-mono text-sm overflow-x-auto">
|
| 152 |
+
<span class="text-green-600">$</span> touch wizardry.config.js
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<div class="flex items-start mb-8">
|
| 158 |
+
<div class="step-number bg-primary-500 text-white font-bold">3</div>
|
| 159 |
+
<div>
|
| 160 |
+
<h3 class="text-xl font-semibold mb-2">Run the Program</h3>
|
| 161 |
+
<p class="text-gray-600 mb-3">Execute the program with your preferred options.</p>
|
| 162 |
+
<div class="bg-gray-100 rounded-lg p-4 font-mono text-sm overflow-x-auto">
|
| 163 |
+
<span class="text-green-600">$</span> wizardry run --theme=dark --colors=primary:indigo,secondary:emerald
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
|
| 168 |
+
<div class="flex items-start">
|
| 169 |
+
<div class="step-number bg-primary-500 text-white font-bold">4</div>
|
| 170 |
+
<div>
|
| 171 |
+
<h3 class="text-xl font-semibold mb-2">Monitor Output</h3>
|
| 172 |
+
<p class="text-gray-600 mb-3">View real-time execution logs and results.</p>
|
| 173 |
+
<div class="bg-gray-100 rounded-lg p-4 font-mono text-sm overflow-x-auto">
|
| 174 |
+
<span class="text-green-600">$</span> wizardry logs --follow
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</section>
|
| 180 |
+
|
| 181 |
+
<section class="mb-20">
|
| 182 |
+
<h2 class="text-3xl font-bold mb-8 text-center">Frequently Asked Questions</h2>
|
| 183 |
+
|
| 184 |
+
<div class="max-w-3xl mx-auto">
|
| 185 |
+
<div class="bg-white rounded-xl shadow-sm mb-4 overflow-hidden">
|
| 186 |
+
<button class="w-full flex justify-between items-center p-6 text-left">
|
| 187 |
+
<h3 class="text-lg font-medium">How do I customize the color scheme?</h3>
|
| 188 |
+
<i data-feather="chevron-down" class="text-gray-400 transition-transform duration-200"></i>
|
| 189 |
+
</button>
|
| 190 |
+
<div class="px-6 pb-6 hidden">
|
| 191 |
+
<p class="text-gray-600">You can customize colors by editing the wizardry.config.js file and specifying your preferred color palette using Tailwind CSS color names or hex values.</p>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
|
| 195 |
+
<div class="bg-white rounded-xl shadow-sm mb-4 overflow-hidden">
|
| 196 |
+
<button class="w-full flex justify-between items-center p-6 text-left">
|
| 197 |
+
<h3 class="text-lg font-medium">What are the system requirements?</h3>
|
| 198 |
+
<i data-feather="chevron-down" class="text-gray-400 transition-transform duration-200"></i>
|
| 199 |
+
</button>
|
| 200 |
+
<div class="px-6 pb-6 hidden">
|
| 201 |
+
<p class="text-gray-600">The wizardry requires Node.js v14 or higher and works on Windows, macOS, and Linux systems. At least 2GB of RAM is recommended for optimal performance.</p>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<div class="bg-white rounded-xl shadow-sm mb-4 overflow-hidden">
|
| 206 |
+
<button class="w-full flex justify-between items-center p-6 text-left">
|
| 207 |
+
<h3 class="text-lg font-medium">How can I contribute to the project?</h3>
|
| 208 |
+
<i data-feather="chevron-down" class="text-gray-400 transition-transform duration-200"></i>
|
| 209 |
+
</button>
|
| 210 |
+
<div class="px-6 pb-6 hidden">
|
| 211 |
+
<p class="text-gray-600">We welcome contributions! Fork our GitHub repository, make your changes, and submit a pull request. Please read our contribution guidelines first.</p>
|
| 212 |
+
</div>
|
| 213 |
+
</div>
|
| 214 |
+
</div>
|
| 215 |
+
</section>
|
| 216 |
+
</main>
|
| 217 |
+
|
| 218 |
+
<footer class="bg-gray-100 py-12">
|
| 219 |
+
<div class="container mx-auto px-4">
|
| 220 |
+
<div class="grid md:grid-cols-4 gap-8 mb-8">
|
| 221 |
+
<div>
|
| 222 |
+
<h3 class="text-lg font-semibold mb-4">CodeCanvas Wizardry</h3>
|
| 223 |
+
<p class="text-gray-600 mb-4">Magical tools for modern developers.</p>
|
| 224 |
+
<div class="flex space-x-4">
|
| 225 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 transition"><i data-feather="github"></i></a>
|
| 226 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 transition"><i data-feather="twitter"></i></a>
|
| 227 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 transition"><i data-feather="linkedin"></i></a>
|
| 228 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 transition"><i data-feather="discord"></i></a>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
<div>
|
| 232 |
+
<h3 class="text-lg font-semibold mb-4">Resources</h3>
|
| 233 |
+
<ul class="space-y-2">
|
| 234 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Documentation</a></li>
|
| 235 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Tutorials</a></li>
|
| 236 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">API Reference</a></li>
|
| 237 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Blog</a></li>
|
| 238 |
+
</ul>
|
| 239 |
+
</div>
|
| 240 |
+
<div>
|
| 241 |
+
<h3 class="text-lg font-semibold mb-4">Community</h3>
|
| 242 |
+
<ul class="space-y-2">
|
| 243 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">GitHub Discussions</a></li>
|
| 244 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Stack Overflow</a></li>
|
| 245 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Twitter</a></li>
|
| 246 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Discord</a></li>
|
| 247 |
+
</ul>
|
| 248 |
+
</div>
|
| 249 |
+
<div>
|
| 250 |
+
<h3 class="text-lg font-semibold mb-4">Company</h3>
|
| 251 |
+
<ul class="space-y-2">
|
| 252 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">About Us</a></li>
|
| 253 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Careers</a></li>
|
| 254 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Privacy Policy</a></li>
|
| 255 |
+
<li><a href="#" class="text-gray-600 hover:text-primary-500 transition">Terms of Service</a></li>
|
| 256 |
+
</ul>
|
| 257 |
+
</div>
|
| 258 |
+
</div>
|
| 259 |
+
<div class="border-t border-gray-200 pt-8 text-center text-gray-500">
|
| 260 |
+
<p>© 2023 CodeCanvas Wizardry. All rights reserved.</p>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
</footer>
|
| 264 |
+
|
| 265 |
+
<script>
|
| 266 |
+
// Initialize Vanta.js globe background
|
| 267 |
+
VANTA.GLOBE({
|
| 268 |
+
el: "#vanta-bg",
|
| 269 |
+
mouseControls: true,
|
| 270 |
+
touchControls: true,
|
| 271 |
+
gyroControls: false,
|
| 272 |
+
minHeight: 200.00,
|
| 273 |
+
minWidth: 200.00,
|
| 274 |
+
scale: 1.00,
|
| 275 |
+
scaleMobile: 1.00,
|
| 276 |
+
color: 0x6366f1,
|
| 277 |
+
backgroundColor: 0xf8fafc,
|
| 278 |
+
size: 0.8
|
| 279 |
+
});
|
| 280 |
+
|
| 281 |
+
// FAQ accordion functionality
|
| 282 |
+
document.querySelectorAll('.bg-white button').forEach(button => {
|
| 283 |
+
button.addEventListener('click', () => {
|
| 284 |
+
const content = button.nextElementSibling;
|
| 285 |
+
const icon = button.querySelector('i');
|
| 286 |
+
|
| 287 |
+
content.classList.toggle('hidden');
|
| 288 |
+
icon.style.transform = content.classList.contains('hidden') ? 'rotate(0deg)' : 'rotate(180deg)';
|
| 289 |
+
});
|
| 290 |
+
});
|
| 291 |
+
|
| 292 |
+
// Initialize feather icons
|
| 293 |
+
feather.replace();
|
| 294 |
+
</script>
|
| 295 |
+
</body>
|
| 296 |
</html>
|