|—
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.jsonBefore proceeding, you need to have the latest stable node.js
Open package folder and install its dependencies. We recommanded yarn or npm.
cd project-folder
npm install
cd project-folder
yarn install
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
After adding url run below command for build a app.
npm run build or yarn build
Finally, Your webiste is ready to be deployed.🥳
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",
1. Change Font family over here : src/app/layout.tsx
import { Montserrat } from "next/font/google";
const montserrat = Montserrat({ subsets: ["latin"] });
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"}
/>