NextJs
React
Tailwindcss
NextAuth
Typescript
Grammar Tailwind NextJs Template is built with Tailwindcss and Nextjs.
These theme is ready to use and you can totally customize as per your requirement.
For Customize, You should have knowledge of NextJs, ReactJs, Tailwind and JSX to be able to modify these template.
|—
packages|—
markdown|—
public|—
src|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|—
app|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|—
(site) (Contains all the pages)|
|
|
|
|
|
|
|
|
|
|—
(auth)|
|
|
|—
signin|
|—
signup|—
blog|—
checkout|—
contact|—
course|—
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:
> grammer_project@0.1.0 dev
> next dev
-Next.js 15.0.2
-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 : src/utils/extendedConfig.ts
primary: "#2F73F2",secondary: "#547593",midnight_text: "#102D47",grey: "#668199",border: "#CCD7E1",success: "#3cd278",section: "#F8FAFC",darkmode: "#0c243b",darklight: "#121F2A",dark_border: "#224767",SkyBlue: "#DBE7FF",LightSkyBlue: "#F3F9FD",darkInput: "#143655",yellow: "#f9c78f",
2. Override Theme Colors
For change , go to : src/utils/extendedConfig.ts
primary: "#2F73F2",secondary: "#547593",
1. Change Font family over here : src/app/layout.tsx
import { DM_Sans } from "next/font/google";
const dmsans = DM_Sans({ 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
className='dark:hidden'
/>
<Image
src="/images/footer/footer-logo-white.svg"
alt="logo"
width=160
height=50
quality=100
className='dark:block hidden'
/>
</Link>