Hire Us for Customization

Mortal.Ai - AI Writer & Copywriting Tailwind CSS Template

Introduction

Mortal.Ai is a responsive Tailwind CSS template for AI Writer & Copywriting website. We have designed this template for your new AI Content Writing website just how you like it. So, if you want to create a website for Writing Blog Content, Digital Ad Copy, Technical Writing, SEO Content, Landing Page Copy, Social Media content, Email Marketing, Website Copy, Marketing Copy, eCommerce Copy, Product Description and Email Marketing then Mortal.Ai Tailwind CSS template will best choice to build your own website. Mortal.Ai is built with the world's most popular responsive CSS framework Tailwind CSS, HTML5, CSS3 and Javascript. It is 100% responsive and looks stunning on all types of screens and devices. Users will love your site because it gives them a unique user experience (UX), and a clean, modern & beautiful design. They are also easy to customize and combine with other components.

Dark & RTL version Available: We have added a Dark & RTL Theme

Please feel free to get back to me in case if you are having any question or feedback.

Setup HTML

Introduction

We are using gulp which allows having complete automation for build flow. In case if you don't know Gulp then it's easy to use it. Gulp is a toolkit for automating painful or time-consuming tasks in the development workflow, so you can stop messing around while building any project. You can read it more about it here. Please follow below steps to install and setup all prerequisites:

Prerequisites

Please follow below steps to install and setup all prerequisites:

  • Yarn

    Make sure to have the Yarn installed & running in your computer. If you already have installed Yarn on your computer, you can skip this step. We suggest you to use Yarn instead of NPM.

  • Nodejs

    Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 16.

  • Gulp

    Make sure to have the Gulp installed & running in your computer. If you already have installed gulp on run command npm install -g gulp from your terminal.

  • Git

    Make sure to have the Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.

Installation

To setup the admin theme, follow below-mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running on your computer

After you finished with the above steps, you can run the following commands into the terminal / command prompt from the root directory of the project to run the project locally or build for production use:

Command Description
yarn install This would install all the required dependencies in the node_modules folder.
gulp Runs the project locally, starts the development server and watches for any changes in your code, including your HTML, javascript, sass, etc. The development server is accessible at http://localhost:3000.
gulp build Generates a /dist directory with all the production files.
Installation video

To setup the Tailwind CSS Template, follow below-mentioned steps:

Folder & File Structure

Mortal.Ai_v1.0.0
│
├──  Documentation   
├──  HTML  
    │
    ├──  dist folder
    ├──  src folder
    │   └──  assets
    │       └──  fonts
    │       └──  imagess
    │       └──  js
    │       └──  php (For Working Contact Form)
    │       └──  scss
    │       │   └──  custom
    │       │   │   │
    │       │   │   └──  pages
    │       │   │   │    └──  _contact.scss
    │       │   │   │    └──  _helper.scss
    │       │   │   │
    │       │   │   └──  structure
    │       │   │   │    └──  _topnav.scss
    │       │   │   │    
    │       │   │   └──  _fonts.scss
    │       │   │   └──  _general.scss
    │       │   │   
    │       │   └──  tailwind.scss 
    │       │   
    │       └──  All HTML Files (17 HTML Files)
    │
    └──  gulpfile.js
    └──  package.json
    └──  tailwind.config.js
HTML Structure
<!doctype html>
<html class="light" lang="en">
    <head>

        <meta charset="utf-8" />
        <title> Mortal.Ai - AI Writer & Copywriting Tailwind CSS Template </title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta name="description" content="Site description" />
        <meta name="keywords" content="Your tags" />

        <!-- favicon icon -->
        <link rel="shortcut icon" href="images/favicon.ico">

        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />

        <!-- Main css -->
        <link href="css/icons.css" rel="stylesheet" type="text/css" />
        <link href="css/tailwind.css" rel="stylesheet" type="text/css" />
    
    </head>

    <body>

        <!-- Loader Start -->
        <div id="#--------">
            --------
            --------
        </div>
        <!-- Loader End -->

        <!-- Navbar Start -->
        <header>
            <div class="--------">
                --------
                --------
                --------
                --------
            </div>
        </header>
        <!-- Navbar End -->

        <!-- Hero Start -->
        <section class="--------">
            <div class="--------">
                --------
                --------
                --------
                --------
            </div>
        </section>
        <!-- Hero End -->

        <!-- Footer Start -->
        <footer>
            <div class="--------">
                --------
                --------
                --------
                --------
            </div>
        </footer>
        <!-- Footer End -->

        <!-- Back To Home Start -->
        <a href="#" class="--------" id="#--------">
            --------
            --------
        </a>
        <!-- Back To Home End -->

        <!-- Javascript Start -->
        --------
        --------
        --------
        <script src="js/plugins.init.js"></script>
        <script src="js/app.js"></script>
        <!-- Javascript End -->
    </body>
</html>
				
CSS

Files are explained below:

File Description
CSS You use icons.css and tailwind.css.
RTL Version In order to have RTL mode enabled, Please changes in the src/partials/main.html file update the html tag like <lang="en" class="light scroll-smooth" dir="rtl">
Dark Version In order to have Dark mode enabled, only add dark class in HTML tag like, <html class="dark scroll-smooth" lang="en" dir="ltr">
Javascript

Files are explained below:

File Description
app.js This is a main js file. All important javascript like page loader, menu, sticky menu, menu-toggler, one page menu etc.
plugins.init.js All init js like working contact js, tiny slider, counter, countdown, maintenance, lightbox, gallery, swiper slider, aos animation etc.

How to change the color in Mortal.Ai?

It's easy to change your color if your color is indigo-600 to another (red-600, red-400, orange-700, etc. as your theme primary color) please check and read the below link to the customizing colors docs, https://tailwindcss.com/docs/customizing-colors

How to change the fonts family in Mortal.Ai?

Please first of all open the _fonts.scss (src/assets/scss/custom/_fonts.scss) and please import your google fonts
like @import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

And then second step is open the tailwind.config.js and please create your google fonts name in the module.exports > theme > fontFamily
For example: 'figtree': ['"Figtree", sans-serif'], add your Google fonts like the above example.

Install Visual Studio Code

  • Downloads the visual studio code https://code.visualstudio.com/download
  • Now goto Files -> Preferences -> Settings.
  • Now goto Extension and please search and install Tailwind CSS IntelliSense otherwise install here, Tailwind CSS IntelliSense.
  • Now goto Extension and please search and install PostCSS Language Support
  • Type in the search box "live sass compile".
  • Now you wil able to very first option "Live Sass Compile > Settings: Autoprefix" option. Click on the below "Edit in settings.json" link.
  • It will open a settings.json file in a new tab. Please put the below code in the file.
  • 	{
    		"workbench.colorTheme": "Monokai",
    		"workbench.iconTheme": "material-icon-theme",
    		"liveServer.settings.donotShowInfoMsg": true,
    		"explorer.confirmDelete": false,
    		"workbench.sideBar.location": "left",
    		"window.zoomLevel": 0,
    
    		"liveSassCompile.settings.formats":[
    			// More Complex
    			{
    				"format": "expanded",
    				"extensionName": ".css",
    				"savePath": "~/../css/"
    			},
    
    			{
    				"format": "compressed",
    				"extensionName": ".min.css",
    				"savePath": "~/../css/"
    			},
    		],
    		"files.autoSave": "off",
    		"liveSassCompile.settings.excludeList": [
    			
    
    
    
    			"**/node_modules/**",
    			".vscode/**"
    		],
    		"terminal.integrated.shellArgs.windows": "null",
    		"liveSassCompile.settings.autoprefix": [],
    		"workbench.welcomePage.hiddenCategories": [
    			"Beginner",
    			"Setup"
    		],
    	}
    

Loader

To add loader you need to add the below code after the <body> tag.

<-- loader start -->
<div id="preloader"">
   <div id="status">
     <div class="spinner">
       <div class="double-bounce1"></div>
       <div class="double-bounce2"></div>
     </div>
   </div>
</div>
<-- loader end -->

Supports

Once again thank you for your purchase. I'll be happy to answer the the questions you have related to the theme. In case if you have any suggestion or feature, request please feel free to contact me, I'll try to implement it and will release as part of future updates.

If you have any questions that are beyond the scope of this documentation, please feel free to email or contact us via my page.

Stay awesome

- Shreethemes

Changelog

Version v1.0 - 13th September 2023

  • Initial Released
Thank you very much for your purchase !