The first solution worldwide that makes yield farming as simple as PIX payments
Smart Pig democratizes access to DeFi in Brazil through the world's first solution that makes yield farming indistinguishable from traditional savings, offering 7-10% annual returns in USDC through a gamified experience.
- 💤 R$ 1.2 trillion sitting idle in savings accounts earning only 6% p.a.
- 🌐 Only 3% of population accesses DeFi due to technical complexity
- 💱 Bank spreads of 4-6% make dollar protection expensive for most Brazilians
- 🔒 86% of Brazilians want alternatives to traditional savings
Invisible DeFi: PIX (R$) → Smart Pig → Aquarius Pools → 7-10% p.a. USDC
- HTML5 + CSS3 + Vanilla JavaScript
- Responsive Design (Mobile-first)
- Custom Animations (bounce, glow, float)
- Progressive Enhancement
- Supabase (PostgreSQL + Real-time API)
- Row Level Security (RLS)
- UTM Tracking for marketing analytics
- Netlify (Global CDN, Auto HTTPS, Continuous Deployment)
- GitHub Actions (CI/CD pipeline)
📁 SmartPig-website/
├── 📄 index.html # Main landing page
├── 🖼️ smart-pig.svg # Custom pig mascot
├── 📋 README.md # Project documentation
└── 📝 .gitignore # Git ignore rules
- Modern web browser
- Git installed
- Supabase account (for backend)
- Clone the repository
git clone https://github.com/CarolTea/SmartPig-website.git
cd SmartPig-website- Open in browser
# Simply open index.html in your browser
# Or use a local server (recommended):
python -m http.server 8000
# Then visit: http://localhost:8000- Configure Supabase (Optional for development)
- Create project at supabase.com
- Update credentials in
index.html - Run SQL to create
early_adopterstable
CREATE TABLE early_adopters (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
name VARCHAR(255) NOT NULL,
email VARCHAR(255) UNIQUE NOT NULL,
phone VARCHAR(20),
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
utm_source VARCHAR(50) DEFAULT 'website',
utm_campaign VARCHAR(50) DEFAULT 'early-adopter'
);The website includes built-in UTM parameter tracking:
utm_source: Traffic source (google, facebook, instagram, etc.)utm_campaign: Campaign name (early-adopter, launch, ads, etc.)
Example URLs:
- Direct:
smartpig.com - Instagram:
smartpig.com?utm_source=instagram&utm_campaign=launch - Google Ads:
smartpig.com?utm_source=google&utm_campaign=ads
- ✅ Biometric Authentication (Passkeys - Face ID/Touch ID/Windows Hello)
- ✅ Row Level Security in Supabase
- ✅ Input Validation and sanitization
- ✅ HTTPS Everywhere (Netlify auto-SSL)
- ✅ Content Security Policy headers
- ✅ XSS Protection built-in
- Primary Gold:
#FFD700(trust and confidence) - Vibrant Yellow:
#FFEB3B(energy and optimism) - Neon Green:
#C6FF00(technology and growth) - Pig Accent:
#FF8A65(warm salmon for mascot) - Background:
linear-gradient(135deg, #1a1a1a 0%, #2A5298 100%)
- Dark theme with glowing accents
- Smooth animations (bounce, glow, progress bars)
- Mobile-first responsive design
- Gamification elements
The website is fully responsive and optimized for:
- 📱 Mobile devices (320px+)
- 📟 Tablets (768px+)
- 💻 Desktop (1024px+)
- 🖥️ Large screens (1440px+)
Every push to main branch automatically deploys to Netlify.
- Build the project (if needed)
- Deploy to Netlify via drag-and-drop or CLI
- Configure custom domain (optional)
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is proprietary and confidential. All rights reserved.
Made with ❤️ in Brazil
🐷 "Transforming complex DeFi into something as simple as using PIX"