Contact Us

Need a new website, product, or help with an existing build?

Reach out and we'll come back with ideas, timelines, and next steps.

Email

Social

Prefer another channel? Use any of the links above and we'll take it from there.

Pacakge Structure

Legitforce
  • |—

    packages
        • |—

          markdown
        • |—

          public
        • |—

          src

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          |

          • |—

            app

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            |

            • |—

              (site) (Contains all the pages)

              |

              |

              |

              |

              |

              • |—

                (auth)

                |

                |

                • |

                  |—

                  signin
                • |

                  |—

                  signup
              • |—

                documentation
            • |—

              api

              |

              |

              • |

                |—

                auth
              • |

                |—

                contex
            • |—

              Context

              |

              • |

                |—

                authDialogContext.tsx

            • |—

              global.css
            • |—

              layout.tsx
            • |—

              not-found.tsx
            • |—

              page.tsx
          • |—

            components (All the Components of this template.)
          • |—

            styles
          • |—

            types
          • |—

            utils
        • |—

          next.config.mjs
        • |—

          postcss.config.mjs
        • |—

          package.json
        • |—

          tailwind.config.ts
        • |—

          tsconfig.json

Quick Start

1. Requirements

Before proceeding, you need to have the latest stable node.js

Recommended environment:
  • node js 20+
  • npm js 10+
2. Install

Open package folder and install its dependencies. We recommanded yarn or npm.

1) Install with npm:

cd project-folder

npm install

1) Install with yarn:

cd project-folder

yarn install

3. Start

Once npm install is done now you an run the app.

npm run dev or yarn run dev

This command will start a local webserver http://localhost:3000:

> legitforce@0.1.0 dev

> next dev

-Next.js 14.2.4

-Local: http://localhost:3000

4. Build / Deployment

After adding url run below command for build a app.

npm run build or yarn build

Finally, Your webiste is ready to be deployed.🥳

Project Configuration

Colors

1. Override Colors
For any change in colors : tailwind.config.ts

primary: "#99E39E",secondary: "#1DC8CD",midnight_text: "#263238",muted: "#D8DBDB",error: "#CF3127",warning: "#F7931A",light_grey: "#505050",grey: "#F5F7FA",dark_grey: "#1E2229",border: "#E1E1E1",success: "#3CD278",section: "#737373",darkmode: "#000510",darklight: "#0C372A",dark_border: "#959595",tealGreen: "#477E70",charcoalGray: "#666C78",deepSlate: "#282C36",slateGray: "#2F3543",

2. Override Theme Colors
For change , go to : tailwind.config.ts

primary: "#2CDD9B",secondary: "#1DC8CD",

Typography

1. Change Font family over here : src/app/layout.tsx

import { Montserrat } from "next/font/google";

const montserrat = Montserrat({ subsets: ["latin"] });

Logo

1. Change Logo over here : src/components/Layout/Header/Logo/index.tsx

<Link href="/">

<Image

src="/images/logo/logo.svg"

alt="logo"

width=160

height=50

quality=100

style={width: "auto", height: "auto"}

/>