A professional, responsive one-page template for corporate websites
- Live Demo: Visit Project Page
- Alternative URL: GitHub Pages
This is a mobile-first HTML template designed for corporate businesses. It employs the BEM methodology for CSS, utilizes PostCSS for style processing, and follows object-oriented programming principles and module pattern in JavaScript. The build process, managed by Gulp, includes support for CSS prefixes, image optimization, lazy loading for improved performance, and more.
Clone this repository:
git clone https://github.com/pariskwsto/corporate_one-page-template.git
Navigate into project root:
cd corporate_one-page-template
Install dependencies:
npm install && npm install gulp-cli@2.3.0 -g
For development:
gulp watch
For building:
gulp build
For built application preview:
gulp previewDist
gulp build
- It deletes the dist directory (if already exists)
- It creates a new copy of svg and png icons set
- It copies all directories and files from src to dist
- It optimizes the images
- It generate the stylesheets from the PostCSS of the css files
- It bundles the javascript files
- It minifies the css and js files
gulp icons
- It creates a new copy of svg and png icons set
gulp previewDist
- It runs the BrowserSync static server to preview the built project
gulp scripts
- It bundles the javascript files
- It transforms the javascript files from ES6+ to older version
gulp styles
- It generates the stylesheets from the PostCSS of the css files
- It minifies the css files
gulp watch
- It runs the BrowserSync static server to preview the project
- It watches for changes to the html file and reloads the browser
- It compiles the PostCSS of the css files
- It watches for changes to the css files and injects them into the browser
- It bundles the js scripts and transforms them from ES6 to older version
- It watches for changes to the js files and reloads the browser
gulp --tasks
- HTML5
- CSS3 (Flexbox)
- PostCSS
- Normalize.css
- BEM Methodology
- Mobile-first Design
- Responsive Images & Lazy Loading
- JavaScript (OOP & Module Pattern)
- jQuery
- Gulp
- BrowserSync
- Autoprefixer
- Icon Sprites
- Modernizr
- Babel
- Webpack
- Git & GitHub
- Node.js & NPM
Designed and built by pariskwsto.
This template is licensed under the MIT License.
For support and questions, please open an issue in the repository or contact the designer directly.