Spaces:
Running
Running
Download components/features.js from caiubymr/cloudshield-sentinels: direct link, hf CLI and curl.
- Browser
- Download file 3.32 kB
-
https://huggingface.co/spaces/caiubymr/cloudshield-sentinels/resolve/main/components/features.js
- Command line
-
hf download hf://spaces/caiubymr/cloudshield-sentinels/components/features.js
-
curl -L -o features.js https://huggingface.co/spaces/caiubymr/cloudshield-sentinels/resolve/main/components/features.js
3.32 kB
| class CustomFeatures extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .feature-card { | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| border-radius: 16px; | |
| position: relative; | |
| overflow: hidden; | |
| border: 1px solid rgba(255,255,255,0.2); | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-8px) scale(1.02); | |
| box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); | |
| } | |
| .feature-card:before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 4px; | |
| background: var(--gradient); | |
| } | |
| .feature-icon { | |
| transition: all 0.4s ease; | |
| } | |
| .feature-card:hover .feature-icon { | |
| transform: rotateY(180deg); | |
| } | |
| </style> | |
| <section id="features" class="py-20 bg-gray-50"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold text-center mb-16" data-i18n="featuresTitle">Comprehensive PII Protection</h2> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="feature-card bg-white p-8 rounded-lg shadow-md hover-scale"> | |
| <div class="bg-primary bg-opacity-10 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-6 feature-icon"> | |
| <i data-feather="database" class="text-primary text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">AWS RDS Protection</h3> | |
| <p class="text-gray-600">Automatically detect and mask PII in your relational databases with zero downtime.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-lg shadow-md hover-scale"> | |
| <div class="bg-secondary bg-opacity-10 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-6"> | |
| <i data-feather="hard-drive" class="text-secondary text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">DynamoDB Security</h3> | |
| <p class="text-gray-600">Protect sensitive data in NoSQL databases with our advanced encryption techniques.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-lg shadow-md hover-scale"> | |
| <div class="bg-primary bg-opacity-10 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-6"> | |
| <i data-feather="search" class="text-primary text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">OpenSearch Privacy</h3> | |
| <p class="text-gray-600">Ensure search queries don't expose sensitive information with our intelligent filtering.</p> | |
| </div> | |
| </div> | |
| <div class="mt-12 text-center"> | |
| <div class="inline-flex items-center bg-gray-100 rounded-full px-6 py-3"> | |
| <i data-feather="cloud" class="text-gray-500 mr-2"></i> | |
| <span class="text-gray-700">Also works with: S3, Redshift, DocumentDB, and more</span> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-features', CustomFeatures); |