Instructions to use Felipe2231/impulso-digital-site with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Felipe2231/impulso-digital-site with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Felipe2231/impulso-digital-site", set_active=True) - Notebooks
- Google Colab
- Kaggle
Manus
Checkpoint: Complete multilingual Impulso Digital website with full i18n support. Includes language switcher component in header with Portuguese (🇧🇷), English (🇺🇸), and Spanish (🇪🇸) options. All content translated across all sections: Hero, Aurora Ecosystem, Drex Digital Partnership, Digital Sovereignty, Consumer Journey, and Contact. Language preference saved to localStorage. Maintains futuristic cyberpunk design with neon accents, interactive slides, premium icons, and institutional messaging. Fully responsive and optimized for government and investor presentations.
b2b0280 Download client/src/components/LanguageSwitcher.tsx from Felipe2231/impulso-digital-site: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/Felipe2231/impulso-digital-site/resolve/main/client/src/components/LanguageSwitcher.tsx
- Command line
-
hf download hf://Felipe2231/impulso-digital-site/client/src/components/LanguageSwitcher.tsx
-
curl -L -o LanguageSwitcher.tsx https://huggingface.co/Felipe2231/impulso-digital-site/resolve/main/client/src/components/LanguageSwitcher.tsx
1.13 kB
| import { useLanguage } from '@/contexts/LanguageContext'; | |
| import { Language } from '@/lib/translations'; | |
| import { Globe } from 'lucide-react'; | |
| export function LanguageSwitcher() { | |
| const { language, setLanguage } = useLanguage(); | |
| const languages: { code: Language; label: string; flag: string }[] = [ | |
| { code: 'pt', label: 'Português', flag: '🇧🇷' }, | |
| { code: 'en', label: 'English', flag: '🇺🇸' }, | |
| { code: 'es', label: 'Español', flag: '🇪🇸' }, | |
| ]; | |
| return ( | |
| <div className="flex items-center gap-1 bg-card border border-primary/30 rounded-lg p-1"> | |
| <Globe className="w-4 h-4 text-primary ml-2" /> | |
| {languages.map((lang) => ( | |
| <button | |
| key={lang.code} | |
| onClick={() => setLanguage(lang.code)} | |
| className={`px-3 py-1.5 rounded text-sm font-medium transition-all ${ | |
| language === lang.code | |
| ? 'bg-primary text-background' | |
| : 'text-foreground hover:bg-primary/10' | |
| }`} | |
| title={lang.label} | |
| > | |
| {lang.flag} {lang.code.toUpperCase()} | |
| </button> | |
| ))} | |
| </div> | |
| ); | |
| } | |