Voxo NextJs Theme

Welcome to Voxo!

<!-- Run Voxo Nextjs Theme -->

npm install --- To install the required dependencies from npm.

npm run dev --- To start the project.

When you unpack downloaded archive from ThemeForest.net you'll get folder containing 2 folders.

  1. Documentation - Documentation for Voxo Nextjs template
  2. THEME - Voxo Main Folder
  • Voxo
    • Front End
      • public
        • assets
          • fonts
            • fa-brands-400.svg
            • fa-regular-400.svg
            • fa-solid-900.svg
          • images
            • voxo.png
            • 360-icon.png
            • cookie.png
            • logo.png
            • cartEmpty.png
          • scss
            • base
              • _reset.scss
              • _typography.scss
            • components
              • _alert.scss
              • _breadcrumb.scss
              • _button.scss
              • _dropdown.scss
              • _form.scss
              • _label.scss
              • _lazyload.scss
              • _pagination.scss
              • _modal.scss
              • _ratio.scss
              • _slider.scss
              • _tab.scss
              • _tap_to_top.scss
              • _timer.scss
              • _title.scss
              • _touchspin.scss
            • layout
              • _arrivals.scss
              • _banner.scss
              • _category.scss
              • _code.scss
              • _cookie_bar.scss
              • _footer.scss
              • _header.scss
              • _home_slider.scss
              • _nav.scss
              • _offer.scss
              • _poster.scss
              • _product.scss
              • _service.scss
              • _slick-slider.scss
              • _subscribe.scss
            • pages
              • _coming-soon.scss
              • _inner-page.scss
              • _product-details.scss
              • _shop_page.scss
            • themes
              • _dark.scss
              • _responsive.scss
              • _rtl.scss
            • utils
              • Mixin
                • fare mixin scss
              • _dark_variables.scss
              • _variables.scss
            • vendors
              • font-awesome.scss
            • app.scss
            • demo1.scss
            • demo2.scss
            • demo3.scss
            • demo4.scss
            • demo5.scss
            • demo6.scss
            • element-banner.scss
            • element-category.scss
            • element-deal-banner.scss
            • element-header.scss
          • svg
            • credit-card.svg
            • customer.svg
            • grid-2.svg
            • grid-3.svg
            • grid-5.svg
        • 2.png
        • manifest.json
        • next.svg
        • vercel.svg
      • src
        • app
          • (MainBody)
            • blog
              • blog_details
                • page.jsx
            • layout
              • fashion
                • page.jsx
            • page
              • 404
                • page.jsx
            • shop
              • shop_canvas_filter
                • page.jsx
            • layout.js
          • api
            • addtocart
              • route.jsx
            • header
              • route.jsx
            • banner
              • route.jsx
            • blog
              • route.jsx
            • footer
              • route.jsx
          • ApiData
            • Banner.json
            • Blog.json
            • Footer.json
            • Product.json
            • Popular.json
          • i18n
            • locales
              • en
                • common.json
              • es
                • common.json
              • fr
                • common.json
            • i18n-context.jsx
            • server.jsx
            • settings.jsx
          • favicon.ico
          • head.js
          • layout.js
          • page.js
        • Components
          • Blog
            • BlogListing
              • BlogListCard.jsx
              • index.jsx
          • ElectronicDemo
            • ElectronicHurryUp
              • TabNavBar.jsx
              • index.jsx
          • CommonElement
            • Button.jsx
          • Element
            • AddToCart.jsx
          • AbstractElements.jsx
        • Config
          • firebase.jsx
          • index.json
          • ThemeConfigSettings.jsx
        • Constant
          • index.jsx
        • Data
          • BlogData.jsx
          • ButtonsData.jsx
          • ShopSlider.jsx
          • CartSidebar.jsx
          • TopHeaderData.jsx
        • Layout
          • Layout1.jsx
          • Layout2.jsx
          • Layout3.jsx
          • Layout4.jsx
          • Layout5.jsx
        • ReduxToolkit
          • Reducers
            • AddToCartReducer.js
            • AllGridReducer.js
            • BlogReducer.js
            • HeaderScroll.js
            • ModalReducer.js
          • store.js
        • Utils
          • HeaderScroll.jsx
          • index.jsx
          • useEffectOnce.jsx
          • useFilter.jsx
          • useWindowDimensions.jsx
        • index.scss
      • .eslintrc.json
      • jsconfig.json
      • next.config.mjs
      • package.json
      • README.md

In Voxo theme, google fonts have been used. google fonts are open source and easy to use. Voxo have used following fonts:

you can use different google fonts. following are the steps

  1. Go to Google Fonts.
  2. Use the filters on the left-hand side to display the kinds of fonts you want to choose and choose a couple of fonts you like.
  3. To select a font family, press the ⊕ button alongside it.
  4. When you've chosen the font families, press the [Number] Families Selected bar at the bottom of the page.
  5. In the resulting screen, you first need to copy the line of HTML code shown and paste it into the head of your app.js file. Put it above the existing element, so that the font is imported before you try to use it in your CSS
  6. Below are the example.
  7. In the path: <<-- /Voxo/Front End/pages/_app.js -->> file

    <head>
      <title>Voxo NextJs Theme</title>
      <link href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
      rel="stylesheet"/>
      <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap" rel="stylesheet" />
    </head>

In Voxo theme, we have used 6 colors or 6 styles. following are the colors:

How to remove the other demos except for one demo? Example is given below.

* Below step is adding only fashion demo and remove others

  1. Which demo or layout we need to keep in our theme put demo or layout that for example path: <<-- /Voxo/Front End/src/Layout/Layout1.jsx -->>
  2. We need to remove the other layout from path: <<-- /Voxo/Front End/src/Layout/Layout2.jsx -->>
  3. From Above given path are we will remove then only Layout1 will be appers.
  4. Also we need to remove the sccs files regarding the layouts, path: <<-- /Voxo/Front End/public/assets/scss/demo2.scss -->> and many more.

We used the Feather Icon and many more icon in Voxo Nextjs theme.

How to use Feather Icon in NextJs. Example is given below.

import React from 'react';
import { Camera } from 'react-feather';
  const App = () => {
    return <Camera />
};
export default App;
            

If you want RTL or LTR theme, changes are below:

import { useState } from 'react';
import { Btn } from '../../../Components/AbstractElements';
import { LTR, RTL } from '../../../Components/Constant';

const Direction = () => {
  const [isDir, setIsDir] = useState('ltr');
  const onHandleClick = (value) => {
    setIsDir(value);
    if (value === 'ltr') {
      document.body.classList.add('ltr');
      document.body.classList.remove('rtl');
      document.documentElement.dir = 'ltr';
      document.getElementById('rtl-link').setAttribute('href', './assets/css/bootstrap.min.css');
    } else {
      document.body.classList.add('rtl');
      document.body.classList.remove('ltr');
      document.documentElement.dir = 'rtl';
      document.getElementById('rtl-link').setAttribute('href', './assets/css/bootstrap.rtl.min.css');
    }
  };
  return (
    <li>
      {isDir === 'ltr' ? (
        <Btn attrBtn={{ className: 'btn-sm rtl-button',onClick: () => onHandleClick('rtl'), }}>{RTL}</Btn>
      ) : (
        <Btn attrBtn={{ className: 'btn-sm rtl-button', onClick: () => onHandleClick('ltr'),}}>{LTR}</Btn>
      )}
    </li>
  );
};
export default Direction;

It is essential for us to maintain good user experience, and even when they are browsing through your website at night, that experience should not be ruined just because your website is too bright. To make sure our user gets the best experience at any time of the day, we have added the dark mode. Go through our Guide to dark layout to know more about it.

If you want Dark or Light theme, changes are below:

import { useState } from "react";
import { Btn } from "../../../Components/AbstractElements";

const DarkLight = () => {
  const [moonlight, setMoonlight] = useState(false);
  const MoonlightToggle = (light) => {
    if (light) {
      setMoonlight(!light);
      document.body.classList.add("light");
      document.body.classList.remove("dark");
    } else {
      setMoonlight(!light);
      document.body.classList.add("dark");
      document.body.classList.remove("light");
    }
  };
  return (
    <>
      <li onClick={() => MoonlightToggle(moonlight)}>
        <Btn attrBtn={{ id: "darkButton",color: "light",className: "dark-button",size: "sm",}}>
          {moonlight ? "Light" : "Dark"}
        </Btn>
      </li>
    </>
  );
};
export default DarkLight;

Ratio Classes: Change your image proportion by just adding class

If you use image as background than add class ".bg-img" in image and add below class in parent.

  1. In the given below image, user is applying Dark theme.

  2. In the given below image, user is using the unlimited Color.

  3. In the given below image, user is changing the direction of theme.

  4. Whatever the changes we have done from the above settings we can get it from the Copy config

  5. If we copy the changes and put in the path :<<-- /Voxo/Front End/src/Config/ThemeConfigSettings.jsx -->> file then it will save as permanent theme settings.

without this plugins and products, our theme will be incomplete.

open source plugins

Recent Version:

Q. When you first Receive the theme, and you run npm run dev directly, you will face this error.


errors/npmInstallError.png

Ans. Run npm install first to install all the dependencies and then run the command npm run dev.

  • => npm install
  • => npm run dev
  • Q. Facing Issues while installing and using dependencies ?

    Ans. If you are facing this issues, then you might be running the older version of node, we recommend that you upgrade your node version and try running the project again.

    Q. If you faces System limit for number of file watchers reached, watch like error

    Ans. Try the below given command

  • sudo sysctl fs.inotify.max_user_watches=524288
  • Q. Getting the error -> Heap out of memory?

    Ans. Run the following command in the terminal. Use the first command if you are a linux user and second command if you are windows user.

    For Linux

  • NODE_OPTIONS=--max_old_space_size=4096
  • For Windows

  • set NODE_OPTIONS=--max_old_space_size=4096 npm run build
  • Q. facing Issues with cache?

    Ans. Follow the below Given Setps

    Run this command first

  • npm cache clean --force
  • If still you are facing the same issue:

    1. remove node_module
    2. remove package-lock
    3. run npm i again

    Once again thank you for purchasing one of our Templates , if you like our Templates please rate us

    Best Regards, Pixelstrap