A modern, professional website for online safety education targeting teenagers, parents, and educators.
The website uses a vibrant gradient color scheme:
- Primary Purple:
#8b5cf6(violet-500) - Pink:
#ec4899(pink-500) - Teal:
#14b8a6(teal-500) - Blue:
#3b82f6(blue-500) - Cyan:
#06b6d4(cyan-500)
- Font Family: Outfit from Google Fonts
- Weights: 300, 400, 500, 600, 700, 800
- Style: Modern, geometric sans-serif perfect for teen audiences
- Primary:
linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #14b8a6 100%) - Secondary:
linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) - Hero: Multi-color gradient for hero sections
Web_Files/
βββ css/
β βββ styles.css # Main stylesheet (28KB+) - Complete design system
βββ js/
β βββ main.js # Interactive features & animations
βββ icons/
β βββ facebook.png
β βββ twitter.png
β βββ instagram.png
β βββ youtube.png
β βββ rss.png
β βββ Twitch.png
β βββ Facebook Gaming.png
β βββ YouTube Gaming.png
β βββ cursor-1.png
βββ images/
β βββ [various images for content]
βββ Home.html # Homepage
βββ Information.html # About & Mission
βββ Popular Apps.html # App safety guides
βββ Parents Help.html # Resources for parents
βββ Livestreaming.html # Livestreaming safety
βββ Contact.html # Contact form & info
βββ Legislation.html # Laws & regulations
βββ Privacy Policy.html # Privacy policy
βββ rss.xml # RSS feed
βββ README.md # This file
- β Fully Responsive - Perfect on mobile, tablet, and desktop
- β No Bootstrap - Lightweight custom CSS (~28KB)
- β Modern Gradients - Purple/Pink/Teal/Blue color scheme
- β Outfit Font - Professional, teen-friendly typography
- β Smooth Animations - Scroll-triggered animations, hover effects
- β Sticky Navigation - Fixed header with scroll effects
- β Mobile Menu - Hamburger menu for mobile devices
- β Scroll to Top - Floating button for easy navigation
- β Card-based Layouts - Modern, organized content presentation
- β Floating Particles - Animated background effects
- Mobile menu toggle with smooth animations
- Scroll-triggered fade-in animations
- Hover effects on cards, buttons, and links
- Form validation with real-time feedback
- Search functionality (on Popular Apps page)
- Interactive checklists
- Counter animations for statistics
- Semantic HTML5 structure
- ARIA labels for interactive elements
- Keyboard navigation support
- Focus-visible styles
- Reduced motion support (
prefers-reduced-motion) - High contrast mode support
| Breakpoint | Width | Description |
|---|---|---|
| Mobile | < 480px | Single column, stacked layout |
| Mobile Large | < 768px | Adjusted typography, mobile menu |
| Tablet | < 992px | 2-column grids, hamburger menu |
| Desktop | < 1200px | Full layouts |
| Large Desktop | > 1200px | Max-width containers |
- Hero section with gradient text
- Statistics counter animation
- Feature cards with icons
- Safety tips section
- Campaigns manager CTA
- Aims & Vision sections
- Why Online Safety Matters cards
- Additional resources links
- App cards for major platforms (Twitter, Facebook, Instagram, Snapchat, WhatsApp, TikTok, YouTube, Twitch)
- Platform-specific safety tips
- Search functionality
- Universal safety tips
- Four key tips for parents
- Warning signs section
- Interactive checklist
- Parent resources
- Embedded safety video
- Platform links (Twitch, Facebook Gaming, YouTube Gaming)
- Streaming safety tips
- Streamer checklist
- Parent streamer guidance
- Contact form with validation
- Branch location information
- Embedded map
- FAQ section
- Emergency help section
- US legislation (COPPA, CIPA)
- UK/EU legislation (GDPR, Online Safety Bill)
- Best practices cards
- Digital rights & responsibilities
All design tokens are stored in CSS custom properties for easy theming:
:root {
--color-purple: #8b5cf6;
--color-pink: #ec4899;
--color-teal: #14b8a6;
--color-blue: #3b82f6;
--gradient-primary: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 50%, var(--color-teal) 100%);
/* ... more variables */
}.btn- Button variants (primary, secondary, outline).card- Card layouts with hover effects.grid- CSS Grid layouts (2, 3, 4 columns).section- Page section containers.nav-link- Navigation links with hover effects.animate-on-scroll- Scroll-triggered animations
initNavigation()- Sticky header & mobile menuinitScrollEffects()- Scroll-to-top button & smooth scrollinitAnimations()- Intersection Observer for scroll animationsinitParticles()- Floating background particlesinitSearch()- Search functionalityinitFormValidation()- Form validation
debounce()- Performance optimizationthrottle()- Scroll performanceCookies- Cookie managementStorage- LocalStorage wrapperToast- Notification systemModal- Modal dialog handling
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
- iOS Safari 14+
- Chrome Android 90+
- Copy the header and footer from an existing page
- Update the page title and meta description
- Add the active class to the appropriate nav link
- Include
styles.cssandmain.js - Update the breadcrumb in the footer
<div class="card animate-on-scroll">
<div class="card-icon">π―</div>
<h3 class="card-title">Card Title</h3>
<p class="card-text">Card description...</p>
</div>Add the animate-on-scroll class to any element:
<div class="animate-on-scroll">Content fades in on scroll</div>
<div class="animate-on-scroll stagger-2">Content with delay</div><a href="#" class="btn btn-primary">Primary Button</a>
<a href="#" class="btn btn-secondary">Secondary Button</a>
<a href="#" class="btn btn-outline">Outline Button</a>- Forms include CSRF protection (implement server-side)
- All external links use
rel="noopener" - Form validation on client and server sides
- Privacy Policy linked on all forms
Β© 2024 Social Media Campaigns Ltd. All rights reserved.
- Font: Outfit by Rodrigo Fuenzalida
- Design System: Custom built for SMC Ltd.
- Icons: Original icons and emoji-based icons
- Images: Original campaign images and assets
For questions or support, contact:
- Email: info@smc-ltd.com
- Emergency: help@smc-ltd.com
- Website: Contact Page
Built with β€οΈ for a safer online world.