BodyShape
BodyShape - React Fitness, Workout & Gym Template
This documentation is last updated on 02 October 2023
Thank you for purchasing this React template.
React.JS Installation & Setup -
1.- Install npm
It will create 'node_module' folder in this all dependency files will be install with this command.
npm install
npm install
2.- Run Project
With is command file will be compiled and it will be loaded on local server `http://localhost:3000`.
npm start
npm start
3.- Production Build
Node-sass is an NPM package that compiles Sass to CSS (which it does very quickly too). To install node-sass run the following command in your terminal: npm run build
npm run build
4.- Note:
To get more help on the React.js checkout React
4.- Further help
You can learn more in the Create React App Documentation To learn React, check out the React Documentation.
Sass Compile -
1.- Install Node.js
To compile Sass via the command line first, we need to install node.js. The easiest way is downloading it from the official website nodejs.org open the package and follow the wizard.
2.- Initialize NPM
NPM is the Node Package Manager for JavaScript. NPM makes it easy to install and uninstall third party packages. To initialize a Sass project with NPM, open your terminal and CD (change directory) to your project folder.
npm init
Once in the correct folder, run the command npm init
. You will be prompted to answer several questions about the project, after which NPM will generate a package.json
file in your folder.
3.- Install Node-Sass
Node-sass is an NPM package that compiles Sass to CSS (which it does very quickly too). To install node-sass run the following command in your terminal: npm install node-sass
npm install node-sass
4.- Write Node-sass Command
Everything is ready to write a small script in order to compile Sass. Open the package.json file in a code editor. You will see something like this:
In the scripts section add an scss command
"scripts": { "sass": "node-sass --watch src/scss/main.scss src/css/style.css --source-map src/css/style.css.map" },
5.- Run the Script
To execute our one-line script, we need to run the following command in the terminal: npm run sass
npm run sass
Theme Features -
Color Theme
So many color option available
<body data-theme-color="color_1">
Layout
<body id="bg" class="boxed">
<body id="bg" class="frame">
Header
Header Fixed is-fixed
<div class="main-bar-wraper navbar-expand-lg sticky-header is-fixed">
Header Static sticky-no
<div class="main-bar-wraper navbar-expand-lg sticky-no">
Background Color
You can use body background color like this but it will only work in boxed and frame layout
<body id="bg" class="frame" style="background-color: rgb(255, 175, 41);">
Background Image
You can use body background image like this but it will only work in boxed and frame layout
<body id="bg" class="boxed" style="background-image: url("assets/images/switcher/large/background/bg1.jpg");">
<body id="bg" class="frame" style="background-image: url("assets/images/switcher/large/background/bg1.jpg");">
Folder Directories -
-
images
This folder contains all the images of Samar template.
-
fonts
This folder font files for various template features.
-
css
This folder contains all the CSS files of Samar template.
-
component
This folder has all component files.
-
pages
This folder has all pages files.
-
vendor
This folder has all plugins used in the template.
-
script
This folder has all script contact form used in the template.
-
scss
Scss File
Credits -
-
Reactjs
-
Node Sass:
-
All Images are used
-
React Bootstrap
-
Google fonts
-
React Count Up
-
Font Awesome
-
React Modal Video
-
React Scroll to top
-
Sweet Alert
-
Light Gallery
-
Swiper Slider
-
Router
Project Main Features -
Create a Page
import React from "react"; export function MyPage() { return( <h1>Hello!</h1> ) }
Our Products -
Do You Need Help To Customization
After Purchase A Template...
You Will Start Customizing According Your Requirement
BUT What If You Don't Know
SOLUTION IS HIRE DexignZone
Hire Same Team For Quality Customization
- We Will Customize Template According To Your Requirement
- We Will Upload On Server And Make Sure Your Website is Live
Version History - #back to top
v2.1 - 15 August 2024
- * Update Dependency Plugins
- * Improved layout for small screen size.
- * CSS File Improvements
- * Improved JS Code.
v2.0 - 02 October 2023
- Added: Home - Trainer
- Added: Home - BodyBuilding
- CSS File Improvements
- Update Small Screen Size Resolution
v1.0 - 16 March 2023
- New - Created & Upload BodyShape