Installation process.

The following process will be used to install plurk landing using package manager

1. Install Node.js : Please install latest version of Node.js from

2. Extract main landing : Extract the landing site to your suitable directory or folder.

3. Access Command Prompt : Open node.js command prompt.

Note:- The process mentioned below can also be excuted with system command prompt.

4. In CMD, Navigate to the location where main folder is extracted.

5. Navigate to the root folder of project where package.json file exist.

6. Download node_modules folder : Run npm install command to install node_modules folder with dependencies.

7. To run npm run dev.

Note:- when you run above command it will run project in browser automatically.

Note:- It will enable auto refresh function everytime you save a file.

8. Run command npm run build to build for production.

9. Install Git : If you are a Git user. Please install latest version of Git from

Note:- All the commands mentioned above can be executed using Git.

In case if you have any problems or query then please contact us

The arrangement below describes our file structure.

  • Plurk
    • components
      • layout
        • all the react js app layout components
      • all the react js other components
    • pages
      • all the app pages
    • public
      • assets
        • images
          • all the image files
    • store
      • reactjs store file
    • styles
      • all the css files and folders
    • app.tsx - custom app setting configuration file for rtl and theme style
    • next.config.js
    • package.json
    • postcss.config.js
    • tailwind.config.js
    • tsconfig.json

This section will give you a brief description of our code.

1. Header Section : This is the default navbar section. It contains :

a. Logo

b. Menu

c. Search Bar

d. RTL toggle button

e. Theme toggle button

f. Menu toggle button

Note:- These categories are defined by us and you can modify as per your needs :)

  <!--  Navbar Component  -->

  <!--  BEGIN NAVBAR  -->
  <header class="relative z-10 border-b-2 border-white/5 bg-primary">
    <div class="container">
      <div class="relative flex items-center justify-between py-5 lg:py-8">
        <a href="/index.html"><img src="assets/images/logo.png" alt="logo" class="h-10" /></a>
        <div class="flex items-center">
          <div class="menus absolute top-full z-20 hidden w-full gap-9 ltr:left-0 rtl:right-0 lg:static lg:block lg:w-auto">
          <ul class="flex items-center gap-5 ltr:pr-5 rtl:pl-5 ltr:lg:pl-5 ltr:lg:pr-0 rtl:lg:pr-5 rtl:lg:pl-0"> 
  <!--  END NAVBAR  -->

2. Main Container Section : The main container section includes header,footer and main content section.

a. Header Section

b. Main Content Section

c. Footer Section

  <div class="bg-white font-mulish text-base text-gray antialiased dark:bg-[#101926]">

5. Main Content : This is the Main Content code section.

This is the root structure where you can create widgets, charts, tables etc.

  <div class="bg-[url(../images/background.png)] bg-cover bg-center bg-no-repeat dark:bg-none">

  <!--  END CONTENT PART  -->

6. Footer : This is the Footer code. It is placed outside the Main Container Section.

a. Footer Section 1 :- This section contains all the footer details that you can modify as per your needs.

b. Footer Section 2 :- Usually this section does not contain anything inside it, but it can be customized according to your needs. This means that you can add your own CSS style.

  <!--  Footer Component  -->

  <!--  BEGIN FOOTER  -->
    <footer class="bg-white py-14 dark:bg-transparent dark:bg-gradient-to-b dark:from-white/[0.03] dark:to-transparent lg:py-[100px]">
    <div class="py-5 dark:border-t-2 dark:border-white/5">
  <!--  END FOOTER  -->
The Combined Code

Now, after a brief description of our admin template. Below is the combined code of the snippets we have discuss above.

    <div class="bg-white font-mulish text-base text-gray antialiased dark:bg-[#101926]">
        <!-- BEGIN LOADER -->
        <div class="screen_loader fixed inset-0 z-[60] grid place-content-center bg-[#fafafa] dark:bg-[#060818]"> </div>
        <!-- END LOADER -->

        <!--  BEGIN NAVBAR  -->
        <!--  END NAVBAR  -->

        <div class="bg-[url(/assets/images/background.png)] bg-cover bg-center bg-no-repeat dark:bg-none">
            <!--  BEGIN CONTENT AREA  -->
            <!--  END CONTENT AREA  -->

            <!-- BEGIN FOOTER -->
            <Footer> </Footer>
            <!-- END FOOTER -->
    <!--  END MAIN CONTAINER  -->
Code Structure

This section will give you a brief description of our landing structure JS code.

1. app.tsx : This is primary js file. It is necessary for the layout to work. It contains the code as follows :-

a. Theme change funtionality

b. Direction change funtionality

    import { PropsWithChildren, useEffect } from 'react';
    import { useDispatch, useSelector } from 'react-redux';
    import { IRootState } from './store';
    import { toggleDirection, toggleTheme } from './store/themeConfigSlice';

    function App({ children }: PropsWithChildren) {
        const themeConfig = useSelector((state: IRootState) => state.themeConfig);
        const dispatch = useDispatch();

        useEffect(() => {
        }, [dispatch, themeConfig.direction, themeConfig.theme]);

        return <div className="App">{children}</div>;

    export default App;