внедри инструменты и модификаторы, замены текта,среды разработки иде и имнтеграций
Browse files- components/ide-card.js +80 -0
- style.css +26 -1
- tools.html +63 -2
components/ide-card.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class IdeCard extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
margin: 1rem 0;
|
| 9 |
+
}
|
| 10 |
+
.card {
|
| 11 |
+
border: 1px solid #e5e7eb;
|
| 12 |
+
border-radius: 8px;
|
| 13 |
+
padding: 1rem;
|
| 14 |
+
background: #f9fafb;
|
| 15 |
+
transition: all 0.2s;
|
| 16 |
+
}
|
| 17 |
+
.card:hover {
|
| 18 |
+
transform: translateY(-2px);
|
| 19 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
| 20 |
+
}
|
| 21 |
+
.header {
|
| 22 |
+
display: flex;
|
| 23 |
+
align-items: center;
|
| 24 |
+
margin-bottom: 0.5rem;
|
| 25 |
+
}
|
| 26 |
+
.icon {
|
| 27 |
+
width: 32px;
|
| 28 |
+
height: 32px;
|
| 29 |
+
margin-right: 0.5rem;
|
| 30 |
+
border-radius: 4px;
|
| 31 |
+
}
|
| 32 |
+
h3 {
|
| 33 |
+
margin: 0;
|
| 34 |
+
font-size: 1rem;
|
| 35 |
+
font-weight: 600;
|
| 36 |
+
}
|
| 37 |
+
.description {
|
| 38 |
+
color: #6b7280;
|
| 39 |
+
font-size: 0.875rem;
|
| 40 |
+
margin: 0.5rem 0;
|
| 41 |
+
}
|
| 42 |
+
.actions {
|
| 43 |
+
display: flex;
|
| 44 |
+
gap: 0.5rem;
|
| 45 |
+
margin-top: 0.75rem;
|
| 46 |
+
}
|
| 47 |
+
a {
|
| 48 |
+
padding: 0.25rem 0.5rem;
|
| 49 |
+
font-size: 0.875rem;
|
| 50 |
+
border-radius: 4px;
|
| 51 |
+
text-decoration: none;
|
| 52 |
+
display: inline-block;
|
| 53 |
+
}
|
| 54 |
+
.primary {
|
| 55 |
+
background: #3b82f6;
|
| 56 |
+
color: white;
|
| 57 |
+
border: none;
|
| 58 |
+
}
|
| 59 |
+
.secondary {
|
| 60 |
+
background: white;
|
| 61 |
+
border: 1px solid #e5e7eb;
|
| 62 |
+
color: #4b5563;
|
| 63 |
+
}
|
| 64 |
+
</style>
|
| 65 |
+
<div class="card">
|
| 66 |
+
<div class="header">
|
| 67 |
+
<img src="http://static.photos/technology/200x200/${Math.floor(Math.random() * 100)}" class="icon">
|
| 68 |
+
<h3><slot name="name">IDE</slot></h3>
|
| 69 |
+
</div>
|
| 70 |
+
<div class="description"><slot name="description">Development environment</slot></div>
|
| 71 |
+
<div class="actions">
|
| 72 |
+
<a href="#" class="primary" target="_blank">Download</a>
|
| 73 |
+
<a href="#" class="secondary" target="_blank">Docs</a>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
`;
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
customElements.define('ide-card', IdeCard);
|
style.css
CHANGED
|
@@ -36,7 +36,6 @@ p {
|
|
| 36 |
border-left: 3px solid #3b82f6;
|
| 37 |
padding: 10px 12px;
|
| 38 |
}
|
| 39 |
-
|
| 40 |
#chat-container div[class*="bg-blue-100"] {
|
| 41 |
max-width: 80%;
|
| 42 |
background: #ebf5ff;
|
|
@@ -44,6 +43,32 @@ p {
|
|
| 44 |
padding: 10px 12px;
|
| 45 |
}
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
button[onclick^="setContext"] {
|
| 48 |
font-size: 14px;
|
| 49 |
font-weight: 500;
|
|
|
|
| 36 |
border-left: 3px solid #3b82f6;
|
| 37 |
padding: 10px 12px;
|
| 38 |
}
|
|
|
|
| 39 |
#chat-container div[class*="bg-blue-100"] {
|
| 40 |
max-width: 80%;
|
| 41 |
background: #ebf5ff;
|
|
|
|
| 43 |
padding: 10px 12px;
|
| 44 |
}
|
| 45 |
|
| 46 |
+
/* IDE Cards */
|
| 47 |
+
ide-card {
|
| 48 |
+
margin-bottom: 1.5rem;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
/* Tool sections */
|
| 52 |
+
.tool-section {
|
| 53 |
+
margin-bottom: 2.5rem;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.tool-section h2 {
|
| 57 |
+
border-bottom: 1px solid #e5e7eb;
|
| 58 |
+
padding-bottom: 0.5rem;
|
| 59 |
+
margin-bottom: 1.5rem;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
/* Integration badges */
|
| 63 |
+
.integration-badge {
|
| 64 |
+
display: inline-block;
|
| 65 |
+
background: #f3f4f6;
|
| 66 |
+
border-radius: 9999px;
|
| 67 |
+
padding: 0.25rem 0.75rem;
|
| 68 |
+
font-size: 0.875rem;
|
| 69 |
+
margin-right: 0.5rem;
|
| 70 |
+
margin-bottom: 0.5rem;
|
| 71 |
+
}
|
| 72 |
button[onclick^="setContext"] {
|
| 73 |
font-size: 14px;
|
| 74 |
font-weight: 500;
|
tools.html
CHANGED
|
@@ -78,7 +78,6 @@
|
|
| 78 |
</ul>
|
| 79 |
</div>
|
| 80 |
</div>
|
| 81 |
-
|
| 82 |
<div class="mt-6">
|
| 83 |
<h2 class="text-xl font-semibold mb-4">Application Modification Tools</h2>
|
| 84 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
@@ -92,13 +91,75 @@
|
|
| 92 |
<p class="text-gray-600 text-sm mt-1">Tools for analyzing and modifying existing applications.</p>
|
| 93 |
<a href="https://ghidra-sre.org/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Ghidra</a>
|
| 94 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
<div class="mt-6">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
<a href="index.html" class="text-blue-500 hover:underline">← Back to Home</a>
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
<script src="components/api-connector.js"></script>
|
|
|
|
| 103 |
</body>
|
| 104 |
</html>
|
|
|
|
| 78 |
</ul>
|
| 79 |
</div>
|
| 80 |
</div>
|
|
|
|
| 81 |
<div class="mt-6">
|
| 82 |
<h2 class="text-xl font-semibold mb-4">Application Modification Tools</h2>
|
| 83 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
|
|
| 91 |
<p class="text-gray-600 text-sm mt-1">Tools for analyzing and modifying existing applications.</p>
|
| 92 |
<a href="https://ghidra-sre.org/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Ghidra</a>
|
| 93 |
</div>
|
| 94 |
+
<div class="border p-4 rounded-lg">
|
| 95 |
+
<h3 class="font-medium">Text Replacement Tools</h3>
|
| 96 |
+
<p class="text-gray-600 text-sm mt-1">Powerful find-and-replace across files and projects.</p>
|
| 97 |
+
<a href="https://www.sublimetext.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Sublime Text</a>
|
| 98 |
+
</div>
|
| 99 |
+
<div class="border p-4 rounded-lg">
|
| 100 |
+
<h3 class="font-medium">Regex Tools</h3>
|
| 101 |
+
<p class="text-gray-600 text-sm mt-1">Test and debug regular expressions.</p>
|
| 102 |
+
<a href="https://regex101.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Regex101</a>
|
| 103 |
+
</div>
|
| 104 |
</div>
|
| 105 |
</div>
|
| 106 |
+
|
| 107 |
+
<div class="mt-6">
|
| 108 |
+
<h2 class="text-xl font-semibold mb-4">Development Environments</h2>
|
| 109 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 110 |
+
<div class="border p-4 rounded-lg">
|
| 111 |
+
<h3 class="font-medium">VS Code</h3>
|
| 112 |
+
<p class="text-gray-600 text-sm mt-1">Popular lightweight editor with extensive extensions.</p>
|
| 113 |
+
<a href="https://code.visualstudio.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Download</a>
|
| 114 |
+
</div>
|
| 115 |
+
<div class="border p-4 rounded-lg">
|
| 116 |
+
<h3 class="font-medium">JetBrains IDEs</h3>
|
| 117 |
+
<p class="text-gray-600 text-sm mt-1">Powerful IDEs for various languages (WebStorm, PyCharm, etc).</p>
|
| 118 |
+
<a href="https://www.jetbrains.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">All Products</a>
|
| 119 |
+
</div>
|
| 120 |
+
<div class="border p-4 rounded-lg">
|
| 121 |
+
<h3 class="font-medium">Cloud IDEs</h3>
|
| 122 |
+
<p class="text-gray-600 text-sm mt-1">GitHub Codespaces, Gitpod, and more.</p>
|
| 123 |
+
<a href="https://github.com/features/codespaces" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Codespaces</a>
|
| 124 |
+
</div>
|
| 125 |
+
<div class="border p-4 rounded-lg">
|
| 126 |
+
<h3 class="font-medium">Terminal Tools</h3>
|
| 127 |
+
<p class="text-gray-600 text-sm mt-1">iTerm2, Windows Terminal, tmux, etc.</p>
|
| 128 |
+
<a href="https://iterm2.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">iTerm2</a>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
|
| 133 |
<div class="mt-6">
|
| 134 |
+
<h2 class="text-xl font-semibold mb-4">Integration Services</h2>
|
| 135 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 136 |
+
<div class="border p-4 rounded-lg">
|
| 137 |
+
<h3 class="font-medium">Zapier</h3>
|
| 138 |
+
<p class="text-gray-600 text-sm mt-1">Automate workflows between apps.</p>
|
| 139 |
+
<a href="https://zapier.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Website</a>
|
| 140 |
+
</div>
|
| 141 |
+
<div class="border p-4 rounded-lg">
|
| 142 |
+
<h3 class="font-medium">Make (Integromat)</h3>
|
| 143 |
+
<p class="text-gray-600 text-sm mt-1">Visual automation platform.</p>
|
| 144 |
+
<a href="https://www.make.com/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Website</a>
|
| 145 |
+
</div>
|
| 146 |
+
<div class="border p-4 rounded-lg">
|
| 147 |
+
<h3 class="font-medium">n8n</h3>
|
| 148 |
+
<p class="text-gray-600 text-sm mt-1">Open-source workflow automation.</p>
|
| 149 |
+
<a href="https://n8n.io/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Website</a>
|
| 150 |
+
</div>
|
| 151 |
+
<div class="border p-4 rounded-lg">
|
| 152 |
+
<h3 class="font-medium">Apache Camel</h3>
|
| 153 |
+
<p class="text-gray-600 text-sm mt-1">Enterprise integration patterns.</p>
|
| 154 |
+
<a href="https://camel.apache.org/" target="_blank" class="text-blue-500 hover:underline text-sm mt-2 inline-block">Docs</a>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="mt-6">
|
| 159 |
<a href="index.html" class="text-blue-500 hover:underline">← Back to Home</a>
|
| 160 |
</div>
|
| 161 |
</div>
|
| 162 |
<script src="components/api-connector.js"></script>
|
| 163 |
+
<script src="components/ide-card.js"></script>
|
| 164 |
</body>
|
| 165 |
</html>
|