CopyGen - AI Writer & Copywriting Landing Page HTML Template
CopyGen - is a responsive website template. It is fully flexible user-friendly and responsive template that looks great on Desktops, Tablets, and Mobile Devices. This template built with Boostrap 5, HTML5, CSS3, Vanilla Js, SASS, and Gulp. It includes 3 Homepage, and 6+ pre-built inner pages. Also the template well organized folder structure, clean & commented code.
If you like our template. please don't forgot to rate it. Thank you so much!
[ CopyGen-template ] folder.
|--docs/
|--copygen-html/
|--|--html/
|--|--|--index.html
|--|--|--index-s2.html
|--|--|--[other-pages].html
|--|--|--assets/
|--|--|--|--css/
|--|--|--|--|--style.css
|--|--|--|--|--style-s2.css
|--|--|--|--|--theme.css
|--|--|--|--fonts/
|--|--|--|--images/
|--|--|--|--js/
|--|--|--|--|--bundle.js
|--|--|--|--|--scripts.js
|--|--|--images/
|--|--|--|--avatar/
|--|--|--|--logo.png
|--|--|--form/
|--|--|--|--message-form.php
|--|--src/
|--|--|--assets/
|--|--|--|--fonts/
|--|--|--|--images/
|--|--|--|--js/
|--|--|--|--|--vendors/
|--|--|--|--|--script.js
|--|--|--|--|--bundle.js
|--|--|--|--scss/
|--|--|--|--|--|--core/
|--|--|--|--|--|--extend/
|--|--|--|--|--|--bootstrap/
|--|--|--|--|--|--vendors/
|--|--|--|--|--_variables.scss
|--|--|--|--|--_variables-[other-variables].scss
|--|--|--|--|--style.scss
|--|--|--|--|--style-[other-styles].scss
|--|--|--|--|--theme.scss
|--|--gulpfile.js
|--|--package.json
This is a basic HTML Structure.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="Softnio">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/images/favicon.png">
<title>CopyGen || Website Tagline</title>
<link rel="stylesheet" href="/assets/css/style.css?v1.0.0">
</head>
<body class="nk-body" data-navbar-collapse="xl">
<div class="nk-app-root">
<header class="nk-header">
</header><!-- .nk-header -->
<main class="nk-pages">
<section class="section">
<div class="container">
</div><!-- .container -->
</section><!-- .section -->
</main>
<footer class="nk-footer">
</footer><!-- .nk-footer -->
</div>
<script src="/assets/js/bundle.js?v1.0.0"></script>
<script src="/assets/js/scripts.js?v1.0.0"></script>
</body>
</html>
We have created all the scss files in the src/scss folder.
|--src/
|--|--scss/
|--|--|--core/
|--|--|--|--_style.scss
|--|--|--extend/
|--|--|--|--bootstrap/
|--|--|--vendors/
|--|--|--_variables.scss
|--|--|--_variables-[other-variables].scss
|--|--|--style.scss
|--|--|--style-[other-styles].scss
Editing style css is not recommended if you are not that expert at css , just create another new file and include that in your html file
We have added all js files inside the src/js/bundle.js file. and our custom javascript code inside the src/js/script.js file.
|--src/
|--|--js/
|--|--|--bundle.js
|--|--|--scripts.js
If you are not familiar with javascript, then it is hightly recommended do not make any changes to core JS files. because it may get error if you make any changes inside the core js files.
It is recommended to write your JS code, then create a new js file in js folder. and write your own javascript code.
To activate dark mode by default you need to add .is-dark class with body and then add .dark-active class with .dark-mode-toggle buttons.
This is just an HTML template so our darkmode toggle is not fully functional, it changes back to default mode after page reload.
if you want use rtl of template, then copy html files from rtl-html folder and then paste (replace) into html folder.
To active RTL mode you need to add dir="rtl" with body tag and then add .rtl before css file extension for example style.css should be style.rtl.css .
First open the php file located into form folder. Files are 'message-form.php'. On the file you will find bellow code. Just update your sitename, your email and name. If you want to add multiple email then just duplicate the line '$emailTO[] = array...' and add another email.
### Enter Your Sitename
$sitename = 'Your Sitename';
### Enter your email addresses: @required
$emailTO[] = array( 'email' => 'email@yoursite.com', 'name' => 'Name' );
If you want to add CC email address then just enable below line and update same way as email too.
//$emailCC[] = array( 'email' => 'email@yoursite.com', 'name' => 'Your Name' );
If you want to use SMTP, please enable bellow line of code and upate with your smtp information.
// $mail->isSMTP();
// $mail->SMTPDebug = 0;
// $mail->Host = 'smtp_host';
// $mail->Port = 587;
// $mail->SMTPAuth = true;
// $mail->Username = 'smtp_username';
// $mail->Password = 'smtp_password';
Common libraries and Vanila js plugins.
https://getbootstrap.com/
https://swiperjs.com/
https://pristine.js.org/
https://mattboldt.com/demos/typed-js/
https://popper.js.org/
https://masonry.desandro.com/
https://github.com/Grsmto/simplebar
https://choices-js.github.io/Choices/
https://mymth.github.io/vanillajs-datepicker/#/
https://www.tiny.cloud/