A modern, secure, and responsive one-page website template that has been completely updated to follow current web standards and best practices.
- Overview
- Features
- Demo
- Installation
- Usage
- Customization
- Browser Support
- Contributing
- License
- Credits
- Support
This template has been completely modernized from its original version, incorporating the latest web development standards, security best practices, and modern design principles. Perfect for businesses, portfolios, and service-based websites.
- CSRF Protection - All forms include CSRF tokens
- Input Sanitization - Proper validation and sanitization
- Security Headers - XSS protection, content type options
- Modern PHP - Updated from deprecated functions
- Responsive Layout - Mobile-first approach
- CSS Grid & Flexbox - Modern layout techniques
- CSS Custom Properties - Easy theming and customization
- Smooth Animations - CSS transitions and keyframes
- Glass Morphism - Modern visual effects
- Vanilla JavaScript - No jQuery dependencies
- Optimized CSS - Efficient selectors and properties
- Lazy Loading - Images and content optimization
- Minified Assets - Production-ready files
- Mobile-First - Optimized for all devices
- Touch-Friendly - Mobile navigation and interactions
- Cross-Browser - Works on all modern browsers
- Accessibility - WCAG compliant design
Visit the live demo to see the template in action:
- Live Preview: [Your Demo URL]
- Features Showcase: Responsive design, animations, forms
- PHP 7.4 or higher
- Web server (Apache/Nginx)
- Modern web browser
-
Clone the repository
git clone https://github.com/Digitalcloud-Ali/Onepage-Template.git cd Onepage-Template -
Upload to your web server
- Upload all files to your web server directory
- Ensure PHP is enabled on your server
-
Configure your server
- Make sure
.htaccessis enabled (Apache) - Set proper file permissions (755 for directories, 644 for files)
- Make sure
-
Access your site
- Navigate to your domain in a web browser
- The template should load immediately
composer install- Download the ZIP file from releases
- Extract to your web server directory
-
Edit Configuration
- Open
includes/config.php - Update
ADMIN_EMAILwith your email - Modify
SITE_URLif needed
- Open
-
Customize Content
- Edit
index.htmlfor main content - Update images in the
images/folder - Modify colors in
style-modern.css
- Edit
-
Form Configuration
- Forms are pre-configured for email delivery
- Update recipient emails in PHP files
- Test form submissions
:root {
--primary-color: #cb3a01; /* Main brand color */
--accent-color: #ff6b35; /* Accent color */
--text-dark: #333333; /* Dark text */
--text-light: #ffffff; /* Light text */
}:root {
--font-family-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
--font-size-h1: 3.5rem;
--font-size-h2: 2.5rem;
}:root {
--spacing-xs: 0.5rem;
--spacing-sm: 1rem;
--spacing-md: 1.5rem;
--spacing-lg: 2.5rem;
--spacing-xl: 4rem;
--spacing-xxl: 6rem;
}- Hero Section - Main landing area
- About Section - Company information
- Services Section - Service offerings
- Portfolio Section - Work showcase
- Request Quote - Contact form
- Support Section - Help and resources
- Add HTML structure to
index.html - Create corresponding CSS in
style-modern.css - Add navigation links if needed
- Test responsiveness across devices
- Forms use modern PHP with CSRF protection
- Easy to add/remove fields
- Built-in validation and sanitization
- Email delivery configuration
| Browser | Version | Support |
|---|---|---|
| Chrome | 90+ | ✅ Full Support |
| Firefox | 88+ | ✅ Full Support |
| Safari | 14+ | ✅ Full Support |
| Edge | 90+ | ✅ Full Support |
| IE | 11 |
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Make your changes
- Test thoroughly
- Submit a pull request
-
Clone your fork
git clone https://github.com/Digitalcloud-Ali/Onepage-Template.git
-
Install dependencies (if any)
npm install
-
Make changes and test
-
Commit with clear messages
git commit -m "Add amazing new feature" -
Push and create PR
- Follow existing code style
- Add comments for complex logic
- Test on multiple browsers
- Ensure mobile responsiveness
This project is licensed under the MIT License - see the LICENSE file for details.
- ✅ Free to use for commercial and non-commercial purposes
- ✅ Free to modify and distribute
- ✅ Free to use in private and public projects
- ✅ Attribution required (see credits section)
- ❌ No warranty provided
- Use in commercial projects
- Modify and customize
- Distribute modified versions
- Use in client work
- Include in other projects
- Include the original license
- Credit the original authors
- Include copyright notices
- Template Name: Onepage Template
- Original Version: 1.0 (Legacy)
- Original Technologies: jQuery, Old PHP, Basic CSS
- Modernized By: DigitalCloud.no
- Contact Email: ask@digitalcloud.no
- Website: https://digitalcloud.no/
- Version: 2.0 (Complete Redesign)
- Frontend: HTML5, CSS3, Vanilla JavaScript (ES6+)
- Backend: PHP 7.4+, Modern Security Practices
- Design: CSS Grid, Flexbox, Custom Properties
- Icons: Emoji Icons, Custom SVG (where applicable)
- Modern web standards community
- CSS Grid and Flexbox pioneers
- PHP security best practices contributors
- Open source community
- Documentation: Check this README first
- Issues: Create a GitHub issue for bugs
- Discussions: Use GitHub discussions for questions
- Email: Contact us directly at ask@digitalcloud.no
- Check PHP is enabled on your server
- Verify email configuration in
config.php - Check server error logs
- Clear browser cache
- Check CSS file paths
- Verify
.htaccessis working
- Test on actual devices
- Check viewport meta tag
- Verify CSS media queries
Need professional help with customization or deployment?
- Email: ask@digitalcloud.no
- Website: https://digitalcloud.no/
- Services: Custom development, hosting, maintenance
- Dark/Light theme toggle
- Additional animation options
- Enhanced form validation
- Performance optimizations
- PWA capabilities
- Advanced SEO features
- Multi-language support
- CMS integration options
- Complete modernization from legacy code
- Security improvements and CSRF protection
- Modern CSS with Grid and Flexbox
- Vanilla JavaScript implementation
- Responsive design overhaul
- Performance optimizations
- Original jQuery-based template
- Basic responsive design
- Simple PHP forms
- Traditional CSS layout
Have you used this template? Show us your work!
- Submit your site: ask@digitalcloud.no
- Share on social media: Tag us @digitalcloudno
- GitHub stars: Help others discover this template
# 1. Clone the repository
git clone https://github.com/Digitalcloud-Ali/Onepage-Template.git
# 2. Upload to your web server
# 3. Configure in includes/config.php
# 4. Customize content in index.html
# 5. Deploy and enjoy!Made with ❤️ by DigitalCloud.no
Free to use, modify, and distribute under MIT License
Questions? Contact us at ask@digitalcloud.no
This template is provided as-is for educational and commercial use. While we strive for quality, we cannot guarantee it will meet your specific needs. For professional assistance, please contact us directly.