Documentation
Iteck - React Software & Technology Template
Iteck is a Software & Technology React Template perfect for Modeling Business Startups, IT services and digtal agencies. Responsive based on Next.js & Bootstrap. Multiple templates are included in this template with lots of CSS and React animations All files and code has been well organized and nicely commented for easy to customize.
- Version: 1.0
- Author: ThemesCamp
- Created: 13 Aug, 2022
- Update: 13 Aug, 2022
If you have any questions that are beyond the scope of this help file, Please feel free to contact us via ThemesCamp.
Features
- Build on React.js (No jQuery)
- Build on Next.js
- Based on Bootstrap 5
- Based On SCSS
- Ready Homepages
- SEO Friendly
- Easy to Customize
- 100% Fully Responsive
- Minimal and Clean
- Awesome Unique Look
- 24/7 Support
- W3C Validated Code
- All files are well commented
- Professional Support and free updates
- Displays well in all modern browsers and devices
Files Include
iteck_react Folder
Folder contains main template code & all jsx
, json
, scss
, css
, images
, fonts
, js
files
iteck-react-docs Folder
Documentation folder of "iteck react" written in html
css
Installation
Follow the steps below to setup your template:
- Download the latest theme source code from the Marketplace.
-
Download and install Node.js and npm from Nodejs. The suggested version to install is
LTS
. -
Open terminal in iteck_react template folder.
> cd /iteck_react/
-
Install npm packages.
You must have to install packages of your project to install all the necessary dependencies, You can do this by running the following command.
> npm install
Run Development Server
Start your app development server to change, update and customize your app.
Run npm run dev
in the terminal from the root of your project to start a dev server
> npm run dev
Navigate to http://localhost:3000 to see your app, the app will automatically reload if you change any of the source files.
Build For Production
Build the app for production and make it ready for deployment
Run npm run build
to build the project for production.
> npm run build
The build artifacts will be stored in the /.next/
directory.
Run npm start
to run the production build of the project locally.
Deployment
You can deploy your project to any static hosting or a hosting provider that supports Node.js
We suggest some hosting you can consider to use:
Folder Structure
Iteck comes with a flexible file structure that can be easily used for small to large scope projects. This section will explain the entire file structure and how to adapt it to your project.
Root Folder
[root_folder]
folder contains the whole project folders & files
Root Folder Content:
File/Folder | Description |
---|---|
public |
Next.js public folder that can serve static files which files inside it can then be referenced by your code starting from the base URL "/" , like images, fonts and vendors. |
src |
The source folder that contains all template source files like Pages, Components, Data, SCSS, Javascript and media files. Required only for development and can be excluded for production. |
node_modules |
A directory created by npm and a way of tracking each packages you install locally via package.json |
.next |
A directory created by next.js during build time to be the destination folder that contains the compiled html and assets. |
.eslintrc |
Config file format for ESLint |
next.config.js |
A regular Node.js module, not a JSON file. It gets used by the Next.js server for custom advanced configuration of Next.js and build phases, and it's not included in the browser build |
jsconfig.json |
It's a configuration file to assist your editor with the JavaScript usage in your project folder. It's most commonly used to include/exclude folders in your intellisense, and map aliases in your source code to certain folders. |
package.json |
Includes the list of dependencies to install from npm |
Src Folder
[root_folder]/src/
source folder that contains all template source files.
Styles folder doesn't contains the main project styles, it contains overrides styles for some 3rd party packages.
Layouts Folder
[root_folder]/src/layouts
folder contains all template layouts.
File | Description |
---|---|
Preview.jsx |
React component represents the Preview layout for main Landing Preview page |
Main.jsx |
React component represents the Main layout for the rest of the project pages including RTL pages |
Pages Folder
[root_folder]/src/pages
folder contains template pages files.
Folders content:
/home-app-landing
index.jsx
/home-saas-technology
index.jsx
/home-marketing-startup
index.jsx
...
Each file is a react component exported from a .js, .jsx file in the pages directory is associated with a route based on its containing folder name.
Learn more about Next.js routing
Components Folder
[root_folder]/src/components
folder contains template components that imported and used in pages.
Components folders are grouped together according to the pages with same style.
e.g. App
Folder contains all the components of App landing pages
/App
Header.jsx
//= App Header Component
Services.jsx
//= App Services Component
...
/Saas
Header.jsx
//= Saas Header Component
Services.jsx
//= Saas Services Component
...
...
Data Folder
[root_folder]/src/data
folder contains static app data in json
format.
Each folder contains a page components data stored in JSON
format.
/App
header.json
//= App Header Data
services.json
//= App Services Data
...
/Saas
header.json
//= Saas Header Data
services.json
//= Saas Services Data
...
...
Each file contains JSON
data that imported and rendered on it's component.
Common Folder
[root_folder]/src/common
folder contains common helper functions.
Each file is JavaScript
function that is commonly used in project components.
Code Structure
Main template components code structure
App
[root_folder]/src/pages/_app.js
Next.js uses the App component to initialize pages which is the main application file.
// ./src/page/_app.js
//= Import React & Next Components
import React from "react";
import Script from "next/script";
import Head from "next/head";
//= Import Global CSS/SCSS
import "../styles/preloader.css";
import "../styles/globals.css";
// App Component
function MyApp({ Component, pageProps }) {
return (
<>
<Head>
<title>Iteck</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
</Head>
<!-- Rendered Pages Component -->
<Component {...pageProps} />
<!-- Scripts -->
<Script strategy="beforeInteractive" src="assets/js/lib/pace.js"></Script>
<Script strategy="beforeInteractive" src="assets/js/lib/bootstrap.bundle.min.js"></Script>
<Script strategy="beforeInteractive" src="assets/js/lib/mixitup.min.js"></Script>
<Script strategy="beforeInteractive" src="assets/js/lib/wow.min.js"></Script>
<Script strategy="lazyOnload" src="assets/js/main.js"></Script>
</>
);
}
export default MyApp;
Layout
[root_folder]/src/layouts/[layout].jsx
React component that contains app layout.
// ./src/layouts/Main.jsx
//= React
import { useEffect } from 'react';
import Head from "next/head";
import Script from 'next/script';
//= Components
import PreLoader from "@components/PreLoader";
import ScrollToTop from "@components/ScrollToTop";
//= Scripts
import fixStylesheetsOrder from "@common/fixStylesheetsOrder";
const MainLayout = ({ children, scrollTopText, isRTL }) => {
useEffect(() => {
fixStylesheetsOrder(isRTL);
}, [isRTL]);
return (
<>
<Head>
<!-- Layout CSS Files -->
<link rel="stylesheet" href="/assets/css/lib/bootstrap-icons.css" />
<link rel="stylesheet" href="/assets/css/lib/all.min.css" />
<link rel="stylesheet" href="/assets/css/lib/animate.css" />
{
isRTL ?
<link rel="stylesheet" href="/assets/css/lib/bootstrap.rtl.min.css" />
:
<link rel="stylesheet" href="/assets/css/lib/bootstrap.min.css" />
}
<link rel="stylesheet" href="/assets/css/style.css" />
{
isRTL ? <link rel="stylesheet" href="/assets/css/rtl_style.css" /> : null
}
</Head>
<!-- Preloader Component -->
<PreLoader />
<!-- Layout Wrapped Content -->
{ children }
<!-- ScrollToTop Component -->
<ScrollToTop topText={scrollTopText} />
</>
);
};
export default MainLayout;
Layout component wraps pages content and contains specific configurations such as common components
, css
or scripts
.
@common
& @components
in the imports refers to the src/common and src/components folder, you can find paths configurations in jsconfig.json file in the root directory.
Page
[root_folder]/src/pages/[page_folder]/[page].jsx
React component that contains a page code.
// ./src/pages/home-app-landing/index.jsx
//= Import React Hooks
import { useEffect, useRef } from 'react';
import Head from 'next/head';
//= Scripts
import navbarScrollEffect from "@common/navbarScrollEffect";
//= Layout
import MainLayout from '@layouts/Main';
//= Components
import TopNav from '@components/Navbars/TopNav';
import Navbar from '@components/Navbars/AppNav';
import Header from '@components/App/Header';
import Clients from '@components/App/Clients';
import Features from '@components/App/Features';
import About from '@components/App/About';
import Screenshots from '@components/App/Screenshots';
import Testimonials from '@components/App/Testimonials';
import Pricing from '@components/App/Pricing';
import FAQ from '@components/App/FAQ';
import Community from '@components/App/Community';
import Footer from '@components/App/Footer';
// Page Component
const HomeAppLanding = () => {
const navbarRef = useRef(null);
useEffect(() => {
navbarScrollEffect(navbarRef.current);
}, [navbarRef]);
return (
<>
<Head>
<title>Iteck - App Landing</title>
</Head>
<!-- Usage of page layout -->
<MainLayout>
<!-- Usage of imported components -->
<TopNav style="4" />
<Navbar navbarRef={navbarRef} />
<Header />
<main>
<Clients />
<Features />
<About />
<Screenshots />
<Testimonials />
<Pricing />
<FAQ />
<Community />
</main>
<Footer />
</MainLayout>
</>
)
}
export default HomeAppLanding;
@layouts
& @components
in the imports refers to the src/layouts and src/components folder, you can find paths configurations in jsconfig.json file in the root directory.
Component
[root_folder]/src/components/[component_folder]/index.jsx
React component contains part of a page code.
// ./src/components/Navbars/TopNav.jsx
import Link from 'next/link';
const TopNav = ({ style, rtl }) => {
return (
<div className={`top-navbar style-${style}`}>
<div className="container">
<div className="content text-white">
<span className="btn sm-butn bg-white py-0 px-2 me-2 fs-10px">
<small className="fs-10px">{rtl ? 'عرض خاص':'Special'}</small>
</span>
<img src="assets/img/icons/nav_icon/imoj_heart.png" alt="" className="icon-15 me-1" />
<span className="fs-10px op-6 me-1">{ rtl ? 'احصل على' : 'Get'} </span>>
<small className="op-10 fs-10px">{ rtl ? '20% خصم' : '20% Discount' }</small>
<span className="fs-10px op-6 mx-1">{ rtl ? 'عند الاشتراك' : 'Get for New Account' }</span>
<Link href="/page-contact-5">
<a className="fs-10px text-decoration-underline ms-2">{ rtl ? 'اشترك الأن' : 'Register Now' }</a>
</Link>
</div>
</div>
</div>
)
}
export default TopNav
Data
[root_folder]/src/data/[data_folder]/[data_file].json
JSON file stores component data.
// ./src/data/Blog/slides.json
[
{
"image": "assets/img/blog/s_blog.png",
"type": "News",
"time": "3 Days ago",
"title": "Solutions For Big Data Issue, Expert Perspective",
"desc": "If there’s one way that wireless technology has changed the way we work, it’s that will everyone is now connected"
},
.
.
]
RTL version
// ./src/data/Blog/slides-rtl.json
[
{
"image": "assets/img/blog/s_blog.png",
"type": "أخبار",
"time": "منذ 3 ايام",
"title": "حلول لمشكلة البيانات الضخمة ، منظور الخبراء",
"desc": "إن الانغماس في تقنية النانو على طول ارتفاع المعلومات سوف يغلق الحلقة في التركيز فقط"
},
.
.
]
Source & Credits
Images:
- Pexels - https://pexels.com
- Unsplash - https://unsplash.com
Images are only for demo purpose and not included with the download bundle.
Fonts:
- Inter - https://fonts.google.com/specimen/Inter
- El Messiri (For RTL) - https://fonts.google.com/specimen/El+Messiri
Scripts:
- Next.js - https://nextjs.org
- React.js - https://reactjs.org
- Bootstrap 5 - http://getbootstrap.com
- Swiper Carousel - https://swiperjs.com
- react-modal-video - https://appleple.github.io/react-modal-video
- lightgallery - https://www.npmjs.com/package/lightgallery
- rc-slider - https://www.npmjs.com/package/rc-slider
- pace.js - https://codebyzach.github.io/pace
- wow.js - https://www.delac.io/WOW/docs.html
- mixitup - https://www.kunkalabs.com/mixitup
Thank you for purchased Iteck template
We truly appreciate and really hope that you'll enjoy our template!
If you like our template, plase rate us 5 star !